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" :

Then go to your GTM account, 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:

Repeat the operation if necessary, for example if you are making configurations differentiated by country. Click here for more information on these criteria.

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.

Test via preview, and publish if everything works as expected.


Please visit the official Google Consent Mode page for more information

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.

Please refer to the section dedicated to Sirdata Analytics Helper if your desire is to secure data transfers to Google Analytics in the United-States.

Last updated