Skip to main content

IAB TCF consent management for publishers

CookieBeam is a registered CMP in IAB Europe's Transparency and Consent Framework, and a Google-certified CMP. One banner handles TC strings, vendor consent, and Google Consent Mode v2 signals together.

TCF is on Professional plans and above.

CMP ID 526
Registered in IAB Europe's TCF
TCF v2.4
Current framework version supported
Web
Browser-based consent management
Professional+
Available on Professional plans and above

What you get

TC string generation

The banner generates a TC string that encodes the visitor's purpose and vendor choices. Ad-tech vendors read it through the standard __tcfapi interface.

Layer 1 and Layer 2 consent UI

Layer 1 names the purposes, stacks, and special features with short expandable descriptions. Layer 2 shows full purpose descriptions, vendor declarations, and GVL illustrations.

Vendor scope and publisher restrictions

Choose which GVL vendors appear in the consent UI. Set publisher restrictions to override a vendor's declared legal basis per purpose.

Legitimate interest with right to object

Vendors that declare legitimate interest for a purpose are shown with an objection toggle. Visitors object in Layer 2; Layer 1 links straight to it.

Google Additional Consent

Additional Consent is supported as an opt-in setting per banner. Only the Google ATP providers the publisher discloses are listed to visitors. The AC string is returned via __tcfapi getTCData (addtlConsent).

GPP alongside TCF

GPP for US state privacy laws runs from the same banner. The __gpp API and the __tcfapi API are both available.

Google Consent Mode v2

The banner sends Consent Mode v2 signals (ad_storage, analytics_storage, ad_user_data, ad_personalization) from the same banner. Google tags read consent without extra configuration.

Early stub for ad tags

The CookieBeam loader installs a __tcfapi stub and a __tcfapiLocator iframe. Ad tags that load after the CookieBeam script can call __tcfapi at once; their calls queue until the full CMP is ready.

How to enable it

  1. 1

    Open Consent Frameworks

    In the banner dashboard, open the Consent frameworks tab. TCF is available on Professional plans and above.

  2. 2

    Enable IAB TCF and select vendors

    Enable “Use IAB TCF v2.4 for this banner”. Choose the vendors from the GVL that your site uses. Set publisher restrictions.

  3. 3

    Save and publish

    Click “Save TCF settings”, then publish the banner. The published script exposes __tcfapi and generates TC strings for visitors.

Frequently asked questions

What is the IAB TCF?

The Transparency and Consent Framework (TCF) is a standard created by IAB Europe for the programmatic advertising industry. It defines how consent management platforms encode and transmit visitor consent to ad-tech vendors. Each vendor on the Global Vendor List declares which purposes it processes data for, and the CMP generates a TC string that records the visitor's choices.

Is CookieBeam a registered TCF CMP?

CookieBeam is a registered CMP in IAB Europe's Transparency and Consent Framework. The CMP ID is 526. TCF is available on Professional plans and above.

Is CookieBeam a Google-certified CMP?

Yes. CookieBeam is a Google-certified CMP. Publishers who serve personalised ads with Google AdSense or Ad Manager to visitors in the EEA, the UK and Switzerland need a Google-certified CMP that integrates with IAB TCF. CookieBeam meets that requirement when TCF is turned on for the banner. TCF is available on Professional plans and above.

Does CookieBeam support Google Additional Consent?

Yes. Additional Consent is supported as an opt-in setting per banner. When enabled, only the Google ATP providers the publisher discloses are listed to visitors. The AC string is returned via __tcfapi getTCData (addtlConsent).

Can I use TCF and Google Consent Mode v2 together?

Yes. The same banner sends both a TC string to the IAB ad-tech ecosystem and Consent Mode v2 signals to Google tags. Accept all and Reject all set both. They serve different purposes but run from the same banner.

Does TCF work alongside GPP?

Yes. GPP for US state privacy laws runs from the same banner as TCF. The __gpp and __tcfapi APIs are both available at the same time.

Do I need to load the CookieBeam script before my ad tags?

Yes. The __tcfapi stub ships inside the CookieBeam loader script. Ad tags that run before it find no __tcfapi at all. Load the CookieBeam script first. Tags that load after it can call __tcfapi straight away, and their calls queue until the CMP is ready.

Do I need TCF if I only use Google Ads and GA4?

Most likely not. Google Ads (the advertiser side) and GA4 require Google Consent Mode v2, which CookieBeam supports without TCF. TCF is designed for the programmatic advertising supply chain: publishers running Google Ad Manager, AdSense, AdMob, or other IAB-connected demand platforms.

Add TCF consent to your site

TCF is available on Professional plans and above. Start free, then choose Professional when you're ready to turn TCF on.