Analytics and Tracking

IAB Transparency and Consent Framework (TCF)

Also called TCF, TCF v2.2, TC string

An IAB Europe standard that lets a consent banner record ad and data choices and pass them to ad tech vendors in a coded TC string.

Quick facts: IAB Transparency and Consent Framework (TCF)

Category
Analytics and Tracking
Also called
TCF, TCF v2.2, TC string
Level
Advanced
Affects
Ad serving to UK and EEA visitors, publisher ad revenue, cookie banner design, consent records
Where to see it
Your consent management platform, Google AdSense and Ad Manager privacy settings, browser TC string decoders, browser developer tools
In this article4
  1. How the TCF works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

The IAB Transparency and Consent Framework (TCF) is an industry standard, run by IAB Europe, that lets a website’s consent banner record a visitor’s choices about advertising and data use and pass them, in a standard coded form, to the advertising companies involved. It is used mainly by publishers that earn money from programmatic advertising across the UK and the EU.

How the TCF works

The framework has three main parts:

  • A Global Vendor List of advertising and measurement companies registered with IAB Europe, each declaring which data purposes it pursues and the legal basis it relies on.
  • A fixed set of purposes and features, in standard wording, such as storing or accessing information on a device, building a profile for personalised advertising, and measuring advertising performance.
  • Registered consent management platforms: the banner software that presents those purposes and vendors to visitors and records their answers.

When a visitor makes a choice, the platform encodes it in a TC string, a compact line of text recording which purposes and vendors were accepted or refused. The string is stored, usually in a cookie, and made available to scripts on the page through a standard JavaScript interface. Advertising tags read it and are expected to act on it, and it travels with ad requests along the chain of exchanges and bidders.

The current version is TCF v2.2, introduced in 2023. Among other changes, it stopped vendors relying on legitimate interest for advertising and content personalisation, and required plainer descriptions for visitors (at the time of writing, October 2026).

Why it matters

If your website shows ads through Google AdSense, Ad Manager or AdMob to visitors in the UK or the EEA, Google has required since January 2024 that you use a consent management platform from Google’s approved list, integrated with the TCF. Without one, your ad inventory for those visitors is restricted, which usually means lower earnings.

If you are an advertiser rather than a publisher, the TCF matters far less. Your banner’s job is to control your own tags, such as GA4, the Google Ads tag and the Meta pixel, and to pass the visitor’s choices to Google through consent mode. Many banner tools offer both, which is why TCF settings appear on sites that have no use for them.

The framework is not a legal safe harbour. Using it does not make consent valid under UK GDPR and PECR: the banner still has to give a genuine choice, with refusing as easy as accepting, which is the standard the Information Commissioner’s Office applies. The framework has also been tested in court. In March 2024 the Court of Justice of the EU found that a TC string can be personal data when it can be linked to an individual. UK courts are not bound by that ruling, but it is a good reason to treat consent records with the same care as any other personal data.

Common mistakes

  • Switching on TCF mode for a site that sells no ad space, which fills the banner with hundreds of vendors the site never uses and makes the choice harder to understand.
  • Assuming the TC string and Google consent mode signals are the same thing. They are separate mechanisms; Google tags can read the TC string in some set-ups, but you need to check each signal rather than assume one covers the other.
  • Listing vendors in the banner that do not match the tags actually on the site.
  • Treating registration with the framework as proof of compliance while the banner design still nudges visitors towards accepting everything.

How to act on it

First decide whether you need it. If you sell ad space through Google or other programmatic partners, you do, and your banner provider must be on Google’s approved list. If you only buy advertising, you probably do not, and a simpler banner set up for consent mode will be clearer for your visitors.

If you do use it, compare the vendor list against the tags that actually load, check that refusing in the banner stops those tags firing, and paste the TC string from your own browser into a decoder to confirm it records what you chose. Setting up consent so that tracking and advertising behave correctly for UK visitors is part of my performance marketing service.

Do and do not

Do

  • Check whether you actually serve programmatic ads before switching TCF on
  • Match the vendor list in the banner to the tags that really load
  • Confirm that refusing in the banner stops the tags it should

Do not

  • Treat TCF registration as proof your banner is lawful
  • Assume the TCF also sends Google consent mode signals
  • Fill the banner with vendors your site never uses

Questions people ask about this

Do I need the TCF if I only run Google Ads and Meta ads?

Usually not. The TCF is designed for publishers selling ad space through programmatic partners. As an advertiser, you need a banner that blocks your tags until consent is given and passes choices to Google through consent mode. Some banner products bundle TCF features, but that is a product choice, not a legal requirement.

Is the TCF a legal requirement in the UK?

No. The legal rules are UK GDPR and PECR, enforced by the ICO, and they apply whether or not you use the framework. The TCF is an industry standard. Google's requirement to use an approved platform integrated with it is a contractual condition of its publisher products, not a law.

What is a TC string?

It is the encoded record of a visitor's choices: which purposes and which vendors they accepted or refused, which banner recorded them and when. It looks like a long line of random characters and is usually stored in a cookie. It does not contain a name, but because it can be linked to a device and browsing, it should be handled as potentially personal data.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.