We have in place an EU Cookie Control policy in place, so visitors get an optional dialog to accept cookies, which allows the customer to actively select if he accepts cookies or not. We have tags that is allowed to be executed not taking into account the selection, and we have tags that's only allowed to be executed once a customer accepts the policy.
We have set up a datasource indicating if cookies are accepted, this is being added to the datalayer before the utag.js is being loaded, so it's not a problem to manage as soon as the selection has been made on a previous page, however the problem is only on the first visit.
While testing we simply loaded utag.js and when a customer accepted cookies, we would send a utag.view(), however any tags that supports and has executed once will execute again based on this.
Ideally I would like to solve it by being able to send some kind of event through, which would trigger these tags to be executed, since that is what we're capable off from within our cookie policy component. I can probably fix it by modifying the templates, however I also want to make it simple for the users of the interface to easy add new tag rules.
Thanks in advance
/Lars
... View more