ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

{hits} question

May 18, 2010 4:42am

Subscribe [2]
  • #1 / May 18, 2010 4:42am

    Nickm1234

    5 posts

    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

    Wouter Vervloet

    758 posts

    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

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases