seafoid
(seafoid)
November 15, 2009, 9:40am
1
Hi,
Yesterday, I’ve installed Piwik on my server and integrated the tracking code in my web site. Today, Piwik stills displays no data (see the screenshot I’ve attached) and the date it displays is still 11/14/2009. I’ve double-checked the JavaScript code. It’s definitely the right one.
Any idea what the problem might be?
Thanks in advance,
Martin
vipsoft
(vipsoft)
November 15, 2009, 3:47pm
2
vipsoft
(vipsoft)
November 15, 2009, 3:48pm
3
seafoid
(seafoid)
November 15, 2009, 7:53pm
4
Thanks, but I’ve already tried all that.
But there’s a thing I’ve just found out…
This is the JavaScript code I’ve added to my web site.
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ?
"https://seafoid.org/piwik/" : "http://seafoid.org/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js'
type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img
src="http://seafoid.org/piwik/piwik.php?idsite=1" style="border:0"
alt=""/></p></noscript>
<!-- End Piwik Tag -->
Now, I’ve tried to open the address from the “noscript” part manually
http://seafoid.org/piwik/piwik.php?idsite=1
If I do that, the views will be counted. So this must be a problem with the JavaScript I suppose? Do any of you see a mistake in there?
Best regards,
Martin