GrantConsent

From Barion Documentation
Jump to navigation Jump to search

grantConsent

Required event. Handling this event on your Barion shop's screens is required as part of a Barion Full Pixel implementation.

Short description

GDPR compliance requires that webshop visitors explicitly consent to the use of their behavior data for marketing purposes.

The event indicates that the user expressly consents to having their anonymized behavior data used for marketing purposes, as per Barion's terms and conditions.

The event is part of the e-commerce sales funnel.

> Arguably, implementing this event properly is the most important part of Barion Full Pixel.

All other events are only processed and used for their intended marketing purpose while grantConsent is valid – until explicitly withdrawn or for two years.

Trigger

The user accepts the cookie policy in the Barion shop's consent management platform (CMP).

Barion recommends the following CMP solutions:


Properties

Not applicable.

Sample implementation

bp('consent', 'grantConsent')