Support » Plugin: WP-Matomo (WP-Piwik) » [Plugin: WP-Piwik] Disable cookies: Disable all tracking cookies for a visitor does not seem to wor

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author braekling


    Please have a look at your tracking code. Does the following line appear?


    Did you clear your browser’s cookies before testing?

    Sorry for my late reaction, I did not receive a notification of your comment.

    I see the script code in the html, but ghostery still reports a tracking cookie.

    I am using piwik 1.8.2.

    Plugin Author braekling


    I had a look at my own blog and it seems to be fine. Does the line appear before piwikTracker.trackPageView()?

    Did you clear your cache?

    Are you sure the reported tracking cookie was set by your Piwik tracking code? (Maybe it’s another site’s tracking code? Maybe it is your Piwik dashboard login cookie or something similar?)

    If you are sure your Piwik still creates a cookie although the tracking code is modified correctly by WP-Piwik, please report this to the Piwik team:

    I logged out, removed all the cookies. But still the cookie appears. And yes, I am sure there is no other site involved… I will cross-reference with the code from your site.

    This is the generated code, by the plugin:

    <script type="text/javascript">
    var pkBaseURL = (("https:" == document.location.protocol) ? "" : "");
    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
    </script><script type="text/javascript">
    try {
      var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
    } catch( err ) {}
    </script><noscript><p><img src="" style="border:0" alt="" /></p></noscript>
    <!-- End Piwik Tracking Code -->

    Exactly the same code as on your site, and ghostery does not report a tracking cookie there. Are you using the latest Piwik version?

    Plugin Author braekling


    I’m using the latest stable (1.8.2). You are not using “js/index.php”, please activate this in tracking settings and try again.

    Please report your issue to the Piwik team, even if activating js/index.php works. So they can have a look at this issue and maybe fix it.

    Yes, that was it! Will report it to the Piwik team. Thanks for your help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP-Piwik] Disable cookies: Disable all tracking cookies for a visitor does not seem to wor’ is closed to new replies.