Overview: IAB TCF developer integration
The IAB Transparency and Consent Framework (TCF) defines how consent information is shared between websites, CMPs, and vendors. CookieHub fully supports TCF 2.2 and provides tools for developers who need to access or use consent data.
Why developers use TCF integrations
- To read user consent signals programmatically
- To share consent data with third-party scripts or custom services
- To debug consent-related behavior in advertising tags
CookieHub exposes the standard __tcfapi interface and supports all IAB-specified commands. It also includes a CMP API stub to ensure compatibility during page load.
For most users, no extra work is required beyond enabling TCF in the CookieHub dashboard. These tools are for advanced use cases, such as custom vendor integrations or analytics.