So, uhm, how long before stats start showing up?

I installed a copy of piwik on my server and pasted the javascript generated to several pages on my website at the end of my html just before the . I am wondering how long it takes before I start seeing hit results in piwik.

Is there a way to test the file (a la google) to see that the file is reporting properly?

TIA,
Tim

You could show us your url to see if the code is properly added.
I think usually the data should appear in an hour, at most in a day (depending on your settings).

It has been 36 hours since I installed piwik. Here is the link to one of the pages that has the javascript pasted: http://www.timothymui.com/index.html

Well, if you look at the page you get a big fat javascript error message


Error: unterminated string literal

so you can wait forever.
You should paste the code without modifications. At least linebreaks were added by you or your editor.

Thomas, thanks for the response. I copied and pasted exactly as the javascript was displayed in Chrome.

I am using Google Chrome and it appears to be loading from cache even when I force a reload. Could you provide me a screen capture or paste more information here for me?

Tim

Ok. I did some testing with various pages using variations of the following:

One page with my original Google javascript and the piwik javascript. Results: No detection
One page with no Google javascript and the piwik javascript. Results: No detection
One page with no Google javascript and repasted piwik javascript: Results: No detection
One page with no Google javascript and piwik image link: Results: Detection, but limited info.

So, what am I doing wrong? Advice on this would be appreciated.

This is the page with only the piwik javascript: http://www.timothymui.com/Contact.html

IE8 loads the page and reports an error:


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; AskTbARS/5.8.0.12304)
Timestamp: Mon, 13 Dec 2010 23:29:31 UTC


Message: Unterminated string constant
Line: 95
Char: 67
Code: 0
URI: http://www.timothymui.com/Contact.html

That corresponds to the line with the document.write. This should be one line, not two:


document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));

That fixed my issue. Thanks vipsoft!

I don’t know how much a Labatt’s Blue costs anymore, but hope that helps.