Home Compliance & Regulations. IAB TCF: consent for programmatic advertising

IAB TCF: consent for programmatic advertising

Last updated on Oct 08, 2026

The IAB Transparency and Consent Framework (TCF) is the advertising industry's standard for collecting and passing on consent for personalised advertising. If you earn money from programmatic ads — Google AdSense, Google Ad Manager, or any ad exchange — in the EEA, UK or Switzerland, you need a TCF-registered consent banner. CookieLet is one. This article explains what turning TCF on does to your banner, how to configure the three related settings, and what to expect afterwards.

Do you need TCF?

Turn it on if any of these apply:

  • You serve ads through Google AdSense, Ad Manager or AdMob to visitors in the EEA, UK or Switzerland. Google requires a certified TCF CMP for this.

  • You use a header-bidding setup, an SSP, or any ad partner who asks for a "TC string".

  • An ad partner has told you consent isn't being passed, or your EEA ad revenue dropped after you installed a cookie banner.

Leave it off if you don't run programmatic advertising. TCF makes the banner longer and more complex — the first screen alone carries several paragraphs of mandatory wording — and that costs you interaction rate for no benefit if there are no ad vendors to pass consent to.

TCF only matters for visitors in the EEA, UK and Switzerland. If your legislation preset is GDPR or Worldwide, it applies to those visitors; US-only banners don't use it.

Where the settings are

Select the website, open Cookie Banner , and expand the General section. The three TCF-related toggles sit together beneath the geo-targeting options.

Available on Pro and above. On lower plans the toggles are visible but locked.

Support IAB TCF v2.3

The master switch. Turning it on changes several things at once.

What changes on the banner

  • The message is replaced with the TCF disclosure text. The framework prescribes the wording of the first layer so that every TCF banner tells visitors the same things: that data is stored on their device, what it's used for (the TCF purposes), that it's shared with partners, and that some partners rely on legitimate interest. CookieLet inserts this text and locks it.

  • A partners link appears. "We and our 1033 partners " — the number is the count of vendors on the Global Vendor List that your banner discloses, and the link opens the full vendor list inside the preference centre. The count is maintained by IAB and updates automatically.

  • The preference centre gains purposes and vendors. Alongside your cookie categories, visitors can now grant or refuse each TCF purpose, each special feature, and each vendor individually, and can object to legitimate-interest processing.

  • The banner produces a TC string. A compact encoded record of exactly what the visitor allowed. CookieLet stores it, exposes it through the standard __tcfapi interface on your page, and your ad tags read it from there.

What changes in the preference centre (layer 2)

Selecting Customise opens a preference centre with three tabs instead of one. The introduction at the top is TCF wording: it tells the visitor they can consent per vendor, that some vendors rely on legitimate interest and may be objected to, and that choices are stored in a cookie named euconsent for up to 730 days.


Cookie Categories — your own categories from Cookie Manager, exactly as on a non-TCF banner. Strictly Necessary shows as Always Active ; the rest have toggles. This tab controls which scripts CookieLet blocks on your page.

Purposes & Features — the IAB-defined reasons data may be processed, in four groups:

  • Purposes (11) — the processing purposes that need consent, such as storing information on a device, selecting personalised ads, and measuring ad performance. One toggle grants or refuses all eleven; expand the group to set them individually.

  • Special Purposes (3) — security, fraud prevention and technical delivery. These are always permitted under TCF and have no toggle.

  • Features (3) — techniques such as matching data from offline sources. Also no toggle; they're disclosed, not consented to.

  • Special Features (2) — precise geolocation and device scanning. These require explicit opt-in and have their own toggle.

The counts and the text are set by the framework and can't be edited.

Vendors — the companies that may receive the visitor's data, in two groups:

  • Third Party Vendors — every vendor on IAB's Global Vendor List (1033 in the example). Expand the group to see each vendor, its purposes, and whether it relies on consent or legitimate interest.

  • Google Advertising Products — appears only when Google's Additional Consent Mode is on. Google's ad-tech providers that aren't on the IAB list (713 in the example).

Each group has a master toggle; the tab's count in the header is the two groups combined. As the note on the tab says, vendor consent follows the category toggles by default and can be overridden individually.

The three buttons at the foot — Reject All , Save My Preferences , Accept All — apply to all three tabs at once.

What becomes non-editable

A notice appears at the top of the editor when TCF is on. Most of the text on the first and second layers is now fixed by the framework and can't be changed:

  • The banner Message — shows as locked in the Languages editor.

  • The purpose names and descriptions in the preference centre.

  • The legitimate-interest wording.

You can still edit the banner title, the three button labels, the preference centre title, your own cookie category names and descriptions, the policy links, and every colour and layout setting. Translations of the locked text are supplied by IAB in each language you've added.

Why it's locked. IAB audits registered CMPs against its policies, and non-compliant wording can cost a CMP its registration. If CookieLet let you edit the disclosure, your banner would no longer be a valid TCF banner and Google would stop treating its consent signals as valid. The lock protects your ad revenue.

Required button layout

TCF policy requires that rejecting is as easy as accepting on the first layer. CookieLet's banner shows Accept All , Reject All and Customise together on layer 1; keep all three visible and don't style Reject All as noticeably less prominent than Accept All.

Support Google's Additional Consent Mode

Available once TCF is on. Google works with a large number of ad-tech providers who aren't registered on IAB's Global Vendor List. Google's Additional Consent (AC) mode extends the consent signal to cover them: the banner discloses them alongside the IAB vendors, and the visitor's decision is encoded as an AC string that's passed to Google with the TC string.

Turn it on if you use Google AdSense, Ad Manager or AdMob. Google recommends it for all publishers monetising with Google products, and without it some Google demand won't be eligible to bid on your EEA inventory.

When it's on, the partner count on your banner increases — in the example above, from 1033 to 1745 — because Google's providers are now included in the disclosure.

Enable Google's Advertiser Consent Mode

Available once TCF is on. This links TCF to Google Consent Mode, so Google's advertising tags — Google Ads, Floodlight, and the advertising half of GA4 — take their consent signals from the TC string rather than from your cookie categories.

With it on, the three advertising signals (ad_storage, ad_user_data and ad_personalization) are set to granted only when the visitor has consented to the relevant TCF purposes and to Google as a vendor. The other Consent Mode signals — analytics, functionality, personalisation, security — continue to follow your cookie categories.

Turn it on if you run Google Ads conversion tracking or remarketing alongside TCF. It's the configuration Google expects from a TCF site, and it prevents a mismatch where your cookie category says yes but the TC string says no.

Your Advertisement cookie category still governs everything that isn't a Google ad tag: it blocks Meta Pixel, LinkedIn Insight, TikTok Pixel and similar non-TCF scripts before consent exactly as before. See the Google Consent Mode article for the full picture.

Recommended configuration

  • No programmatic ads — all three off.

  • Non-Google ad partners only — TCF on; the two Google toggles off.

  • Google AdSense / Ad Manager — TCF on, Additional Consent on, Advertiser Consent Mode on if you also run Google Ads.

  • Google Ads conversions, no display advertising — you don't need TCF. Use Google Consent Mode on its own.

Turning it on — step by step

  1. Open Cookie Banner → General and switch on Support IAB TCF v2.3. The notice appears and the preview updates.

  2. Switch on the Google toggles that apply to you.

  3. Open Content and review the editable fields — the title and buttons are still yours.

  4. Open Design and check the longer banner still fits on mobile. Switch the preview to the phone view. The TCF text is several paragraphs; a Box layout in a corner usually becomes unreadable, and Banner or Popup works better.

  5. Select Save , then Publish.

  6. Open your site in a private window from an EEA location (or with a VPN) and confirm the TCF banner appears with the partners link.

  7. If you use Google Ad Manager or AdSense, allow up to 24 hours and then check the EU consent status in your Google account. If it still reports a problem after that, see troubleshooting.

Verifying it works

Open your site, open the browser console, and run:

__tcfapi('getTCData', 2, function(d, ok){ console.log(ok, d) })

You should see an object with cmpId, tcString, and eventStatus. Before the visitor decides, eventStatus is cmpuishown; after Accept All it becomes useractioncomplete and tcString is populated.

For a visual check, IAB's own TC string decoder shows exactly which purposes and vendors a given string grants — paste the string from the console.

Troubleshooting

Google says "Consent not collected" or "No valid TC string"

  • Confirm you published after turning TCF on.

  • Test from an EEA location. TCF only runs for EEA, UK and Swiss visitors; from elsewhere Google's check sees nothing.

  • Check the Google tag loads after CookieLet. If an ad tag fires before the banner has set up __tcfapi, it reads no string. Move the CookieLet script to the top of <head>, or if you use Google Tag Manager, keep the CookieLet tag on the Consent Initialization trigger.

  • Allow up to 24 hours for Google's status to update after a fix.

Interaction rate dropped after turning TCF on

Expected to some degree — the banner is longer. Check the mobile layout; that's where most of the loss usually is. Don't try to recover it by hiding Reject All or shrinking it; that violates TCF policy and risks your registration.

I want to change the message text

You can't while TCF is on. If the disclosure wording is a problem for your site, you need to decide whether you need TCF at all — turn it off in General and the field unlocks.

The partners count seems high

It's the full Global Vendor List, not the vendors you actually work with. IAB policy allows a CMP to disclose all registered vendors. If you'd prefer to disclose only your real partners, contact support about restricting the vendor list for your site — a shorter list also tends to improve accept rates.

The Google toggles are greyed out

They depend on TCF. Switch on Support IAB TCF v2.3 first.

Still need help?

Email support@cookielet.com with your website URL, which ad platforms you use, and the output of the console check above if you ran it.