• Resolved clsconsultoria

    (@clsconsultoria)


    Hello Complianz team,

    You have an useful plugin, but we have an issue with it. At first we used Google Analytics code to track our users behaviour, but recently we are deploying Google Analytics with Google Tag Manager.

    After doing the setup again, the Analytics script loads before consent. We are not sure how we can fix this issue. We have tried to delete the analytics script and managing the script through the script center, but without success.

    If there were a “reset to default values” or a clean install option, we don’t mind to configure all from start.

    Can you help us with this issue?

    Thank you in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @clsconsultoria,

    Please read this: https://complianz.io/definitive-guide-to-tag-manager-and-complianz/

    You will most likely need to create a new trigger for Analytics.
    regards Aert

    Thread Starter clsconsultoria

    (@clsconsultoria)

    Hello @aahulsebos,

    We have implemented the changes, and the issue still persists: _ga, _gid and _gat cookies loads before consent is given.

    After consent is given, new Google Analytics are added. The problem started when we switched from Google Analytics to Google Tag Manager.

    We have cleared the cache and deactivated performance plugins searching for incompatibilities, but the issue is still there.

    I guess the fastest way to fix this is resetting the plugin to its default values and start the configuration from scratch. Is there a way to do that?

    Thank you in advance.

    Regards clsconsultoria

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @clsconsultoria,

    Can you share your URL? Maybe I can see an issue,

    You can reset settings, under settings. But it’s not really necessary, because you can adjust via the wizard and under Integrations.

    I assume you want Google Analytics to added after consent, which means the following;

    – You can add the GTM code to the Complianz wizard under Statistics -> Statistics configuration
    – In your Cookie Banner settings make the first category for GTM “Statistics”
    – Trigger Google Analytics with a custom event called cmplz_event_0

    This should do the trick as explained in the article above,

    Let me know if you can share your URL,

    regards Aert

    Thread Starter clsconsultoria

    (@clsconsultoria)

    Hello @aahulsebos,

    We reseted the configuration and now everything is working fine. Thank you!

    Regards clsconsultoria

    Plugin Contributor Mathieu Paapst

    (@paapst)

    Hi @clsconsultoria Great to hear that your issue is resolved! Could you tell us what you think of the plugin or the support by casting your Review here? We’d love to hear your feedback!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Google Analytics script loads before consent’ is closed to new replies.