Comment on page
Advanced configuration
If needed, you can proceed a more specific conditioning by filling the information you need the CMP to verify before triggering the loading of the script.
You will find the list of attributes that can be specified in the table below:
Attribute | Description |
data-cmp-src (requis) | URL of the script to condition (ex : https://www.abc.com/script.js ).
You can also specify a JavaScript function to execute, that is previously defined on the page (ex : loadScript ). |
data-cmp-vendor | IAB partner ID to verify (ex : 53 ).
When specified, a list of purposes and/or special features must be specified as well. Exemples :
|
data-cmp-provider | Google partner ID to verify Exemples :
|
data-cmp-extra-vendor | Sirdata partner ID to verify.
When specified, a list of purposes must be specified as well. |
data-cmp-purposes | List of purposes IDs for which the specified partner requires user consent (ex : 1,3,4 ).WARNING : data-cmp-vendor must be specified as well. |
data-cmp-purposes-li | List of purposes IDs for which the specified partner relies on its legitimate interest (ex : 2,5 ).
WARNING : data-cmp-vendor must be specified as well. |
data-cmp-special-features | List of special features IDs for which the specified partner requires user consent (ex : 1 ).
WARNING : data-cmp-vendor must be specified as well. |
data-cmp-publisher-purposes | List of purposes IDs for which you require user consent. |
data-cmp-publisher-purposes-li | List of purposes IDs for which you rely on your legitimate interest. |
data-cmp-publisher-custom-purposes | List of custom purposes IDs for which you require user consent. |
data-cmp-publisher-custom-purposes-li | List of custom purposes IDs for which you rely on your legitimate interest. |
data-cmp-require-choice | Boolean ( true or false ) to indicate if the CMP should wait for the user to validate his choices before triggering the checking. |
data-cmp-disable-check | Boolean ( true ou false ) to indicate if the CMP must deactivate the default check on the purpose 1.
NOTE: This is only functional if no specific condition on a purpose or a partner is defined. |
data-cmp-parent | If the conditioned script must be loaded at a specific location in the page, it is possible to indicate the ID of the parent HTML element that should contain it (only available for <script> tags). |
data-cmp-fallback-src | Allows to specify an alternative script when the loading conditions of data-cmp-src are not fullfilled. This script can be conditioned with the same attributes listed above by prefixing them withdata-cmp-fallback- instead of data-cmp- . |
${SDDAN_GDPR_APPLIES} | Macro to be used in the url called via the data-cmp-src attribute to add the GDPR parameter of the TCF of the IAB Europe |
${SDDAN_GDPR_CONSENT} | Macro to be used in the url called via the data-cmp-src attribute to add the TC String of the TCF of the IAB Europe |
When a partner and purposes are specified, it removes the default check on the purpose 1. If you wish to keep the check on the purpose 1, please make sure to include it in the
data-cmp-purposes
attribute.This method allows a great technical simplification of the tag management. However, it is important to keep in mind that legal expertise is necessary to figure out how to apply it by yourself.
For each tag/beacon, you must:
- Evaluate the possible presence of non-exempted trackers (cookies, indexdb, local storage, etc.) (ePrivacy Directive)
- Evaluate the processing of personal data and, if applicable, the purposes pursued by your partners and their respective legal bases (GDPR)
- Evaluate if a tag/beacon is automatically supported by your partners thanks to the CMP APIs (e.g.: Google and Microsoft Bing's "Consent Mode")
Don't hesitate to ask our team to set up these packaging for you:
Last modified 1yr ago