Via Google Tag Manager

If you wish to activate Google's Advanced 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, this is entirely possible.

Go to your GTM account, navigate to the "Templates" section, and click on "Search Gallery" in the "Tag Templates" table.

Search for "Sirdata CMP | Google Consent Mode"

Add the "Sirdata CMP | Google Consent Mode" template to the workspace.

Go to the "Tags" section, then create a new tag 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 (Refer to the official Google Consent Mode page for more information on these criteria if needed) :

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 IDs 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 the Tag Manager.

Test using the preview mode, and publish if everything works as expected.


ATTENTION : Google Consent Mode does not fully cover certain aspects related to the GDPR, such as the legal basis for data processing or potential transfers to the United States when relying on the European Union's Standard Contractual Clauses, for example.

Please refer to the section dedicated to Sirdata Analytics Helper if your goal is to secure data transfers to Google Analytics.

Last updated