I’ve just implemented EE’s Entry “Views” Tracking Tag.
Documentation can be found here:
On my single entry template I have:
{exp:weblog:entries weblog="articles" entries limit="1" track_views="one"}And on multiple listing page which displays entry summaries I have:
{exp:weblog:entries weblog="articles" display_by="week" week_sort="desc" show_current_week="yes" start_day="Sunday" limit="3"}
<h3 class="leadArticle"><a href="http://{title_permalink=site/article_page}">{exp:char_limit total="40"}{title}{/exp:char_limit}</a></h3>
<span class="view_count">{if view_count_one == 0}(no views){/if}
//View Count
{if view_count_one == 1}({view_count_one} view){/if}{if view_count_one > 1}({view_count_one} views){/if} | //End View Count
<span class="comment_count">{comment_total} comments</span></span>by: {articleAuthor}
{if articleImage ==""}{articleSummary}<a href="http://{title_permalink=site/article_page}">...more</a>{if:else}
{articleImgThumb}
{articleSummary}<a href="http://{title_permalink=site/article_page}">...more</a>{/if}
{/exp:weblog:entries}For some reason, when I view an entry, it registers 2 view.
Any Idea how to correct?