Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Enable EU compliance / firing server calls on click on Accept button

Avatar

Avatar
Validate 1
Level 1
Olivier_Blonste
Level 1

Like

1 like

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
Olivier_Blonste
Level 1

Like

1 like

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Olivier_Blonste
Level 1

20-06-2018

We are implemeting a Consent form with 2 buttons, "Accept" and "Deny", as part of GDPR.

We implemented a cookie that is by default set to "false" until the user clicks on the "Accept" button.

In the DTM web property settings, we defined the tracking cookie and in the Adobe Analytics tool > General tab, we checked the "Enable EU compliance for AA" box.

Everything is working as designed: I land on a page, I have not accepted the consent yet so no AA tracking is firing. I accept the consent and on my next page load, my AA tracking starts firing.

We would like to enhance this logic and fire the server call that should have fired upon landing on the page but upon clicking on the "Accept" button, instead of having to wait for the next page load.

So let's say that if I have a "Home" page load rule to track the home page, which will not fire since I have not accepted the consent yet, I would like this page load rule to fire when I click on the "Accept" button. The tracking cookie (sat_track) is also immediately set to "true" as soon as the consent is accepted.

How can I do that?

I created a "click" event-based rule "Consent Accepted" and was hoping that some custom code such as _satellite.pageBottom() in that rule would fire my page load rule and therefore the "Home"page load rule server call but it does not.

I get a notification in the console (satellite set to debug mode) that my event-based rule fired but the server call does not.

Help!

Accepted Solutions (0)

Answers (0)