Crownpeak (Retired)

Wrapping Tags in Prior Consent in UCP Script

The Privacy UCP tag comes with a prior consent callback function to wrap vendors and tags in, so that they do not drop onto a page until the user has interacted with the notice to allow it.

Here is an example of how it works: http://noticedemo.evidon.com/Teresa/EvidonPriorConsentDemo.html

1. Using a tracking tool like Ghostery, open the page above.


2. Observe the Evidon tag on the page in the tracking tool.

3. Click Accept, and then check the tracking tool, and you should see Amazon and Yahoo have dropped on the page.&


Here is an example of the prior consent callback in the UCP tag and an example of how to wrap a tag:

This shows Amazon and Yahoo appended in the prior consent callback function.


UCP can be integrated with Google Tag Manager and Tealium to control prior consent. You can find info more details on those integrations in these articles

UCP Google Tag Manager Document (GTM Prior Consent Instructions)

Universal Consent Platform - Tealium Integration

Labels (1)

Can't find what you are looking for?

Find Answers

Search our DG Forum to find answers to questions asked by other DG users.

Ask a Question

No luck? Ask a question. Our Product and Support teams are monitoring the Forum and typically respond within 48 hours.

Ask a Question