Hits Documentation

Count Hits Tags Tag

{exp:hits:count_hits}

This tag counts the hits received. It will do it’s best to ignore the most popular search engines. You will place this tag only on Single Entry Pages, sicne you only want to count the hits for a single entry at a time right?

Parameters

You need to specify one of the following item id’s

Parameter Description
entry_id=”“ For Channel Entries
url_title=”“ For Channel Entries
category=”“ For Channel Categories (the url_title)
category_id=”“ For Channel Categories
ci_id=”“ For Channel Images
cf_id=”“ For Channel Files
cv_id=”“ For Channel Videos
br_id=”“ For BrilliantRetail

IMPORTANT: You MUST use one of the above parameters.

Example

1
2
3
4
5
6
7
{exp:channel:entries channel="blog"}
 
        {exp:hits:count_hits entry_id="{entry_id}"}
 
        <h2>{title}</h2>
        {body}
{/exp:channel:entries}

Support

Having problems setting up and/or using Hits? Support is offered from 10am to 4pm EST weekdays. Send us an email at help@eeharbor.com and we will respond as quickly as we can.