Support » Plugin: CookieYes | GDPR Cookie Consent & Compliance Notice (CCPA Ready) » Should Google Analytics be blocked by default?

  • Resolved lauratraveler

    (@lauratraveler)


    Hi,
    Should Google Analytics (with anonymization) be blocked by default to comply with GDPR? And if so, how can this be achieved? I tried to add both the GA code and the code provided by the plugin (<script> enableGoogleAnalytics(); </script>) directly into the Head Scripts of the Analytics category (either one or the other, not both at the same time), but every time I save I get a screen that states: ‘A potentially unsafe operation has been detected in your request to this site
    Your access to this service has been limited. (HTTP response code 403)’. This screen is generated by the WordFence plugin. Should I mark this as a false positive and move on?
    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author webtoffee

    (@webtoffee)

    Hi @lauratraveler,

    GA should be blocked by default to comply with GDPR. In order to configure it, please add the add the google analytics script in the Head Script field of analytics or any other category.

    Do not add <script> enableGoogleAnalytics(); </script>. It is just an example provided to show how a script looks like. Please remove it.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.