Quantcast
Viewing all articles
Browse latest Browse all 4243

New install of 2.0.3 not recording page views (4 replies)

Hi,

I've just installed 2.0.3 on my localhost website (a static html website) and the installation went through without a hitch.

I've cut and paste the tracking code into a footer file yet no tracking occurs. All reports on the dashboard are empty.

I created a new html page with just the tracking code, so literally

<body>
<tracking code>
</body>

And this didn't work.

Having read some other posts with a similar issue I enabled debugging inside piwik.php

The debug message is

Debug enabled - Input parameters: <br/>array ( 'idsite' => '1', )
Loading plugins: { Provider,Goals,PrivacyManager,UserCountry,Login,UsersManager,SitesManager }
Current datetime: 2014-03-04 19:46:42
GET parameter rec not found in URL, request excluded
'rec' parameter not found.
Visitor excluded.
-> Scheduled tasks not triggered.
Next run will be from: 2014-03-04 20:19:57 UTC
Nothing to notice => default behaviour
End of the page.


when I browse to the new page with just the tracking code.

I dug into the php code and found the parameter message inside VisitExcluded.php at line 67.

The comments above the code

/*
* Requests built with piwik.js will contain a rec=1 parameter. This is used as
* an indication that the request is made by a JS enabled device. By default, Piwik
* doesn't track non-JS visitors.
*/


imply that this parameter (rec) is missing on non-JS visitors.

JS is enabled on my desktop.

Any help on this?

John

Viewing all articles
Browse latest Browse all 4243

Trending Articles