I’ve installed Piwik on two websites and it’s giving me a lot of interesting data. The only significant problem I have is that neither installation seems to be collecting data on outlinks.
According to what I’ve read in the documentation, anything to a different domain should automatically be counted as an outlink, but that’s not happening. I’ve even tried specifically giving links the piwik_link class, but to no avail.
Presumably whatever I’ve done wrong, I’ve done wrong on both installations; can anybody suggest anything I can do to isolate where the problem is? At the moment I’m stuck for any ideas as to how to run diagnostics on the installations.
Same problem for me… but I upgraded from 0.2.28. With 0.2.28: no problem, since I upgraded, I have no data in Outlinks widget.
URl for the site: http://www.angrymum.com
vipsoft, I believe you already know this, but one way of debugging if the outlink tracking works is to look with Firebug and see if you see the http request to Piwik when clicking on the link; if you can’t see the request then the problem is on the JS side.
But I’m fairly certain the problem lies in prototype. As soon as I include prototype.js, I see the error “alias.substr is not a function” in the Error Console on outlinks.
I made two things and it seems to work now (don’t know if both are necessary):
I went back to 0.2.28: outlinks worked again.
I put again 0.2.30 and moved the piwik javascript code from end of body section to head section: work also.
Is the position of the Piwik Javascript code the problem?
You may have to clear your browser cache and/or touch piwik.js, so that your browser doesn’t use an old, cached version.
If that doesn’t resolve the issue, please provide a URL to a page with the piwik tracking code setup for your site. This should have been fixed by 0.2.32, so if you’re experiencing this symptom, it’s likely a new problem.