Statpress / Piwik: different results

I’m trying to switch from Statpress to Piwik, and I’m running both to compare. I’ve noticed that the results are differents on the visitors number (statpress report more visitors than piwik).

Any clue of why? I’ve think of adbock and renamed piwik.js and piwik.php (and hacked whenever necessary).

ok, for today: 5 visitors in piwik, 47 in statpress…

I give up on piwik style_emoticons/<#EMO_DIR#>/sad.gif

http://piwik.org/faq/troubleshooting/#faq_50

Geob,

Are you using the compressed Javascript method or happen to have mod_security installed on your server? I was having both problems.

Mod_security sometimes block the execution of the tracking script, so I had to disable it for the Piwik folder.

Also, the compressed javascript option was not being read successfully on Internet Explorer. Maybe this has something to do with my server config.

Anyway, after removing mod_security and reverting back to the simple javascript tracking code, all my visits are being recorded, usually within less than 5% of difference to Google Analytics and Clicky.

Cheers,

thanks for the faq pointer.

I don’t use mod_security nor compressed js but I do use “js/”

Geob,

/js redirects the javascript file through the index.php handler on that directory, which applies the compression to the file. Try loading that URL on Internet Explorer to see if it loads right. In my case it didn’t. Also try using the complete URL for the javascript file - http:// yourdomain.com /piwik_path/js/piwik.js - so you avoid compressing the file. I bet that’s the problem.

Cheers,

Yes, there’s a bug in how I compress piwik.js when it’s served up to IE. Julien has found a fix (and done some refactoring as well as other improvements), so I expect it’ll be in the 1.1 release.

ok I’ll wait for it style_emoticons/<#EMO_DIR#>/smile.gif