Updated August 2026 โ If your website serves programmatic advertising to EU users, you have likely encountered the IAB TCF. This guide explains what it is, who needs it, and how to verify your implementation with a free scan.
Use our free scanner to check if your site (or any site) uses the IAB Transparency & Consent Framework:
Run free scan โThe scanner checks for __tcfapi, TCF cookies, consent strings, and GDPR applies signals โ no signup required.
The IAB Transparency & Consent Framework (TCF) is an industry standard developed by IAB Europe that enables digital advertising companies to collect and process personal data in compliance with the GDPR and ePrivacy Directive. It provides a standardised way for publishers, advertisers, and ad-tech vendors to manage user consent across the programmatic advertising supply chain.
TCF is currently in its second major version (TCF v2), which was introduced in 2019 and became mandatory for IAB Europe members in August 2020. A v3 update is under development as of 2026.
__tcfapi JavaScript API allows vendors and CMPs to communicate consent status in real time.TCF is relevant for any organisation that participates in programmatic advertising with EU users:
Google has integrated TCF into its ad platforms, requiring publishers using Google Ad Manager or AdSense for EU traffic to register with a TCF-compliant CMP.
These two frameworks serve different but complementary purposes:
| Aspect | IAB TCF | Google Consent Mode v2 |
|---|---|---|
| Scope | Programmatic advertising supply chain | Google tags (Ads, Analytics, Floodlight) |
| Standard body | IAB Europe | Google (proprietary) |
| Signal format | TC string (base64 encoded) | gtag/datalayer consent defaults and updates |
| Required since | 2020 (IAB) / 2024 (Google integration) | March 2024 (Google requirement) |
| Best practice | Use a CMP that supports both TCF and Google Consent Mode v2 | |
A single CMP can implement both frameworks simultaneously. When a user sets their consent preferences, the CMP writes both the TCF TC string and the Google Consent Mode defaults โ covering the entire ad-tech ecosystem.
typeof __tcfapi. If it returns "function", TCF is active.IABTCF_ (e.g. IABTCF_TCString, IABTCF_VendorConsents).Run our free scanner on any URL to check for IAB TCF, Google Consent Mode v2, cookie consent platforms, and 6 other compliance checks. It works on any website โ WordPress, Shopify, Webflow, Next.js, or hand-written HTML.
Run free scan โDisclaimer: Automated technical checks only โ not legal advice. Full compliance review requires a qualified professional.