Enable consent mode TCF integration
Enable consent mode TCF integration
The IAB Transparency & Consent Framework v2.2 (IAB TCF v2.2) is a technical framework that enables websites, advertisers, and ad agencies to obtain, record, and update user consent for web pages.
Campaign Manager 360, Search Ads 360, and Display & Video 360 can read and interpret the TCF Transparency and Consent (TC) string for conversion tracking tags. CMPs create TCF strings based on user choices to send consent signals to Campaign Manager 360, Search Ads 360, or Display & Video 360. Google as a vendor accepts TC strings using the TCF v2.2.
When enabled, the consent mode TCF integration maps from TCF Purposes to consent mode commands as follows: Store and/or access information on a device, or Disables the Google signals feature in Google Analytics (for web tags only).
To enable consent mode TCF integration with the help of CookieScript CMP, set the enableAdvertiserConsentMode
field to true
in TCData
objects generated by your TCF consent management platform API implementation:
TCData.enableAdvertiserConsentMode = true
The Google tag and the Google Analytics for Firebase SDK only accept TCF strings that are correctly implemented according to the TCF policies and technical specifications, and adhere to Google's EU User Consent Policy. This means that the CMP must respond within 500 milliseconds, otherwise, the tag will proceed with default consent settings.
When enabled, the consent mode TCF integration maps from TCF Purposes to consent mode commands as follows.
Purpose | Description | Google tag behavior when Purpose is denied |
---|---|---|
1 | Store and/or access information on a device. |
|
3 | Create a personalized ads profile |
|
4 | Select personalized ads |
|
7 | Measure ad performance |
Disables the Google signals feature in Google Analytics (for web tags only). |
9 | Apply market research to generate audience insights | Disables the Google signals feature in Google Analytics (for web tags only). |
10 | Develop and improve products | Disables the Google signals feature in Google Analytics (for web tags only). |
Read the following articles:
How to implement Google consent mode v2 with GTM?
How to select Basic or Advanced Google consent mode?
Troubleshooting TCF implementation- Google Ad manager help.
Did this answer your question?