Skip to main content

IAB TCF

IAB TCF (Transparency and Consent Framework) v2.3 support in DataGrail Consent enables your organization to achieve GDPR compliance through a standardized CMP (Consent Management Platform) UI. When enabled, DataGrail generates a TC String that communicates user consent choices to advertising vendors across the ad tech ecosystem, and optionally integrates with Google Consent Mode and Google Additional Consent.

TCF Setting Configuration

TCF settings are configured per consent policy and apply only to users in TCF-applicable regions (primarily GDPR jurisdictions). TCF must be enabled at both the policy level and the container level before it is active on your site.

IAB TCF Settings

  1. Open Consent Management from the top-level navigation.
  2. Select your policy from the Policies page under Settings.
  3. Select the Settings tab within your policy.
  4. Select IAB TCF on the left-hand menu.

The IAB TCF settings page contains four tabs: Configuration, Purposes, Publisher Restrictions, and Vendors.

Configuration

The Configuration tab controls your CMP identity, banner behavior, and Google integration settings.

TCF Configuration

Publisher Country Code

Select the country where your organization is established. This value is used to populate the Publisher TC segment, which is required for TCF 2.3 compliance.

Default Language

Select the language in which purpose and vendor descriptions are shown to users in the consent dialog. DataGrail automatically syncs translations from the IAB Global Vendor List (GVL) on a weekly basis.

Purpose One Treatment

Controls how Purpose 1 is flagged in the TC String. By default, some CMPs treat Purpose 1 as requiring special handling — this toggle overrides that behavior.

SettingBehavior
EnabledPurpose 1 (store and/or access information on a device) is treated the same as all other purposes — it receives no special treatment in the TC String.
DisabledPurpose 1 is flagged as receiving special treatment in the TC String, which some CMPs use to indicate that consent for Purpose 1 was not explicitly requested.

Most publishers should leave this setting enabled.

Show Vendor List

Controls whether users can see and interact with the full list of advertising vendors in the consent dialog.

SettingBehavior
EnabledUsers will see a searchable vendor list in the consent dialog (the Vendors tab in the banner). Commonly-used vendors are surfaced at the top of the list.
DisabledThe Vendors tab is not shown to end users.

Legitimate Interest Default

Sets the default legal basis used for purposes where legitimate interest is permitted.

SettingBehavior
EnabledLegitimate interest is used as the default legal basis for purposes where it is permitted.
DisabledConsent is used as the default legal basis for all applicable purposes.
Legitimate Interest Restrictions

Legitimate interest is prohibited for Purposes 3, 4, 5, and 6 (personalized advertising and content profiles) regardless of this setting. See Purposes for details.

Controls whether DataGrail generates and exposes a Google AC String for Google Ad Tech Providers (ATPs).

AC String format and behavior

When enabled, DataGrail generates an AC String (v2) and exposes it via addtl_consent in the TCData object. The AC String uses the format 2~{consented IDs}~dv.{disclosed IDs}. Vendors that appear on both the IAB GVL and Google's ATP list are represented using their GVL ID in the TC String and are excluded from the AC String to avoid duplication. Required if you use Google Ad Manager or Google DFP. When disabled, no AC String is generated and Google ATPs are not included in TCF signaling.

Controls whether DataGrail maps TCF consent signals to Google Consent Mode v2, which governs tag behavior in Google's ad and analytics products.

Google Consent Mode signal mapping

When enabled, DataGrail maps TCF purpose consent to Google Consent Mode v2 signals. All signals default to denied on page load and are updated when the user submits their consent preferences. The mapping is as follows:

Google signalTCF basis
ad_storagePurpose 1 consent
analytics_storagePurpose 1 consent
ad_personalizationPurpose 3 + 4 consent
ad_user_dataVendor 755 (Google) consent

When disabled, Google Consent Mode signals are not updated by DataGrail. Tags will fire according to your existing Google Consent Mode configuration, if any.

DMA Requirement

ad_user_data and ad_personalization signals are required for compliance with the EU Digital Markets Act (DMA) as of March 2024. If you serve ads in the EU, this setting should be enabled.

Purposes

The Purposes tab lets you configure the legal basis for each of the 11 IAB TCF purposes. Your configuration is reflected in both the consent banner UI and the TC String.

TCF Purposes

Each purpose can be assigned one or more legal bases:

  • Consent — the user must actively opt in.
  • Legitimate Interest — processing proceeds by default unless the user objects.

Default Configuration

PurposesConsentLegitimate Interest
1, 2AllowedAllowed (Off by default)
3, 4, 5, 6AllowedProhibited -- cannot be enabled
7, 8, 9, 10, 11AllowedAllowed (Off by default)
IAB TCF framework requirement

Legitimate interest is permanently prohibited for Purposes 3 (create profiles for personalised advertising), 4 (use profiles to select personalised advertising), 5 (create profiles to personalise content), and 6 (use profiles to select personalised content). This is an IAB TCF framework requirement and cannot be overridden.

Special Purposes

Special Purposes (SP1: Security/Fraud Prevention, SP2: Deliver Ads/Content) always use legitimate interest and are not configurable. They are disclosed to users but cannot be toggled off.

Publisher Restrictions

Publisher Restrictions allow you to override the default legal basis for specific purposes on a per-vendor basis. Use this tab to restrict or require certain behaviors from vendors beyond the GVL defaults.

Restriction types include:

  • Not Allowed — vendor is not permitted to process data for this purpose.
  • Require Consent — vendor must use consent, even if legitimate interest is their declared basis.
  • Require Legitimate Interest — vendor must use legitimate interest, even if consent is their declared basis.

TCF Publisher Restrictions

Vendors

The Vendors tab displays all vendors your organization has selected from the IAB Global Vendor List (GVL). DataGrail syncs the full GVL (1,200+ vendors) on a weekly basis and automatically republishes your TCF configuration when a new GVL version is released.

TCF Vendors

To add or remove vendors:

  1. Navigate to the Vendors tab under IAB TCF Settings.
  2. Use the search field to find vendors by name (typeahead search is supported).
  3. Select the checkbox next to Vendor Name to manage multiple vendors at once.
  4. Commonly-used vendors appear at the top of the list by default.
GVL and Google ATP Deduplication

Vendors that appear on both the IAB GVL and Google's Additional Tech Provider (ATP) list are represented using their GVL ID only in the TC String. These vendors are excluded from the AC String to prevent duplication.

When TCF is enabled, the consent banner presents users with a layered experience:

  • Summary layer — brief overview with Accept All / Reject All / Manage Preferences options.
  • Purposes layer — expandable list of all 11 TCF purposes with consent toggles and vendor counts. Users can select View Vendors on any purpose to see which vendors use it.
  • Vendors layer — full searchable list of GVL vendors (if Show Vendor List is enabled).

TCF Banner

When the user saves their preferences, DataGrail writes the TC String to the euconsent-v2 cookie (with localStorage as a backup) and fires any Google Consent Mode or AC String updates as applicable.

 

Need help?
If you have any questions, please reach out to your dedicated Account Manager or contact us at support@datagrail.io.

Disclaimer: The information contained in this message does not constitute as legal advice. We would advise seeking professional counsel before acting on or interpreting any material.