For the complete documentation index, see llms.txt. This page is also available as Markdown.

Share the TC String

If your partners ask you, you can add to your remote scripts that you condition using the data-cmp-src attribute a macro to transmit the TC String generated by the CMP in accordance with the IAB Europe TCF standard.

<script src="https://www.example.com/script.js?gdpr=&gdpr_consent=" type="text/javascript"></script>

should become :

<script data-cmp-src="https://www.example.com/script.js?gdpr=${SDDAN_GDPR_APPLIES}&gdpr_consent=${SDDAN_GDPR_CONSENT}" type="text/javascript"></script>

The macros will be automatically replaced by the appropriate values. E.g. in the previous example the tag will be called on the following URL :

https://www.example.com/script.js?gdpr=1&gdpr_consent=CPEBG-2PEv0r8BcAFBENBWCgAP_AAH_AAAqIHpQJwABAALAAeABUADIAIIAUgBUAC2AGgAagBEAC3AGEAYgA5ACEAE6ALgAY4A9AB-gEDAIQAR0AngBVwC6gGBAMIAaIA2gCPQEvAJiAT-AowBcwC8wGLgMZAZIB6UBUABYADwAKgAZABBADQANQAiABiAEIAP0AgYBCACrgF1AMCAaIA2gCPQExALzAZIAA

Mis à jour

Ce contenu vous a-t-il été utile ?