Hi!
I’ve recently noticed that Piwik stopped tracking all of my sites. Some had WP-Piwik plugin, but others (non-WP sites) had the javascript code. After investigating a bit I came to realize there’s a common reason. Piwik stopped working it the url parameter of the GET request has http:// in the start.
For example I get this error in Chrome console:
GET http://piwik.gligoran.com/piwik.php?action_name=Goran%20Gligorin&idsite=3&rec=1&r=982635&h=23&m=5&s=37&url=http%3A%2F%2Fwww.gorangligorin.com%2F&_id=/../&res=1920x1200 403 (Forbidden)
I’ve removed a part of the link for security, but it has the important parts (if not, say so and I’ll provide more data).
Anyway, if I put this entire link into the browser I get the 403 error, but if I remove the http%3A%2F%2F (which is http:// in unencoded form), the request goes through successfully. This same reason caused WP-Piwik to malfunction, but there I was able to fix it on the plugin side. I can do this for the JavaScript tracking code, as the error appears to be somewhere deep in the code.
Please fix this as soon as possible, so I can track my non-wordpress sites normally. To get this fixed ASAP, I would ask you to post where and how in the code I can correct this myself, so I don’t have to wait for the next release.
Thank you,
gligoran