This article describes how to set up the Google Consent Mode tag in your Tealium iQ Tag Management account.

Consent mode (beta) allows you to adjust how your Google tags behave based on the consent status of your users. You can indicate whether consent has been granted for Analytics and Ads cookies. Google's tags will dynamically adapt, only utilizing measurement tools for the specified purposes when consent has been given by the user.

In this article:

Vendor Documentation

Tag Configuration

First, go to the tag marketplace and add the Google Consent Mode tag (Learn more about how to add a tag).

After adding the tag, configure the following settings:

  • Automatically read from Tealium Consent Cookie: Integration with Tealium Consent Manager.
  • Ad Storage: If the integration with Tealium Consent Manager is enabled and partial consent is given, this  sets ad_storage_consent value to granted. When full consent is given, granted is set.
  • Analytics Storage: If the integration with Tealium Consent Manager is enabled and partial is given, this sets analytics_storage_consent value to granted . When full consent is given, granted will be set.
  • Ads Data Redaction Mapping: When ads_data_redaction is true and ad_storage is denied, ad click identifiers sent in network requests by Google Ads and Floodlight tags will be redacted.
  • URL Passthrough: You can optionally elect to pass information through URL parameters across pages in order to improve measurement quality.
  • Wait For Update: If your consent tool loads asynchronously, it might not always run before your Google tags. To account for this, specify wait_for_update along with a millisecond value to control how long to wait before sending data.

Data Mappings

Mapping is the process of sending data from a data layer variable to the corresponding destination variable of the vendor tag. For instructions on how to map a variable to a tag destination, see data mappings.

The available categories are:

Standard

Variable Description
Read From Tealium Consent Cookie (tealium_consent) [Boolean]
Ad Storage Consent (ad_storage_consent) [String]
Analytics Storage Consent (analytics_storage_consent) [String]
Ads Data Redaction Mapping (ads_data_redaction) [Boolean]
URL Passthrough (url_passthrough) [Boolean]
Wait For Update (wait_for_update) [Number]
Public