Support » Plugin: GDPR Cookie Compliance » Config help needed!

  • Resolved merock

    (@merock)


    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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Joe Hana

    (@joehana)

    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.

    Plugin Author Gaspar Nemes

    (@gasparnemes)

    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

    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.