Hi @csn123,
You could directly import the Complianz triggers in your GTM container by following the steps provided here: https://complianz.io/importing-tag-manager-container/
Doing this would avoid having to create them manually. After importing them in GTM, you can directly use one of them as the “Firing Trigger” of the tag that should wait for a certain type of consent to be obtained.
In the below example image, I have set Analytics and Hotjar to fire on “Trigger Statistics” (meaning: fire when consent for the Statistics category is obtained), and the Facebook Pixel to fire upon obtaining Marketing consent.

Hope it helps, let me know!
Kind regards,
Jarno
-
This reply was modified 3 years, 7 months ago by
Jarno Vos.
Thread Starter
Dave
(@csn123)
Thank you for a comprehensive answer.
In this instance, I require a solution to work with Google’s built-in consent manager (‘Consent Settings’). The proposed solution above appears to rely on creating on a separate consent event that is triggered. It looks like it would be handy elsewhere, but unfortunately this isn’t workable for my current project.
I’ve added this basic template by Google. From testing, it looks to bridge Complianz and GTM perfectly, except for it requires cookie values of ‘granted’ and ‘denied’. With two minor text changes, the built-in consent triggers inside GTM would work seamlessly.
Are the ‘accept’/’deny’ cookie values in Complianz editable or at least filterable? Can I use something like Say What? to translate these to custom values? Or, more preferably, a custom add_filter function perhaps?
Hi @csn123,
Thank you for your response, that helps to clarify. It seems that Google Consent Mode is what you are looking for, which can be enabled under Complianz > Wizard > Consent > Statistics – configuration.
Please find our documentation attached as well: https://complianz.io/consent-mode/
Kind regards,
Jarno
Thread Starter
Dave
(@csn123)
Thanks. Is there a way to do this without needing the pro plugin?
Or, at least test it works with my configuration before committing to the pro edition?
-
This reply was modified 3 years, 7 months ago by
Dave.
Hello @csn123,
Instructions for manual implementation of Consent Mode can be found here: https://developers.google.com/tag-platform/devguides/consent
Aside of the default consent state, you would additionally have to push the updated consent state to the DataLayer on each consent change in Complianz. Please find all of the available hooks in our developers guide: https://complianz.io/developers-guide-for-third-party-integrations/
Kind regards,
Jarno