Comment on page
Activation via Google Tag Manager
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" :
Sirdata_Google Consent Mode.tpl
Then click on the three dots in the top right corner (
) and then on "Import".
Select the file "Sirdata_Google Consent Mode.tpl" that you previously downloaded and upload it.
Then click on
at the top right without changing anything, and then exit the editor using the close cross in the top left.
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:
In the configuration part, click on
to add a configuration:
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:
If you do not load the Sirdata CMP from GTM, it is mandatory to load it from the site, and the CMP scripts must be loaded before Google Tag Manager.
Finally, select the trigger "Consent Initialization - All Pages" and
Test via preview, and publish if everything works as expected.
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.