Admin Access or Domain access to property (property group) with feature access to vendor list management

In this article, we will cover how to fire Google Tag Manager (GTM) tags based on a user's consent.

For the purposes for this article we will fire a tag from GTM when a consent action is triggered for a vendor and for a purpose. Your organization can also fire a GTM tag when a reject action is triggered by selecting Reject Actions at the vendor or purpose level when configuring your vendor list in the Sourcepoint portal.  

 Use Case

Configure container rules so they do not fire for users in the E.U. and let Sourcepoint manage which containers fire for these site visitors.


Install GTM on property

Follow the directions in your Google Tag Manager account to install Google Tag Manager on your property. Installing GTM on your property requires adding a code snippet to your <head> tag and a code snippet to your <body> tag. 

  Note: Ensure that you define the data layer before Sourcepoint's tags (i.e. add the GTM code snippet before Sourcepoint's tags within the <head> tag). 

Screen_Shot_2022-06-23_at_11_36_46_AM.jpeg


Configure GTM container

Configure a container in your Google Tag Manager account to manage the consent action value. 

 Google Tag Manager Documentation

For the purposes of this article, we are creating a simple tag with a Custom HTML type that will print "Custom tag fired!" to our browser console when triggered. 

Screen_Shot_2022-06-23_at_11.11.07_AM.png

While your organization's tag will differ, each tag should be triggered by a Custom Event trigger type. When configuring your trigger please adhere to the following configuration:

Field Configuration
Trigger Type Select Custom Event. This trigger type allows you to set an Event name which Sourcepoint uses to match the consent action value to the trigger. 
Event name Input a name that will be used in Google Tag Manager and the Sourcepoint platform. 
This trigger fires on Select All Custom Events.

Screen_Shot_2022-06-23_at_11.22.45_AM.png

When finished, click Submit and follow the prompts to publish your configuration. 

Screen_Shot_2022-06-23_at_11_23_34_AM.jpeg


Add GTM custom event name to vendor 

With your tags configured in GTM, navigate to your Sourcepoint account. Click Vendor Management on the left-hand rail and select a regulatory regime from the subsequent menu.

Screen_Shot_2022-06-23_at_11.56.32_AM.png

Click the vendor list you wish to configure and select the vendor from the vendor list builder page. 

Screen_Shot_2022-06-23_at_12_04_42_PM.jpeg

Click Consent Actions in the vendor configuration modal and select the Google Tag Manager tab. Alternatively, select Reject Actions if configuring a trigger for when an end-user rejects the vendor. 

Screen_Shot_2022-06-23_at_2.46.23_PM.png

The Geolocation field should be configured based upon whether the vendor belongs to a GDPR TCF/Standard or CCPA vendor list. Please refer to the table below for how to configure this field:

Regulatory regime  Configuration
GDPR TCF/Standard IN : EEA
CCPA NOT IN : EEA

Input the Event name configured for the custom event trigger in the provided Value field.

  Note: Enter single quotes around the Event name when inputting the name into the Value field. For example, if the Event name is cmp_sample in the GTM platform then the name should be entered as 'cmp_sample'.

Screen_Shot_2022-06-23_at_2.59.46_PM.png

Click Apply changes when finished to exit the vendor configuration modal. Click Save on the vendor list builder page to publish your changes. 


Add GTM custom event name to purpose 

With your tags configured in GTM, navigate to your Sourcepoint account. Click Vendor Management on the left-hand rail and select a regulatory regime from the subsequent menu.

Screen_Shot_2022-06-23_at_11.56.32_AM.png

Click the vendor list you wish to configure and select the purpose from the vendor list builder page.

Screen_Shot_2022-06-23_at_2_41_07_PM.jpeg

Click Consent Actions in the purpose configuration modal and select the Google Tag Manager tab. Alternatively, select Reject Actions if configuring a trigger for when an end-user rejects the purpose.

Screen_Shot_2022-06-23_at_3.03.47_PM.png

The Geolocation field should be configured based upon whether the vendor belongs to a GDPR TCF/Standard or CCPA vendor list. Please refer to the table below for how to configure this field:

Regulatory regime  Configuration
GDPR TCF/Standard IN : EEA
CCPA NOT IN : EEA

Input the Event name configured for the custom event trigger in the provided Value field.

  Note: Enter single quotes around the Event name when inputting the name into the Value field. For example, if the Event name is cmp_sample in the GTM platform then the name should be entered as 'cmp_sample'.

Screen_Shot_2022-06-23_at_3.02.32_PM.png

Click Apply changes when finished to exit the vendor configuration modal. Click Save on the vendor list builder page to publish your changes. 


Test configuration

Test your configuration by consenting or rejecting to the vendor or purpose that you have configured across the GTM and Sourcepoint platform. Review to ensure tags are firing and executing as intended.

For the purposes of this article, we should see the phrase "custom tag fired!" logged to our browser console.

Screen_Shot_2022-06-23_at_3_12_24_PM.jpeg

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