Title: Need an example cookie config screen
Last modified: November 15, 2024

---

# Need an example cookie config screen

 *  Resolved [alcain](https://wordpress.org/support/users/alcain/)
 * (@alcain)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/need-an-example-cookie-config-screen/)
 * 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.
 * Many thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [alcain](https://wordpress.org/support/users/alcain/)
 * (@alcain)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/need-an-example-cookie-config-screen/#post-18137487)
 * Think I’ve fixed it.
 * FIXED.
 * I simply needed to activate Google Consent Mode in ‘Consent Mode’ (‘Google Consent
   Mode v2 (GCM’)
 * … and selecting ‘Google tag (gtag.js)’
 * Seems to have done the job.
 *  Plugin Author [pressidium](https://wordpress.org/support/users/pressidium/)
 * (@pressidium)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/need-an-example-cookie-config-screen/#post-18171353)
 * Hey, [@alcain](https://wordpress.org/support/users/alcain/)!
 * > 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](https://github.com/pressidium/pressidium-cookie-consent/wiki/Blocking-scripts)
   section of our [wiki](https://github.com/pressidium/pressidium-cookie-consent/wiki)
   to learn more about how to prevent scripts from running and conditionally execute
   them.
 * ![](https://i0.wp.com/ps.w.org/pressidium-cookie-consent/assets/screenshot-10.
   png?ssl=1)
 * To give an example, blocking scripts for Google Analytics would look something
   like this:
 *     ```wp-block-code
       | Script Source                                    | Cookie Category | Is Regex? ||--------------------------------------------------|-----------------|-----------|| ^(?:https?:)?\/\/(?:www\.)?google-analytics\.com | Analytics       | Yes       |
       ```
   
 * **Advanced consent mode**
 * When you implement consent mode in its **advanced version**, Google tags load
   when a user opens the website, and do the following:
    1. Set default consent states
    2. 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**.
 * ![](https://i0.wp.com/ps.w.org/pressidium-cookie-consent/assets/screenshot-8.
   png?ssl=1)
 * 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”.
 * ![](https://i0.wp.com/ps.w.org/pressidium-cookie-consent/assets/screenshot-9.
   png?ssl=1)
 * If you’re using Google Tag Manager, you’ll also need to add [our GTM template](https://tagmanager.google.com/gallery/#/owners/pressidium/templates/pressidium-cookie-consent-gtm-template)
   to your workspace.
 * You can learn more about Google Consent Mode at [https://support.google.com/google-ads/answer/10000067](https://support.google.com/google-ads/answer/10000067).
 * ![](https://i0.wp.com/ps.w.org/pressidium-cookie-consent/assets/screenshot-3.
   png?ssl=1)
 * In both cases, you need to list any cookies related to the Google Analytics service,
   under **wp-admin → Cookie Consent → Cookies**.
 * That would look something like this:
 *     ```wp-block-code
       | Name  | Domain      | Expiration | Path | Is Regex? ||-------|-------------|------------|------|-----------| | _gid  | example.com | 1 day      | /    | No        || _ga   | example.com | 2 years    | /    | No        || ^_ga_ | example.com | 1 year     | /    | Yes       || _gat  | example.com | 1 minute   | /    | No        |
       ```
   
 * Keep in mind that the values provided are just examples, and your configuration
   may vary.
 *  Thread Starter [alcain](https://wordpress.org/support/users/alcain/)
 * (@alcain)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/need-an-example-cookie-config-screen/#post-18172096)
 * Thanks ever so much for posting this – I had worked out some of it, but a real
   help.
 * Thanks for a great plugin 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Need an example cookie config screen’ is closed to new replies.

 * ![](https://ps.w.org/pressidium-cookie-consent/assets/icon-256x256.png?rev=2928033)
 * [Pressidium Cookie Consent](https://wordpress.org/plugins/pressidium-cookie-consent/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pressidium-cookie-consent/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pressidium-cookie-consent/)
 * [Active Topics](https://wordpress.org/support/plugin/pressidium-cookie-consent/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pressidium-cookie-consent/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pressidium-cookie-consent/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [alcain](https://wordpress.org/support/users/alcain/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/need-an-example-cookie-config-screen/#post-18172096)
 * Status: resolved