Remote Tags Management without a Tag Manager
Sirdata CMP allows you to automatically manage your tags on the page upon loading. That is to say to the tags inserted "directly" in the page but not to the tags inserted by a third party tool such as a Tag Manager. To use this feature via a Tag Manager please refer to the next page.
Before loading the partner scripts on your site, it is important to check that the user has given his consent or has not objected to the legitimate interest.
To do so, you can utilize the JavaScript commands available in the CMP API. With Sirdata CMP, you can also proceed to the conditioning of your tags, in a few minutes and a very simple way.
Consent needed for cookies
In order to link the loading of a script to the user's consent, you simply need to replace the src attribute with data-cmp-src in the HTML tag. Thus, after having collected the user choices, the CMP will automatically verify that he has given consent to purpose 1 (Store and/or access information on a device) and in which case will load the script on your site.
<script src="https://www.example.com/script.js" type="text/javascript"></script>becomes:
<script data-cmp-src="https://www.example.com/script.js" type="text/javascript"></script>becomes:
Supported tags
In the table below you will find the list of HTML elements to which the tag conditioning can apply:
Tag
Exemple
<script>
<script data-cmp-src="/script.js" data-cmp-vendor="53" data-cmp-purposes="1,3"></script>
<img>
<img data-cmp-src="/image.png" data-cmp-vendor="22" data-cmp-purposes-li="2" width="1" height="1"/>
<iframe>
<iframe data-cmp-src="/iframe.html" data-cmp-provider="89" width="250" height="200"></iframe>
<embed>
<embed data-cmp-src="/embed.html" data-cmp-vendor="178" width="250" height="200">
<video>
<video data-cmp-src="/video.mp4" controls width="320" height="240"/>
<audio>
<audio data-cmp-src="/audio.ogg" controls/>
<source>
<audio controls><source data-cmp-src="audio-consent.ogg" type="audio/ogg"><source data-cmp-src="audio-li.ogg" type="audio/ogg"></audio>
<track>
<video width="320" height="240" controls><source data-cmp-src="video.mp4" type="video/mp4"><track data-cmp-src="subtitles.vtt"></video>
Mis à jour
Ce contenu vous a-t-il été utile ?
