Permissions:
Vendor list-GDPR or Vendor list-U.S. Privacy or Vendor list - U.S. Multi-State
In this article, we will cover how to fire Tealium's tag containers that tracks a user's consent action from a Sourcepoint GDPR TCF message.
Once your Tealium tag management system is configured to prevent tags from firing prior to consent, set up calls to fire Tealium containers using their utag.link
API for tracking events after the page has loaded by using the tag ID you want to fire.
Tealium resources
Below is the format for firing a Tealium tag container. The data object and callback parameters are optional. The data object will send any relevant data to the Tealium platform, and the callback parameter is a callback function that will execute after the tag has been fired.
utag.link(data_object, callback, [uid_array]);
With your code configured, navigate to your Sourcepoint account and click Vendor Management on the left-hand panel. Select a regulatory regime from the menu.
Navigate to and click a vendor list on the subsequent list.
Click the appropriate vendor from the list.
Select Consent Actions from the subsequent modal.
Input the utag.link
code set up in the the Tealium platform under the Custom JS tab. The example below fires the Tealium tag ID 7 which corresponds to a Tealium event called gdpr_vendor1
and writes "tag fired" to the browser's developer console window.
utag.link({"tealium_event":"gdpr_vendor1"},function(){console.log('tag fired');}, 7);
Click the Opt In/Opt Out Hooks tab and ensure Vendor is selected on the subsequent page.
Click + Add Hook.
Select a vendor from the provided dropdown menu and ensure the Opt In Hooks tab is selected.
Input the utag.link
code set up in the the Tealium platform under the Custom JS tab. The example below fires the Tealium tag ID 7 which corresponds to a Tealium event called gdpr_vendor1
and writes "tag fired" to the browser's developer console window.
utag.link({"tealium_event":"gdpr_vendor1"},function(){console.log('tag fired');}, 7);
Comments
0 comments