Support » Plugin: Cookies and Content Security Policy » The plugin doesn’t block google analytics

  • Resolved elenafernandez

    (@elenafernandez)


    Hi, thank you so much for the plugin. I love it!
    But, i have a problem.
    I’ve configured google analytics in my site. I’m testing it. When I block all cookies in my website, when I browse by the site, google analytics cookies appears. How Can I fix it? Thank you so much.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Johan Jonk Stenström

    (@jonkastonka)

    From what I can see, you are not using my plugin.

    But if you tried it and deactivated it, the problem could be that you have old cookies still in your browser. Try to remove all cookies, and then block all cookies again, and the should not be set.

    I am struggling with this too. I use a plugin for adding the GA script (GA Google Analytics from Jeff Starr)
    I have added the domains for Google Tag Managet and Google Analytics of course.
    It looks like the his script runs before the Cookie blocking script and can not block it¿?
    Is there somethig I am missing?

    The page I need help with https://rosasanz.es/

    Thread Starter elenafernandez

    (@elenafernandez)

    @conpundonor I found another plugin that works.

    Plugin Author Johan Jonk Stenström

    (@jonkastonka)

    @conpundonor No, that’s not possible. Where have you added domains for Google Tag Manager and Google Analytics? If you have added them to Always allow, they will be allowed always, before any choise has been made and no matter what the user chooses in the end too.

    I used the Quickstart tool.
    With every test I empty cookies from chrome inspector tool.

    I’ve just tested another site I manage. sazoncomida.com, same problem with google scripts. In this site the we use Google Tag Manager. Could it be couse google scipts are created dinamicly or something ¿?

    In both sites: sazoncomida.com and rosasanz.es

    Always Allow is empty

    Statistics scripts have:

    https://google-analytics.com/
    https://*.google-analytics.com/
    https://googletagmanager.com/
    https://*.googletagmanager.com/

    Statistics images have:

    https://google-analytics.com/
    https://*.google-analytics.com/

    Marketing scripts:

    https://googletagmanager.com/
    https://*.googletagmanager.com/
    https://tagmanager.google.com/
    https://google.com/
    https://*.google.com/
    https://googleadservices.com/
    https://*.googleadservices.com/
    https://googleads.g.doubleclick.net/
    

    Marketing images:

    
    https://googletagmanager.com/
    https://*.googletagmanager.com/
    https://gstatic.com/
    https://*.gstatic.com/
    https://googleads.g.doubleclick.net/
    https://google.com/
    https://*.google.com/
    

    Marketing frames:
    https://bid.g.doubleclick.net/

    Moderator Yui

    (@fierevere)

    ゆい

    @conpundonor

    You should have opened your own topic with this issue.

    So please do so, closed as per Forum FAQ

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The plugin doesn’t block google analytics’ is closed to new replies.