Fire Google Tag Manager (GTM) Containers

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) containers based on a user's consent.

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.

Requirements

Sourcepoint's Dialogue platform should be configured in your Google Tag Manager account. Click here to learn more.

With Sourcepoint's Dialogue platform configured in GTM, create custom rules to manage tags in the Google Tag Manager according to your business rules. Click here to learn more about Google Tag Manager rules.

Add GTM Containers to Consent/Reject Actions

In this section, we will cover how to add the GTM container to a vendor or purpose on a GDPR TCF v2 Vendor List.

Alternatively, navigate along the following pathways to add a GTM container to a vendor on a GDPR non-TCF or CCPA Vendor List:

  • GDPR > Non IAB > Edit

  • CCPA > Vendor List > Edit

Navigate to your Sourcepoint account and click GDPR from the top navigation bar. Select TCF v2 from the dropdown menu.

Navigate to a Vendor List on the subsequent list and click Edit.

Navigate to the vendor or purpose on your Vendor List and click the vendor's name.

From the subsequent modal, select either Consent Actions or Reject Actions and navigate to the Google Tag Manager tab.

From the Google Tag Manager tab of the Consent or Reject action, enter the name of the container as defined in Google Tag Manager in the Value field.

Click Apply Changes when finished.

Enter single quotes around the tag container name when inputting the name in the Value field. For example, if the tag container name is beMAG_consent then the name should be entered as 'beMAG_consent'.