How To Add Post/Page Views Counter to Blogger

Posted by Lasantha Bandara on September 9th, 2009 File Under : post, widget8 Comments

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.

File Under : post, widget

8 Responses to “How To Add Post/Page Views Counter to Blogger”

  1. usong725 says:

    Here's the updated version. You can use it to display how many times individual post was viewed in your home page.

    http://freeincomeopportunities.blogspot.com/2010/01/blog-post-view-counter-in-home-page.html

  2. SymbianFile says:

    Not works
    http://www.amitjain.co.in/pageview.php is missing

  3. Eko Susanto says:

    this script don't work

  4. vorobushek says:

    for me, it works. Is it possible to change the language displayed (e.g. instead oа "15 Views" to display "15 показов"?

  5. dragg8 says:

    Thanks
    http://radiotvpilipinas.blogspot.com/

  6. Stash says:

    you can visit my site too 🙂 thanks!

    http://ph-noob.blogspot.com/

  7. Walking Dead says:

    Oh boy... it doesn't work anymore.
    Where can I find a similar script please?

  8. Jayr says:

    Yes! Finally I found this widget, thanks dude for sharing this, I'm going this on my blog post.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.