Skip to main content

Customizing Consent Integrations

Updated this week

Overview

By default, Transcend enables all available consent integrations except for Google Ads NPA and Google Ads RDP. If you wish to explicitly enable or disable some or all of these integrations, you can do so using the data-tracker-overrides script attribute on your airgap.js script tag.

Disabling All Consent Integrations

To disable all consent integrations and rely only on the regulation of network requests and cookies, set the data-tracker-overrides attribute to "off":

<script data-tracker-overrides="off" src="https://transcend-cdn.com/cm/BUNDLE_ID/airgap.js">

To enable only specific integrations, you can pass a list of space-separated integration names. Each integration may optionally accept named parameters that are separated by semicolons (;). For each parameter, specify a key and a value separated by an equals sign (=).

Enable Google Consent Mode and Facebook LDU:

<script data-tracker-overrides="GoogleConsentMode FacebookLDU" src="https://transcend-cdn.com/cm/BUNDLE_ID/airgap.js">

Enable Google Consent Mode with custom purpose mapping and Facebook LDU:

<script data-tracker-overrides="GoogleConsentMode:ad_user_data=SaleOfInfo;ad_personalization=SaleOfInfo FacebookLDU" src="https://transcend-cdn.com/cm/BUNDLE_ID/airgap.js">

List of All Supported Consent Integrations

Integration Name

Config Name

Additional Parameters

Google Consent Mode

GoogleConsentMode

You can modify our default mapping to change how GCM purposes maps to Transcend purposes, e.g., ad_user_data=SaleOfInfo;ad_personalization=SaleOfInfo

Google Ads NPA*

GoogleAdsNPA

None

Google Ads RDP*

GoogleAdsRDP

Google Ads RDP can be selectively applied to specific tags with e.g., tags=TAG1,TAG2,TAG3

Microsoft UET Consent Mode

MicrosoftUETConsentMode

You can modify our default mapping to change how the Microsoft UET Consent Mode ad_storage purpose maps to Transcend purposes, e.g., ad_storage=Advertising,SaleOfInfo

Microsoft Universal Pixel Consent Mode

MicrosoftUniversalPixelConsentMode

You can modify our default mapping to change how the Microsoft Universal Pixel Consent Mode ad_storage purpose maps to Transcend purposes, e.g., ad_storage=Advertising,SaleOfInfo

Facebook LDU

FacebookLDU

You can force all requests to facebook.com and facebook.net to include an LDU flag using our request override functionality with strict, i.e., FacebookLDU:strict.

TikTok LDU

TikTokLDU

You can force all requests to tiktok.com to include an LDU flag using our request override functionality with strict, i.e., TikTokLDU:strict. You can also modify which purpose(s) trigger LDU with purposes, e.g., purposes=Purpose1,Purpose2. By default, LDU is triggered by the SaleOfInfo purpose.

YouTube Privacy-Enhanced Mode

YouTubePrivacyEnhancedMode

You can modify which purpose(s) trigger YouTube Privacy-Enhanced Mode with purposes, e.g., purposes=Purpose1,Purpose2. By default, YouTube Privacy-Enhanced Mode is triggered by the Advertising and SaleOfInfo purposes. You can also force-enable YouTube Privacy-Enhanced Mode with on, i.e., YouTubePrivacyEnhancedMode:on.

Vimeo Do Not Track mode

VimeoDNT

None

Wistia Do Not Track mode

WistiaDNT

None

Did this answer your question?