Examples

Google AdSense

Tag before conditioning
Tag before conditioning
<script src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

becomes:

Tag modified with conditioning
Tag modified with conditioning
<script
data-cmp-src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"
data-cmp-vendor="755"
data-cmp-purposes="1,3,4"
data-cmp-purposes-li="2,7,9,10">
</script>

Conditioning Google Ad Manager with Limited Ads as fallback

Tag before conditioning
Tag before conditioning
<script src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>

becomes:

Tag modified with conditioning and Limited Ads as fallback
Tag modified with conditioning and Limited Ads as fallback
<script
data-cmp-src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"
data-cmp-vendor="755"
data-cmp-purposes="1,3,4"
data-cmp-purposes-li="2,7,9,10"
data-cmp-fallback-src="https://pagead2.googlesyndication.com/tag/js/gpt.js"
data-cmp-fallback-vendor="755"
data-cmp-fallback-purposes-li="2,7,9,10">
</script>

Other examples

Example 1

Conditioning of a script for the partner 53 requiring consent for the purposes 1 and 3

<script data-cmp-src="https://www.example.com/script.js"
data-cmp-vendor="53"
data-cmp-purposes="1,3">
</script>

Example 2

Conditioning of a script for the partner 81 requiring consent for the purpose 1 and the legitimate interest established for the purpose 6

<script data-cmp-src="https://www.example.com/script.js"
data-cmp-vendor="81"
data-cmp-purposes="1"
data-cmp-purposes-li="6">
</script>

Example 3

Conditioning of a pixel for the partner 29 requiring consent for the purposes 1 and 9

<img data-cmp-src="https://www.example.com/pixel.png"
data-cmp-vendor="29"
data-cmp-purposes="1,9"
width="1" height="1"/>

Example 4

Conditioning of a script requiring consent for the purpose 1 with loading of an alternative script in case of non-consent

<script data-cmp-src="https://www.example.com/script.js"
data-cmp-fallback-src="https://www.example.com/script_noconsent.js">
</script>