Permission: Vendor list-GDPR and/or Vendor list-CCPA

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

Tealium utag.ink API
Tealium load rules

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 GDPR TCF from the menu. 

Screen_Shot_2022-01-11_at_9.48.01_AM.png

Navigate to a vendor list on the subsequent list and click Edit.

Screen_Shot_2022-01-11_at_9.49.17_AM.png

Click the appropriate vendor from the list.

Screen_Shot_2022-01-11_at_10_11_38_AM.jpg

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);

Screen_Shot_2022-01-11_at_10.14.06_AM.png

Was this article helpful?
0 out of 0 found this helpful