Just woundering if the {hits} function has a privilage to stop users from just hitting refresh on the broswer to increase page views?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
May 18, 2010 4:42am
Subscribe [2]#1 / May 18, 2010 4:42am
Just woundering if the {hits} function has a privilage to stop users from just hitting refresh on the broswer to increase page views?
#2 / May 18, 2010 5:35am
Hi Nick,
The hits counter isn’t really suited for tracking unique page views… I think you’re better off using some kind of statistics tool for that, like Google Analytics.
The hits counter doesn’t even track views for a particular page, but just how many times a certain template has been loaded. You could use the views variable for that which is available in the weblog:entries loop.
Greetz,
Wouter