Cookie bad request (4 posts)

  1. wksuper
    Posted 2 years ago #


    We are using version 0.9.5. of WP-Piwik. It has worked great before, but just recently, we are experiencing problems with Bad Request 400 errors due to the fact that the browser is getting a very large cookie. We have a multisite WordPress installation. All the cookie values from different blogs seems to be placed in the same cookie? Do you have any idea on how to solve this issue. Help is greatly appreciated.

    Here is a small portion example of the cookie:

    _pk_id.4.dae7=8f095bb3a9594a6d.1359636247.21.1363186377.1363179753.; _pk_id.238.dae7=143cea78fc4a62c6.1359636299.1.1359636892.1359636299.; _pk_id.1458.dae7=0d8a036a7061a9cc.1359636897.1.1359637860.1359636897.; _pk_id.16.dae7=491a0abcf292a5cf.1359636906.2.1359980361.1359636906.; _pk_id.1863.dae7=5d2bcfa219a068f3.1359636910.1.1359637969.1359636910.;
    _pk_id.51.dae7=480b7f016d509040.1359628830.1.1359628878.1359628830.; _pk_id.50.dae7=d537dffcb0841176.1359628959.7.1363341532.1363271562.; _pk_id.9.dae7=7f44c410aee8adbc.1359628979.5.1363184135.1361871171.;


  2. braekling
    Plugin Author

    Posted 2 years ago #

    Looks like a Piwik issue, because the cookie is set by Piwik (WP-Piwik adds the tracking code only).

    See http://dev.piwik.org/trac/ticket/2453

    Note: If you are using the latest Piwik release, you should update WP-Piwik, too.

  3. wksuper
    Posted 2 years ago #


    Thank you for the quick reply. It seems to be a wordpress multisite issue, because each blog gets its own set of cookie values and they are stored in a single cookie making it very large. setCookiePath('/something') seems to be the solutions, to make each blog have its own cookie.


  4. braekling
    Plugin Author

    Posted 2 years ago #

    Next week I'll have a look at this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Piwik
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.