When I set CB to ‘necessary only’ Google Analytics still records my activity in real time on the site.
What has gone wrong?
(Note: I did not implement the ‘controlling cookies with multiple triggers’ section in the GTM guide as I read this to be optional – is this source of the issue?)
Thanks.
The page I need help with: [log in to see the link]
If you are using Google Tag Manager you should add the prior consent through GTM, you can follow the GTM installation guide: https://www.cookiebot.com/en/google-tag-manager-gdpr/.
About the Google Analytics issue I need to check you domain in order to see what might went wrong. Could you send me your domain name, so I can investigate it and give you a better answer and solution of your problem. If you want you could post it here or send it at [email protected]
After checking your domain it seems to me that you have not implemented GA properly (the script is not working) and in the same time you want to add prior consent to something that is not working. ( In that case the analytics code with ID 000000 )
Also if you are using Google Tag Manager, you should implement the GA through it and then add prior consent to Google Analytics statistics.
You can insert that code in the header.php (Theme Header) file.
Have a look at the following, which shows how to apply prior consent:
You could also use one of the many plugins for Google Analytics. MonsterInsights has built-in support for Cookiebot. Some of the GA plugins that we have “addons” for are:
GA Google Analytics
Google Analyticator
Google Analytics +
I inserted the above code using GTM and I think this has fixed the issue (as far as I can tell).
Upon visiting the site, the GA cookies do not show up by default (checked using developer tools) and GA does not acknowledge that I’m on the site until consent is given.
Furthermore, the free compliance test now comes back as 100% passed.