Friday, April 5, 2013

How To Add Post/Page Views Counter to Blogger

How To Add Post/Page Views Counter to Blogger

This trick is very important if you want to show your blogger post page views to your visitors.I found this tip from here.
1.Login to your blogger dashboard--> layout- -> Edit HTML
2.Click on "Expand Widget Templates"
3.Scroll down to where you see below code:
<div class='post-header-line-1'/>
4.Now below code and paste it just below the above code.
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='hit-counter'>
<a href='http://csharpdotnetfreak.blogspot.com' rel='follow'/>
<script src='http://www.amitjain.co.in/pageview.php' type='text/javascript'/>
</div></b:if>
NOTE: If you can't find <div class='post-header-line-1'/> in your template paste above code just before <data:post.body/> .
5.Now save your template and you are done.

No comments:

Post a Comment