CookieYes not blocking Google Analytics Script
-
Good evening,
I’m having an issue with the CookieYes WordPress Plugin Only mode.
I’ve got a Google Analytics script being hooked into the WordPress head through Astra’s Site Builder tool.
I have setup 2 GA analytics cookies, both with the site domain name, duration, and script: google-analytics.com|googletagmanager.com/gtag/js
– _ga_*
– _ga
When you load the page, the scripts aren’t being blocked (the two cookies are showing in Console > Application > Cookies), and even if I reject consent & refresh the page they’re still showing as being tracked.
If I connect the site to CookieYes Web app, then the GA scripts & cookies are correctly blocked and work with the consent options. And so I’m struggling to understand why when I’m using the WordPress Plugin Only mode, with cookies within CookieYes copies the exact same from the web app, that the GA scripts & cookies are failing to be blocked.
I’ve tried putting the Google Analytics scripts into the function.php, in case it was some strange bug between the way Astra hooks the script, but that doesn’t work either.
Thanks for any help.The page I need help with: [log in to see the link]
The topic ‘CookieYes not blocking Google Analytics Script’ is closed to new replies.