Visit/Hit counter for individual posts of blogger blog

Instructions To no Follow:
Log in to Blogger, go to Layout -> Edit HTML
and mark the tick box "Expand Widget Templates"

Now find (CTRL+F) this code in the template:
<div class='post-header-line-1'/>
And immediately after it, paste this code:

<b:if cond='data:blog.pageType == &quot;item&quot;'> <div id='hit-counter'> &lt;a href=&#39;&#39; rel=&#39;no follow&#39;&gt; <script src='' type='text/javascript'/> Times Visited &lt;/a&gt; </div></b:if>

You can change red text to - Viewed / Visits etc.

Now click Save Template

Post a Comment