Highlighted

Handling A/B testing tools(sync tags) with consent manager

Silver Contributor
Silver Contributor

Hi 

How can we handle  A/B testing tool(maximyser) to fire after accepting the cookie by consent manager. And what is the best practise to handle such situtations

Thanks in advance

 

2 REPLIES 2
Highlighted

Handling A/B testing tools(sync tags) with consent manager

Silver Contributor
Silver Contributor

I'm assuming you have all your rules setup already but when someone on the page clicks accept on your cookie consent nothing updates. In this situation you should be able to just send a new event to tealium to trigger the new tags to load. For example..

utag.link({'tealium_event': 'cookie_accepted'});

Put this code in the javascript function that runs after the user clicks accepts the consent.

All this assumes you have setup your tag rules to check for the cookie and the value that appears when someone accepts the cookie consent.

.
Highlighted

Handling A/B testing tools(sync tags) with consent manager

Silver Contributor
Silver Contributor

Thank you @AndrewFenn fir your response.

My concern here is to handle tags with consent manager which are loaded synchronously. Let me give you a brief.

Previously consent was not applicable to the a sync tag(maximyser tag) and it was directly loading on page load from utag.sync.js. At this moment it worked as expected
Now as we have to take user consent it should load after the user has accepted the cookies, when we are try to load the tag after the user has accepted the cookies it breaking the page. Is this due to maximyser script?

FYI - other tag(GA,DC etc) loads as expected after user's consent on the same page where the consent popup was shown to the user.