TL;DR: When IAB TCF is enabled in your banner settings, Consently automatically generates TC Strings and tracks vendor and purpose consents for programmatic advertising compliance.

Overview

IAB TCF (Transparency & Consent Framework) consent tracking captures detailed consent signals required for programmatic advertising. When enabled, Consently generates standardized TC Strings that communicate visitor consent choices to advertising partners compliant with IAB TCF 2.2 specifications.

Before You Begin

Make sure you have:

Time required: 5 minutes to verify tracking


What IAB TCF Tracking Captures

TC String Generation

Consently automatically generates a Transparency & Consent (TC) String each time a visitor makes a consent choice. This encoded string contains:

  • Visitor's consent decisions for each advertising purpose

  • Vendor consent choices (which ad-tech companies can process data)

  • Publisher restrictions you've configured

  • Consent timestamp and version information

The TC String is stored in the visitor's browser and shared with IAB-compliant advertising partners to ensure proper consent enforcement across the programmatic advertising ecosystem.

BlockNote image

Vendor Consent Management

When visitors interact with your banner, Consently tracks consent for specific advertising vendors from the IAB's Global Vendor List. This includes:

  • Approved vendors: Ad-tech companies that the visitor has consented to

  • Rejected vendors: Companies the visitor has opted out of

  • Default vendor status: Vendors not yet presented to the visitor 

Vendor consent is communicated through the TC String to ensure only approved partners can process visitor data for advertising purposes.

πŸ’‘ Tip: Enable the TCF Vendor List in your IAB settings to give visitors granular control over individual advertising partners.
BlockNote image

Purpose Consent Management

IAB TCF defines 10 standardized advertising purposes that require consent. Consently tracks visitor consent for each purpose:

  1. Store and/or access information on a device

  2. Select basic ads

  3. Create a personalized ad profile

  4. Select personalized ads

  5. Create a personalized content profile

  6. Select personalized content

  7. Measure ad performance

  8. Measure content performance

  9. Apply market research to generate audience insights

  10. Develop and improve products

Each purpose consent is encoded in the TC String and enforced across the advertising supply chain.

BlockNote image

Publisher Restrictions

Consently honors any publisher-level restrictions you configure in your IAB settings. These restrictions override visitor consent choices when you need to:

  • Block specific vendors from processing data on your site

  • Restrict certain advertising purposes regardless of visitor consent

  • Enforce stricter privacy controls than visitor choices allow

Publisher restrictions are included in the TC String to ensure all advertising partners respect your site-specific rules.

Consent Records

All consent interactions are recorded in the Consent Log, providing a clear and auditable history of visitor consent activity. Each record includes:

  • Unique Consent ID for tracking and audit purposes

  • Visitor country where the consent was given

  • Consent status (Accepted, Partially Accepted, or Rejected)

  • Date and time when the consent action occurred 

BlockNote image

How to Verify IAB Tracking

Step 1: Check for the TC String

Open your website in a browser and interact with your consent banner. Then open your browser's developer console (F12 or Cmd+Option+I) and type in the Console :

document.cookie

Look for a cookie named euconsent-v2 or usprivacyβ€”this contains your TC String.

BlockNote image

Step 2: Verify consent signals

In the same console, check that the TCF API is available:

__tcfapi('getTCData', 2, function(tcData, success) {
console.log(tcData);
});

The output shows your current consent state, including approved purposes and vendors.

⚠️ Important: The TCF API only works on pages where your Consently script is installed and IAB TCF is enabled.
BlockNote image

Step 3: Review Consent Logs

Go to the Consent Log section in your Consently dashboard. Recent consent records will display:

  • A unique Consent ID for every consent event

  • Consent Status such as Accepted, Partially Accepted, or Rejected

  • The country where the consent was recorded

  • Date and time of each consent action

BlockNote image

Done!

Your IAB TCF consent tracking is working correctly.

βœ… Success indicator: TC Strings appear in browser cookies and consent records show IAB-specific data.

What's Next

Now that you understand IAB TCF tracking:

  1. Review your certification status

  2. View detailed consent logs

Troubleshooting

TC String is not being generated

Why this happens: IAB TCF may not be enabled in your banner configuration.

Solution:

  1. Go to Cookie Banner β†’ Configuration

  2. Verify IAB TCF Settings is set to "Support IAB TCF v2 and Google Consent mode"

  3. Ensure Enable Purpose List is toggled on

  4. Click Save and republish your banner


TC String appears, but vendor consent isn't working

Why this happens: The TCF Vendor List may not be enabled.

Solution:

  1. Go to Cookie Banner β†’ Configuration β†’ IAB TCF Settings in your dashboard.

  2. From the IAB TCF Settings dropdown, select Custom.

  3. Turn Enable TCF Vendor List ON.

  4. Click Save and republish your cookie banner.

  5. Clear your browser cache and test the banner again.


Consent log shows no IAB data

Solution: Ensure you've interacted with the banner on your live site (not preview mode). IAB data only appears for real consent events captured after TCF is enabled.