A bit puzzled by Presidium – I have identified and added my named Google analytic cookies in the cookie fields, and tested cookie behavior in browser inspector, but I can’t get it to work.
I wonder if anyone could just post up an image of a simple typical/example google analytics cookie configured in the cookie fields in the plugin settings. Perhaps I’m missing something really simple.
I wonder if anyone could just post up an image of a simple typical/example google analytics cookie configured in the cookie fields in the plugin settings
Google separates consent mode into:
Basic consent mode
Advanced consent mode
Basic consent mode
When you implement consent mode in its basic version, you prevent Google tags from loading until a user interacts with a consent banner.
You can achieve this, by specifying the paths to the Google Analytics script under wp-admin → Cookie Consent → Blocked Scripts.
Refer to the Blocking scripts section of our wiki to learn more about how to prevent scripts from running and conditionally execute them.
To give an example, blocking scripts for Google Analytics would look something like this:
When you implement consent mode in its advanced version, Google tags load when a user opens the website, and do the following:
Set default consent states
Wait for user interaction with the banner and update consent states
You can achieve this, by enabling GCM (Google Consent Mode) under wp-admin → Cookie Consent → Consent Mode.
Depending on whether you’re using Google tag (gtag.js) or Google Tag Manager (GTM), you’ll need to select the corresponding option under “Implementation”.
If you’re using Google Tag Manager, you’ll also need to add our GTM template to your workspace.