I need to disable cookies in order to avoid having to place an annoying opt in message on our website.
i’ve found a post that suggests that it’s possible to do this but the instructions are a bit vague “disable setcookie in piwik.js”…
i have done this in pwik.js and /js/piwik.js but for some reason i still get cookies in my browser. (so i’ve probably done something / missed something)
can someone provide some additional info about disabling cookies used with Piwik? (step-by-step instructions would be great, many people must want to do this now)
Many thanks in advance for your help, keep up the great work!
i’ve done a lot of digging and there are few (if any) practical solutions to this issue.
the business man in me says there’s a huge (read HUUUUUGE) opportunity for piwik to up their market share if they had come up with a soluton to this issue…
This is rather good news! I downloaded the RC and had a go, but I’m not too sure what I’m doing to be honest.
I added piwikTracker.disableCookies(); to the tracking code but no difference, it still places cookies.
I then replaced the minified piwik.js with the source found at js/piwik.js and changed configCookiesDisabled to true, sure enough this disabled cookies but it also stopped any data coming in
Edit: Got it. You have to put disableCookies BEFORE trackPageView. If you put it after, it doesn’t work.