Permissions:
Vendor list-GDPR or Vendor list-U.S. Privacy or Vendor list - U.S. Multi-State
Commanders Act tag management system, Tag Commander, allows for the creation of custom triggers to fire tag containers. In this article, we will cover how to fire custom triggers configured in Tag Commander through the Sourcepoint platform.
Create custom trigger in Tag Commander
As part of the set up in Tag Commander you will create a custom trigger and define a custom trigger function. For more information on how to create a custom trigger in the Tag Commander platform, please read this article.
In this article, we will use a custom trigger called "fire custom consent" with a custom trigger function called tC.event.fire_custom_consent
as an example.
Add trigger to vendor list
In this section, we will cover how to add the trigger to a vendor. Navigate to your Sourcepoint account and click Vendor Management on the left-hand panel and select a regulatory framework from the menu.
Select a vendor list from the subsequent page.
Click the appropriate vendor or purpose from the list.
Select either Consent Actions or Reject Actions from the subsequent modal. The action selected is dependent on the trigger being implemented.
Input the custom trigger function set up in the the Tag Commander platform under the Custom JS tab. Below is an example of the custom function tC.event.fire_custom_consent
.
Click Apply changes when finished.
With the trigger applied to the vendor/purpose, click Save to confirm the changes to the vendor list.
Select the Opt In/Opt Out Hooks tab and navigate to either Vendor or Privacy Choice from the subsequent page.
Click + Add Hook.
Select a vendor or privacy choice from the provided dropdown menu. Next, select whether you are configuring Opt In Hooks or Opt Out Hooks. The action selected is dependent on the trigger being implemented.
Input the custom trigger function set up in the the Tag Commander platform under the Custom JS tab. Below is an example of the custom function tC.event.fire_custom_consent
.
Click Apply changes when finished.
With the trigger applied to the vendor/purpose, click Save to confirm the changes to the vendor list.
Comments
0 comments