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.