• Resolved normski52

    (@normski52)


    Hello.
    How do I decide which cookies are necessary and which are not? And how do I add them to the plugin set up?
    Many thanks
    Normski

Viewing 4 replies - 1 through 4 (of 4 total)
  • MA

    (@gasparnemes)

    Hi there,

    You have to check the cookies stored in your browser by your website, and based on the cookie names, you can easily find on google the scripts that create the cookie. Eg.: if you see under your site _ga, _gid, etc these are related to Google Analytics. So in this case you have to remove the Google Analytics tracking code from the code and add to the GDPR plugin settings under thrid-parties scripts.

    Read more about how to find cookies stored in your browser here:
    https://kb.iu.edu/d/ajfi

    I hope this helps.

    Thread Starter normski52

    (@normski52)

    Hello, Gaspar. Many thanks for your response. I can find the cookies. The difficulties I am having are (1) knowing which are ‘strictly necessary’ and which are not and (2) how to add the cookies to the plugin settings. Could you post a sample screenshot of a completed third party cookies page so I can see what I should be entering? Thanks again Normski.

    Thread Starter normski52

    (@normski52)

    Further to my post above for google analytics cookies do I add “ga, _gat and _gid” to the section headed “The below script will be added to the page FOOTER section if user enables this cookie.” ?

    • This reply was modified 6 years, 10 months ago by normski52.
    MA

    (@gasparnemes)

    Hi there,

    Sorry for my late reply on this, you can add the Google Analytics script to the 3rd party -> Header scripts section. Below you’ll find an example GA script:

    <script type="text/javascript">
    
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-XXXXX-X']);
      _gaq.push(['_trackPageview']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'https://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    
    </script>

    Note: After adding a script to the GDPR plugin, you have to remove the hardcoded script from the code, or if you’re using other plugin to add scripts to header and footer, remove the GA script from this plugin.

    If you’re not familiar with this, please ask your developer to setup the plugin for you and to remove the scripts from your theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help needed to set up’ is closed to new replies.