Info
Content

Adobe Tag Manager / Adobe Experience Cloud / Dynamic Tag Management

Please note: Only the manual blocking code can be delivered using a TagManager. If you want to use automatic code blocking, you need to insert the CMP-Code directly into your website.

Please note: When using automatic blocking, please ensure that the TagManager is prevented from being blocked by inserting  the attribute data-cmp-ab="1" into the TagManager code.

The ConsentManager.net CMP will automatically push all consent information into global variables on the website so that the Adobe Tag Manager can capture them and use them as Data Elements. These variables are:

Variable

Description

window.cmpGDPR

0 if GDPR does not apply, 1 if GDPR applies

window.cmpConsentString

Sets the IAB consent string

window.cmpVendorsConsent

Sets a comma separated list of vendor IDs that got consent, e.g. ,3,7,22,31,88, (list starts and ends with comma)

window.cmpCustomVendorsConsent

Sets a comma separated list of custom vendor IDs (vendors that are not part of the IAB global vendor list) that got consent, e.g. ,82,112,556, (list starts and ends with comma)

window.cmpGoogleVendorsConsent

Same as cmpVendorsConsent but included are the Google ATP IDs.

window.cmpPurposesConsent

Sets a comma separated list of purposes that got consent, e.g. ,1,2,3,4,5, (list starts and ends with comma)

window.cmpCustomPurposesConsent

Sets a comma separated list of custom purposes that got consent, e.g. ,1,2,3,4,5, (list starts and ends with comma)

Create a new Data Element

In order to use the above showed variables in your Adobe Tag manager you will need to create data elements. This can be found under Rules > Data Elements > Edit:

Please make sure to use “Type = JS Object” and the “Path” according to above variable names.

 

 

Back to top