Activation via Google Tag Manager
Dernière mise à jour
Cet article vous a-t-il été utile ?
Dernière mise à jour
Cet article vous a-t-il été utile ?
If you wish to activate Google Consent Mode via Google Tag Manager (GTM), to have more control over its behavior or to load the Sirdata CMP scripts from GTM for example, that's entirely possible. Start by downloading this tag template "Sirdata_Google Consent Mode.tpl" :
Then go to your , in the "Templates" section, and click on "New" in the "Tag Templates" table.
Select the file "Sirdata_Google Consent Mode.tpl" that you previously downloaded and upload it.
Go to the "Tags" section, and create a new one by selecting the new tag type "Sirdata | Google Consent Mode" which now appears in the custom tags:
Select your criteria or keep the default suggestion:
Then configure your advanced options and enter your partner and configuration identifiers if you wish to load the CMP from GTM:
Test via preview, and publish if everything works as expected.
Congratulations!
WARNING: Google Consent Mode does not cover given aspects related to the GDPR, such as the legal basis for processing personal data or potential data transfer to the United-States when they are based on the Standard Contractual Clauses of the European Union for example.
Then click on the three dots in the top right corner () and then on "Import".
Then click on at the top right without changing anything, and then exit the editor using the close cross in the top left.
In the configuration part, click on to add a configuration:
Repeat the operation if necessary, for example if you are making configurations differentiated by country. Click for more information on these criteria.
Finally, select the trigger "Consent Initialization - All Pages" and .
Please visit the official page for more information
Please refer to the section dedicated to if your desire is to secure data transfers to Google Analytics in the United-States.