I have installed piwik 1.3 in my webspace and successfully finished the setup steps. I copied the piwik tracking code to my website and internet explorer visits are counted. All other browsers are not counted. Do you have any idea whats wrong?
Piwik is installed below /piwik/ on my site. I have enabled only anonIP plugin, all others were enabled by default.
it works for all browsers, so the document.write(…) seems not to work properly. pkBaseURL is set correctly. But this would mean that i’m not the only one with this issue…
Any comments?
If your site isn’t viewable via https, then you can certainly load piwik.js explicitly.
If your site is viewable via http and https, and document.write isn’t working, then check for unbalanced tags elsewhere in your page. Otherwise, use the DOM method to add a script tag to load piwik.js. There’s an example of this using the asynchronous tracking method. http://piwik.org/docs/javascript-tracking/#toc-asynchronous-tracking