/ /

Osano and the IAB EU TCF 2.2 Framework

Updated 14 days ago

This is an Premier Only feature

In order to support vendors, publishers, and advertisers in meeting the consent and transparency requirements laid out by GDPR and the ePrivacy Directive, the Interactive Advertising Bureau, or IAB, has created an industry-standard called the Transparency and ConsentFramework.

"The TCF creates an environment where website publishers can tell visitors what data is being collected and how their website and the companies, they partner with intend to use it. The TCF gives the publishing and advertising industries a common language with which to communicate consumer consent for the delivery of relevant online advertising and content."

IAB Europe

Click HERE to view the IAB TCF Fact Sheet.


Introduction to TCF

To align with this industry-standard, Osano is registered and certified with IAB as a consent management provider (CMP) and now offers this framework as an optional addition to the out-of-the-box consent manager application.

When TCF support is enabled, the consent manager will appear vastly different from Osano’s out-of-the-box consent manager solution and will include all standard IAB verbiage and consent options.

The IAB framework signals user consent preferences to advertising vendors rather than blocking the vendors themselves, though, when used in conjunction with Osano, we are able to allow users to do both.

In Osano, the setting is called IAB EU TCF 2.x (TCFEUv2). Its card on the IAB tab shows the version of the IAB specification and policy currently in use.

Considerations when Enabling

Enabling IAB EU TCF significantly changes your end-user consent banner and drawer experience. Please review the changes before making them available to users in your production environment. We recommend doing the following before enabling:

  1. Confirm with your privacy and legal teams that IAB EU TCF 2.x applies to your business.
  2. Check with your engineering team about any custom CSS that targets the Osano Consent Manager. The content of the drawer changes to meet the legal requirements of the IAB, which could affect custom styling.
  3. Only enable IAB EU TCF when your configuration is in a live mode, either Permissive or Strict. Do not enable it in Discovery/Listener mode.

Osano's IAB EU TCF implementation

IAB settings live on the IAB tab of your Cookie Consent configuration. The tab is visible on every configuration.

  1. In Osano, open Cookie Consent and select the configuration you want to change.
  2. Go to the IAB tab.
  3. Turn on IAB Global Privacy Platform (GPP) if it is not already on.
  4. Turn on IAB EU TCF 2.x (TCFEUv2). A dialog repeats the considerations above. Click Enable to continue.
  5. In the TCF EU Vendors list under the TCF card, select the IAB vendors you work with. Add every applicable IAB vendor, meaning every vendor that loads on your website. This gives your end users the ability to communicate with individual vendors through the TCF and customize their level of consent for each.
  6. Save Changes, then Publish.

If you previously had the IAB GPP & EU TCF 2.x Frameworks switch turned on in your configuration settings, that switch has been replaced by separate GPP and EU TCF settings on the IAB tab. Both are on for your configuration, your selected vendors are kept, and TCF behaves as before.

Selecting vendors

  • Search by vendor name to find a vendor.
  • See how many are selected from the "X of Y selected" count.
  • Filter the list to show all vendors or only the ones you have selected.
  • Select all vendors from the checkbox in the list header.

For a vendor to be available for selection, it must be registered with the IAB. The full list is available here. The IAB updates this list weekly and Osano syncs with it every 24 hours. If you don't see a vendor you work with, it may be registered under a different name. Start by asking the vendor for its IAB vendor ID.

What happens after you publish

Visitors who access your site from applicable regions (regions that fall under the jurisdiction of GDPR) automatically receive the TCF consent manager. Osano then signals consent to any included vendor using the IAB framework on your website.

Osano exposes the __tcfapi API for those visitors and also includes the TC string in the GPP string as section 2 (tcfeuv2).

End User Experience - Banner

Please note that Version 2.2 of TCF introduced strict policies on what wording must be used in the cookie popup and storage preferences drawer as well as the configuration of the consent banner (popup).

Because of this, when IAB TCF2.2 support is turned on, your banner (popup and drawer) will have the following non-editable text:

Note: The Osano consent banner text has been approved by the IAB Europe. In order to ensure TCF compliance, Osano does not allow for customization of IAB TCF text.

End User Experience - Preference Drawer

Once enabled, end-users will have the ability to select their level compliance (opt into/out of particular categories) as well as make more detailed selections with regards to IAB vendors and what they can and cannot do with that user’s data.

Users can opt out of the “marketing” category as a whole or can make certain specifications regarding what advertisers can do with their data and what they can’t. These are communicated to the IAB vendors using the TCF standard.

Using the IAB TCF 2.0 Framework, users have the right to opt into or out of the following purposes for data collection and use:

  • Purpose 1: Store and/or access information on a device
  • Purpose 2: Use limited data to select advertising
  • Purpose 3: Create profiles for personalized advertising
  • Purpose 4: Use profiles to select personalized advertising
  • Purpose 5: Create profiles to personalize content
  • Purpose 6: Use profiles to select personalized content
  • Purpose 7: Measure advertising performance
  • Purpose 8: Measure content performance
  • Purpose 9: Understand audiences through statistics or combinations of data from different sources
  • Purpose 10: Develop and improve services
  • Purpose 11: Use limited data to select content

Features and Special Features

IAB Europe's TCF Policy v5.0.b, which applies to websites from October 23, 2026, changed how Features are presented to users. Osano applies these changes automatically; there is nothing for you to configure.

  • Standard explanation text. Every TCF Feature is shown with the IAB's standard explanation of what Features are.
  • Examples. Each Feature is shown with one or more short example scenarios supplied by the IAB.
  • No misleading controls. Features, which users cannot switch off individually, are not displayed next to a control that suggests they can.

This wording comes from the IAB's Global Vendor List and, like the rest of the TCF text, cannot be customized.

IAB API Commands

Osano CMP exposes the standard TCF 2.x CMP API specifications.

This means that vendors can read out the user's consent state from the tcstring.

The following code uses the TCF 2.x API:

__tcfapi('addEventListener', 2, (data, success) => console.log(data, success));

Example Response:

{tcString: 'CP1YsIAP1YsIAEXd1BENAbEwAAAAAEPgAAwIAAALzgBAIiAXmAAA', tcfPolicyVersion: 4, cmpVersion: 1909, cmpId: 279, gdprApplies: true, …}

If you are testing or troubleshooting IAB TCF EU 2.2 behaviors on your site, we recommend using the IAB's TCF 2.2 validator extension to help see which commands and/or vendors are relating to the issue. The extension is available for both Chrome and Edge browsers via the Chrome web store.

Was this article helpful?
Subscribe to receive updates on this article