Comparisons
IAB TCF explained: what it is and whether you need it
The IAB Transparency and Consent Framework is an advertising-industry standard for collecting consent and passing it to ad tech vendors. You generally need it if you sell ads programmatically to European visitors, including through Google's publisher ad products, and generally don't if you only run analytics and your own ad pixels.
- Plain English
- Written for website owners
- Free to read
On this page
The IAB Transparency and Consent Framework (TCF) is a standard from IAB Europe that lets websites collect consent for advertising purposes in a uniform way and pass it to the ad tech companies involved in showing ads. A registered consent management platform (CMP) shows visitors a standardized list of purposes and vendors, encodes their choices in a "TC string" and makes it available to ad scripts on the page. You generally need the TCF if you earn money from programmatic advertising shown to visitors in the EEA, the UK or Switzerland. If your site only uses analytics, a few marketing pixels and Google Ads conversion tracking, you generally don't.
What the TCF is
Programmatic advertising involves many companies. A single ad slot can be offered to dozens of bidders, each of which may want to read or store data on the visitor's device. Under the ePrivacy Directive Art. 5(3) and the GDPR, each of them needs a legal basis, and most need consent. The TCF exists so that one banner can collect choices for all of them and pass those choices along in a format they all understand.
The framework has three groups of participants:
- Publishers: websites and apps that show ads and run a CMP.
- CMPs: consent tools registered with IAB Europe, each with its own CMP ID, that display the TCF banner and create TC strings.
- Vendors: ad tech companies listed on the Global Vendor List (GVL), each declaring which purposes it uses and on what legal basis.
Two documents define it: the TCF Policies, which set rules for each participant, and the Technical Specifications, which define the TC string format and the JavaScript API.
How it works on a page
When a visitor arrives, the CMP shows a banner that describes the TCF purposes in standard wording, lists the vendors the publisher works with and offers accept and reject options. The TCF uses a fixed set of numbered purposes. Purpose 1, for example, is storing and/or accessing information on a device, and others cover selecting basic or personalized ads, building profiles and measuring ad and content performance. There are also special purposes, features and special features with their own rules.
The visitor's choices are encoded into the TC string, a compact, base64url-encoded value recording which purposes and vendors were consented to or objected to, plus metadata such as the CMP ID and the vendor list version. Ad scripts don't parse the banner; they call the CMP's standard API, __tcfapi:
window.__tcfapi('addEventListener', 2, function (tcData, success) {
if (!success) return;
if (tcData.eventStatus === 'tcloaded' || tcData.eventStatus === 'useractioncomplete') {
// tcData.tcString - the encoded choices
// tcData.gdprApplies - whether the CMP decided GDPR applies
// tcData.purpose.consents[1] - consent for Purpose 1 (device storage)
console.log(tcData.tcString);
}
});
Ad requests then carry the TC string to the vendors downstream, which are expected to read it and act only within what the visitor allowed.
Versions: from 2.2 to 2.4
The framework has changed several times since version 2.0 launched in 2020. The recent changes matter if you're evaluating a CMP or already run one:
| Version | Main changes |
|---|---|
| TCF v2.2 (2023) | Removed legitimate interest as a legal basis for the advertising and content personalization purposes 3 to 6, required more information about vendors in the banner, and revised purpose descriptions. |
| TCF v2.3 | Made the "disclosed vendors" segment mandatory, recording which vendors were actually shown to the visitor. IAB Europe set 28 February 2026 as the cut-off: TC strings created after that date without the segment are treated as invalid. |
| Policies v5.0.b and Technical Specifications v2.4 (2026) | Added standard explanatory text about features, rules for carrying choices across a visitor's devices and a renamed Special Feature 2, among other updates. The TC string format itself didn't change. IAB Europe's timeline set 23 October 2026 for web CMPs and 23 February 2027 for apps and connected TV. |
These dates come from IAB Europe's announcements as of late 2026. The framework is updated regularly, so check IAB Europe's site for the current version and deadlines before you rely on them. If you use a CMP, version upgrades are largely its job, but you may need to review your vendor list and banner text when they happen.
Do you need the TCF?
| Your situation | TCF needed? |
|---|---|
| You show Google AdSense, Ad Manager or AdMob ads to visitors in the EEA, UK or Switzerland | In practice, yes. Google requires a Google-certified CMP that integrates with the TCF for serving ads in those regions; without one, ad serving is restricted. |
| You sell ad space through header bidding, SSPs or ad networks | Usually yes. Most programmatic partners expect a TC string for European traffic. Check each partner's requirements. |
| You buy Google Ads and track conversions, or use Google Analytics | No. These rely on Google Consent Mode and Google's EU user consent policy. |
| You run a Meta Pixel, LinkedIn Insight Tag or similar on your own site | No. Block them until consent with your banner. |
| Your site has no advertising | No. |
Google's certified CMP requirement took effect for the EEA and UK in January 2024, with Switzerland added later that year, according to Google's publisher help pages. Google's EU user consent policy covers the advertiser side, and the Consent Mode v2 guide explains the signals Google uses outside the TCF.
If you're an advertiser rather than a publisher, the TCF is usually someone else's concern. The question that matters to you is whether your own tags respect the visitor's choice, which is what Consent Mode and script blocking handle.
The legal background: Belgium and the CJEU
The TCF has been tested in the courts, and the outcome shapes how you should think about it.
In February 2022, the Belgian Data Protection Authority found that IAB Europe was a controller for the processing of TC strings, that TC strings were personal data, and that the framework as it then stood breached several GDPR requirements. It fined IAB Europe €250,000 and ordered changes. IAB Europe appealed to the Brussels Market Court, which referred questions to the Court of Justice of the EU.
In its judgment of 7 March 2024 in case C-604/22, the CJEU held that a TC string can be personal data where it can be linked to an identifier such as an IP address, and that an organization like IAB Europe can be a joint controller where it influences the processing for its own purposes. The Court said joint controllership doesn't automatically extend to processing carried out afterwards by participants.
In May 2025, the Market Court largely upheld the Belgian decision and the fine, while confining IAB Europe's joint controllership to the creation and use of TC strings rather than participants' later processing. Commentators have read the outcome differently, and further proceedings have been reported, so treat the details as evolving. For a broader look at enforcement, see lessons from major cookie consent fines.
The practical lesson for publishers is that the TCF is a shared format, not a compliance certificate. Your banner still has to obtain valid consent, your vendor list still has to be justified and your own processing still needs a legal basis.
Trade-offs for publishers
- Long vendor lists. Every vendor you enable appears in the banner. Hundreds of vendors make it hard for visitors to make an informed choice. Review the list and keep only partners you use.
- Constrained design. TCF banners must follow the framework's UI rules and standard wording. That limits how short and plain you can make them.
- Legitimate interest in the UI. Some purposes can still rely on legitimate interest under the TCF, which means visitors must be able to object. That's a separate question from cookie consent under ePrivacy, as legitimate interest and cookies explains.
- Heavier scripts. A TCF CMP has to load the vendor list and more complex UI, so measure its weight on your pages.
- Ongoing upgrades. Version changes come with deadlines. Your CMP should handle them, but you'll need to review the result.
The TCF and other signals
The TCF is one of several consent signals a site may need to send. Google Consent Mode tells Google tags what's allowed. Global Privacy Control is a browser signal for opting out under US state laws. IAB Tech Lab's Global Privacy Platform (GPP) is a container format that can carry several jurisdictions' signals, including US state signals and the TCF's. A CMP that supports the TCF for Europe often needs to support some of these too, depending on your audience.
How TCF relates to Google's own signals is covered in IAB TCF vs Google Consent Mode.
Next steps
- List your ad revenue sources and check whether each partner requires a TC string for European traffic.
- If you use Google's publisher ad products, check that your CMP appears on Google's certified CMP list.
- If you don't sell ads, focus on blocking scripts and Google Consent Mode instead.
- If you do need the TCF, confirm your CMP is on the current framework version and prune your vendor list.
PrivacyQuick doesn't support the IAB TCF as of late 2026, so it isn't the right choice for publishers who need it. For sites that don't, our guide to choosing a cookie consent tool covers what else to look for.
Frequently asked questions
What does TCF stand for?
Transparency and Consent Framework. It's run by IAB Europe, the European trade association for digital advertising, with technical specifications developed with IAB Tech Lab.
Do I need the TCF if I only use Google Analytics?
No. Google Analytics relies on Google Consent Mode signals, not a TC string. The TCF becomes relevant when you sell ad space through programmatic partners or Google's publisher ad products.
Can any cookie banner produce a TC string?
No. Only CMPs registered with IAB Europe and following the framework's policies may generate TC strings. Each registered CMP has an ID that appears in the strings it creates.
Does the TCF apply outside Europe?
The TCF is designed around EU and UK law. For US state privacy laws, IAB Tech Lab's Global Privacy Platform is the more relevant standard, and it can carry several jurisdictions' signals, including the TCF's.
Check your own website in 30 seconds
Our free scanner lists every cookie and tracker your site sets, sorted into categories, before you add a banner.
This guide is general information, not legal advice. Laws and regulator guidance change; check the current rules for your situation or ask a lawyer.