• Resolved Dave

    (@csn123)


    Is there a way to change the actual allow/deny text saved within the cookies?

    I’m trying to integrate with GTM and have hooked everything up, except for the fact that GTM doesn’t recognise ‘deny’ as ‘rejected’ and ‘allow’ as ‘granted’.

    I can see the cookie values in the Consent Initialisation screen in Tag Assistant. I just can’t get GTM to understand how the terms used by Complianz relate to Google’s terms.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    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.

    Schermafbeelding-2022-09-28-om-09-10-27

    Hope it helps, let me know!
    Kind regards,
    Jarno

    • This reply was modified 2 years, 1 month ago by jarnovos.
    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?

    Plugin Contributor jarnovos

    (@jarnovos)

    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 2 years, 1 month ago by Dave.
    Plugin Contributor jarnovos

    (@jarnovos)

    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

    Thread Starter Dave

    (@csn123)

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change Cookie Allow/Deny Text’ is closed to new replies.