The Adobe Experience Platform Web SDK has support for the Interactive Advertising Bureau Transparency & Consent Framework, version 2.0 (IAB TCF 2.0). This guide shows the requirements for supporting IAB TCF 2.0 through Adobe Experience Platform Web SDK integrating with Adobe Real-Time Customer Data Platform, Audience Manager, Experience Events, Adobe Analytics, and Edge Network.
Additionally, the following guides are available to assist in learning how to integrate IAB TCF 2.0 with and without tags.
In order to implement the Web SDK with IAB TCF 2.0, you are required to have a working understanding of the Experience Data Model (XDM) and Experience Events. Before you start, please review the following document:
To send consent data to Adobe Experience Platform using the SDK, the following is required:
Please refer to the guide on TCF 2.0 compliance for instructions on creating the required datasets and datastream.
Adobe Audience Manager (AAM) includes support for IAB TCF 2.0, which enables you to evaluate, honor, and forward customer privacy choices to downstream partners.
To integrate with Audience Manager through Adobe Experience Platform Web SDK, make sure you have a datastream set up to forward to Adobe Audience Manager.
Whereas the Real-Time CDP and Audience Manager’s audiences keep track of a customer’s current consent preferences, Experience Events can hold a customer’s consent preferences that were active when the event was collected.
To collect consent information on events, the following is required:
For more information on how to convert an XDM Experience Event to an Analytics hit, see Sending data to Adobe Analytics using the Web SDK.
The sections below describe the main integration points between IAB TCF 2.0 and Adobe Experience Platform Web SDK.
Even without Real-Time CDP or Audience Manager set up, you can still integrate IAB TCF 2.0 with the Web SDK. The consent preferences can be used to control the collection of Experience Events and setting an identity cookie.
Default consent is used when there is no consent preference already saved for a customer. This means the default consent options can control the behavior of Adobe Experience Platform Web SDK and change based on a customer’s region.
For example, if you have a customer that is not within the jurisdiction of General Data Protection Regulation (GDPR), the default consent could be set to in
, but inside the jurisdiction of GDPR, the default consent could be set to pending
. Your Consent Management Platform (CMP) might detect the customer’s region and provide the flag gdprApplies
to IAB TCF 2.0. This flag can be used to set the default consent. See defaultConsent
for more information.
Adobe Experience Platform Web SDK has a setConsent
command, which communicates your customer’s consent preferences to all the Adobe services using IAB TCF 2.0. If you are integrating with Real-Time CDP, this updates your customer’s profile. If you are integrating with Audience Manager, this updates your customer’s information. Calling this also sets a cookie with an all-or-nothing consent preference that controls whether future Experience Events are allowed to be sent. It is intended that this action is called whenever consent changes. On future page loads, the Edge Network consent cookie will be read to determine whether Experience Events can be sent, and whether an identity cookie can be set.
Similar to Audience Manager’s IAB TCF 2.0 integration, the Edge Network gives consent when a customer has provided their explicit consent to the following purposes:
For more information on the setConsent
command, read the dedicated Web SDK documentation on setConsent.
Adobe Experience Platform Web SDK has a sendEvent
command that collects an Experience Event. If you are integrating with Experience Events or Adobe Analytics and would like the consent preferences on every Experience Event, add consent information to every sendEvent
command.
Now that you have a basic understanding of the IAB Transparency & Consent Framework 2.0, please refer to either of the guides on using IAB TCF 2.0 with tags or without tags.