16 April 2010

Visit/Hit counter for individual posts of blogger blog.


Visit/Hit counter for individual posts shows how many time a post is visited/viewed.

Live Demo.

Let's add this feature to your blog

Go to Dashboard > Layout > Edit HTML > Expand Widget Templates and look for

<div class='post-body entry-content'>

Now add following code BELOW it.

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

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

Related Posts

1 comment

September 17, 2011 at 2:06 PM

didn't work. did not appear on Preview, nor with blogger edit closed. So, removed html markup. sorry

Post a Comment


Twitter Delicious Facebook Digg Stumbleupon Favorites More