Title: Config help needed!
Last modified: May 25, 2018

---

# Config help needed!

 *  Resolved [merock](https://wordpress.org/support/users/merock/)
 * (@merock)
 * [8 years ago](https://wordpress.org/support/topic/config-help-needed/)
 * Hi guys, thanks for your time to give me a hand with this, sincerely.
 * So, as far as I know/understand. The user needs to be capable to activate/deactivate
   the cookies I use on my site at any time. For this, I need to know what cookies
   my site uses and then find a script for any of this cookie and paste it in the“
   Aditional cookies” Head section, right?….
 * In this case, how can I know what cookies am I using on my website and where 
   do I get this scripts from…?
 * Sorry about asking this, may sound very n00bish everything but I really feel 
   insecure about setting this up correctly.
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconfig-help-needed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Joe Hana](https://wordpress.org/support/users/joehana/)
 * (@joehana)
 * [8 years ago](https://wordpress.org/support/topic/config-help-needed/#post-10321012)
 * First of all the code you’re pasting is actually not the cookie. The code you’re
   pasting is from GA and enables much more functionality, but easily said it builds
   a connection to GA. GA then puts a cookie on the visitors browser through your
   site.
 * So this plugin basically executes the code based on the visitors choice of enabling/
   disabling cookies.
 * I’d recommend to better have a look via Google about ways to identify what cookies
   you’re site are using but for now you can simply visit your website and inspect
   it with the element inspector (right click > element inspector) and then browse
   to the sources tab to see what sites are having a connection with yours. You 
   can also install Ghostery plugin for chrome for example to see that. From what
   I saw so far you’re using Google Analytics and the Facebook Pixel. Then the chat(
   Tidio) is also working quite the same way as GA works. But again, best would 
   be to google after it and see what you need to do since every website is individual
   there is no “one-rule-for-everything”. In worst case you might better consult
   someone to do this for you.
 *  [MA](https://wordpress.org/support/users/gasparnemes/)
 * (@gasparnemes)
 * [8 years ago](https://wordpress.org/support/topic/config-help-needed/#post-10361071)
 * Hi There,
 * Thanks for your comments. You can setup the plugin in the CMS -> Settings -> 
   GDPR Cookie. In the general settings, you can setup the branding, and other elements.
   To add the Google Analytics, you can enable the “3rd Party Cookies” tab but selecting
   the “Turn” radio value to “ON”. At the bottom of the “3rd Party Cookies” tab 
   you’ll find 3 sections to add scripts. First will be added to the <head> section
   before the <body> tag, the middle one will be added after the <body> tag and 
   the last on before the </body> closing tag (footer).
    You can get your Tracking
   code from your Google Analytics account, read more about how to get the tracking
   code: [https://support.google.com/analytics/answer/1008080?hl=en](https://support.google.com/analytics/answer/1008080?hl=en)
 * You you’ll get a script like this, where the GA_TRACKING_ID is your property 
   ID:
 *     ```
       <!-- Global Site Tag (gtag.js) - Google Analytics -->
       <script async src="https://www.googletagmanager.com/gtag/js?id=GA_TRACKING_ID"></script>
       <script>
         window.dataLayer = window.dataLayer || [];
         function gtag(){dataLayer.push(arguments);}
         gtag('js', new Date());
   
         gtag('config', 'GA_TRACKING_ID');
       </script>
       ```
   
 * Once you have the script with the replaced GA_TRACKING_ID, you can add it to 
   the first script section which will be added to the <head> section of your website.
   The field name is: **The below script will be added to the page HEAD section 
   if user enables this cookie.**
 * Save the options, and test the implementation.
 * I hope this helps.

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

The topic ‘Config help needed!’ is closed to new replies.

 * ![](https://ps.w.org/gdpr-cookie-compliance/assets/icon-256x256.png?rev=2376316)
 * [GDPR Cookie Compliance - Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law](https://wordpress.org/plugins/gdpr-cookie-compliance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-cookie-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-cookie-compliance/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [MA](https://wordpress.org/support/users/gasparnemes/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/config-help-needed/#post-10361071)
 * Status: resolved