Blogger Page Views Post View Hit Counter

Blogger Page Views Or Post View Hit Counter To Count how many times a post has been viewed.

Several times bloggers like to count how many times any post or articles on blog has been read.

But blogger doesn't provide any way for counting page views or any post hit counter widget

I've written a hit counter script for blogspot bloggers to count page / post views or hits and sharing it with everyone who needs it



to put page views counter in all posts of your blog , follow these steps

Just click on button below to add this counter





Second Method.

1. Login to Blogspot -> Dashboard -> Layout -> Edit HTML

2. click on expend widget Templates

3. find below mentioned line of code

<p><data:post.body/></p>

Now paste below mentioned code above this line

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


4. Save your template

Third Method.
If you don't want to edit html code than you can put this counter in sidebar of your blog.

For this Go to Layout > Click on Add a Gadget

Select HTML/Javascript

Now copy and paste below mentioned code in the box
<a href="http://csharpdotnetfreak.blogspot.com"><script src='http://amitjain.in/pageviews.php' type='text/javascript'/></a>

Click on Save.

Test the post views counter, leave me a comment if you like it or having any problems in installing it


Have fun

222 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. wow
    Great hack for blogger
    i will try it
    http://bloggeronline.net

    ReplyDelete
  3. amiT: sorry you, i haved changed to keep the credits and code intat.

    Thank you very much.

    Please chưck it in http://www.vnpressnet.com/2009/05/thu-thuat-blogspot-tien-ich-em-so-luot.html?showComment=1243851318311#c9203658755502955949

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete
  6. AmiT.Its nice. But a prob.I hope,you clear that.In my blog i have used this.And its working fine [credits to you man] .But the issue is ,i have added "readmore" widget also.So its showing the count only after clicking "readmore".Its not showing views, in the main page.Any idea man,how to make it ok?

    ReplyDelete
  7. @sanker:

    Tha's not feasible because of restrictions of blogger , i tried but results were not desirable as blogger doesn't provide too many APIs for coders.

    Any way i guess it must be working fine when perticular page loads

    ReplyDelete
  8. Hey buddy. Thnx for visiting my blog. I have to tell you that I have reviewed your pageview counter at my blog but it stoped working, so I removed your link and put other pageview counter. Is it working now???

    Greetings from http://www.blogalit.com

    ReplyDelete
  9. @Albanicus:

    I was having some issues with hosting provider , so counter was not working for some time ,

    Issue is resolved now , and counter is working fine :)

    ReplyDelete
  10. hi! your counter is better, thanks.:))

    ReplyDelete
  11. Thank you amiT jaiN !
    hop you find a way to get this count visits not views .
    And thank you again for your great blog !

    ReplyDelete
  12. @seema gupta ji and karthik:

    Thanks a lot for appreciation :)

    ReplyDelete
  13. This comment has been removed by a blog administrator.

    ReplyDelete
  14. Can you plesae give me its open source code?

    ReplyDelete
  15. @Shailesh Bharatwasi:

    You can use this page views counter on your blog or site, if you want some changes in displayed text or a custom counter , than feel free to ask, i'll provide you a counter according to your needs :)

    ReplyDelete
  16. thanks for that post
    www.savryshare.com

    ReplyDelete
  17. hi there, I already use this one before but it seems that it doesnt count anymore.. If youll check one of my blog pages, youll just see the word 'Views' but the number before it doesnt show anymore....

    ReplyDelete

  18. @Fjordan Allego: Please re-install the counter on your blog again as mentioned above , it will surely work ,

    ReplyDelete
  19. This comment has been removed by a blog administrator.

    ReplyDelete
  20. This comment has been removed by a blog administrator.

    ReplyDelete
  21. /pageview.php to file plz

    ReplyDelete
  22. Thank you so much for the counter! It's the best one I've seen, and the only one working for my blog. You rock!

    ReplyDelete
  23. @demented dragonfly :

    Thanks for the appreciation :)

    ReplyDelete
  24. Publish code which is working!

    ReplyDelete
  25. @Above:

    Please let me know which code is not working for you ?

    ReplyDelete
  26. do u have the top post from these widget?

    ReplyDelete
  27. hi.. thanx for code. that works fine. can you modify it so, that everybody can replace the word "view(s)" with some of from his own language?

    ReplyDelete
  28. very nice Blog...
    Regards
    ------------
    Film izle | Sohbet | muhabbet

    ReplyDelete
  29. thank for this, just what I've been looking for

    ReplyDelete
  30. @Toadlink.com:

    You are welcome [:)]

    Keep visiting

    ReplyDelete
  31. Excellent..I like your work.Seo is a raging fact in these days.As matter of fact traffic is really connected with page rank ,creating and adding new pages to increase a site's total PageRank so that it can be channeled to specific pages, there are certain types of pages that shouldnotbe added

    ReplyDelete
  32. (data:post.body/) can not find this html in my Blogspot -> Dashboard -> Layout -> Edit HTML. And can't work stap 4. Plz help me.
    mail. jewelfuji@yahoo.com
    My site. http://downloadbazarbd.blogspot.com

    ReplyDelete
  33. @Above :

    Please follow these steps

    Go to Dashboard -> Layout -> Edit HTML > Click on Expand Widget Templates CheckBox

    Now search for Data:Post.Body

    And follow steps mentioned in article.

    Other wise u can click on Add this widget to your blog Button in top of article to add it to your blog automatically, u won't be needing to edit any html code.

    and you can drag and place this widget where ever u want in ur blog by going to Layout


    do let me know if it solves your problem or not ?

    ReplyDelete
  34. This comment has been removed by a blog administrator.

    ReplyDelete
  35. This comment has been removed by a blog administrator.

    ReplyDelete
  36. thx for the script..
    But I got some problem when opening my blog using Opera 10.
    The browser will be not responding.
    Can you help me?
    My blog is http://rosadora.blogspot.com

    Thank you.

    ReplyDelete
  37. It seems to be working fine for me. Took me a while to find just a simple view counter like this for my blog - all the others want to tell you where people viewing you are from, what their IP address is etc.
    Thanks

    ReplyDelete
  38. i had a problem with this but i guess i can live with it. thx btw

    http://unlimovie.blogspot.com

    ReplyDelete
  39. This comment has been removed by a blog administrator.

    ReplyDelete
  40. This comment has been removed by a blog administrator.

    ReplyDelete
  41. I have pasted in my blog but unable to see any result... And where i will be able to see the counter as it is not visible??? and How can i check it ... My blog is

    http://bestptc123.blogspot.com/

    ReplyDelete
  42. i want to use it.is this also applicable to wordpress blogs? thanks

    ReplyDelete
  43. hey i'm having a slight problem.

    for some reason, the counter is counting the views of all my pages altogether (i.e. the page view number is the sum of total page views).

    my website: http://t20vid.blogspot.com

    plz get back to me asap

    ReplyDelete
  44. sir why the counter is not visible to my site after 2500views? please help me to fix the problem. thank you http://www.juan3.com

    ReplyDelete
  45. Hi amiT jaiN,

    I am Duong from Vietnam, this is very great script blog entry pageview. I love this script so much, easy to use.

    I'd be grateful if you can give out source code file pageview.php

    Many thanks,
    Duong

    ReplyDelete
  46. This comment has been removed by a blog administrator.

    ReplyDelete
  47. i used it in my blog but not work

    http://catatanharianfebri.blogspot.com

    ReplyDelete

  48. @ali febriyanto: I've checked your blog and it seems working fine,


    please tell me whats not working for you ?

    ReplyDelete
  49. Thanks, very helpful, I'm going to use it!!

    ReplyDelete
  50. gud tips.. i'll have try..

    thanks...

    ReplyDelete
  51. Great widget, I've used it on my blog!

    ReplyDelete
  52. hi amit
    very informative, but i need to know something. i have over 1700 posts in my blog and i would like to know, which post is read the most. then how would i go about it?
    check my blog http://metalalbumsandbabes.blogspot.com/

    i have a page hit counter, but not post hit counter, so i want to know which post of mine has the most views...

    thanks and please reply

    ReplyDelete
  53. i tired, but i m not change "views" words i wanna change views to "Kez" turkish word? how i make turkish?

    look my site film izle

    ReplyDelete
  54. Hit refresh after each page is increasing. Obviously at first glance but it's not like I think I was gone. Thank you for sharing and labor

    ReplyDelete
  55. not working from yesterday for blogger.

    ReplyDelete
  56. Wah thanks atas scripnya saya sudah pasang di blog ok hasilnya lumayan bagus

    ReplyDelete
  57. hi. i used this on my blog and it's working properly. But it makes the load of each post very slow. Sometimes the page seems to hang for a couple of seconds. Thanks

    http://virtual-quiapo.blogspot.com/

    ReplyDelete
  58. i like it...nice work! wud like to see more stuff on blogger...

    ReplyDelete
  59. macam bagus aja.. anyway thanks.. bosan2 singgah le....

    ReplyDelete
  60. thanks amiT jaiN,

    but i want edit php link:
    http://www.amitjain.co.in/pageview.php

    bacause i want to raplacing (view word)by an arabic word

    when i edit it,i dosn't know the correct way to upload php file

    so,can you help me??

    ReplyDelete
  61. But I got some problem when opening my blog using Opera 10.

    Sohbet
    Sohbet
    The browser will be not responding.

    ReplyDelete
  62. This comment has been removed by a blog administrator.

    ReplyDelete
  63. This comment has been removed by a blog administrator.

    ReplyDelete
  64. Thank you so much..
    I think it's work..

    ReplyDelete
  65. hi i've put your counter on my blog http://streamingboy.blogspot.com and works like a charm, but i was wondering is there any way you can show the list on the home page so people can see?

    ReplyDelete
  66. Cute nyer adek2 skolah nih. Skolah maner nih? hehehe.

    ReplyDelete
  67. Hi, I would love to display how many person has viewed each of my individual post but I am using a classical version templates of blogger. Can you help me?

    ReplyDelete
  68. It's Very Nice Blog...
    Very-very amaging...
    Now, I'm Following Here.

    Thank You Very Much....

    ReplyDelete
  69. nice info, thanx, i will be practice thiz :D

    ReplyDelete
  70. wow thx brother.. i very like thhis widget..

    ReplyDelete
  71. How to remove this control. its eating my loading time.

    ReplyDelete
  72. Can you plesae give me its open source code? Would like the word "Views" translated into spanish "Lecturas" or "Veces".

    Thanks in advance.

    ReplyDelete
  73. This comment has been removed by a blog administrator.

    ReplyDelete
  74. Thanks. Very Nice. Thanks You Admin For Sharing. direk izle, film izle, izlerken

    ReplyDelete
  75. why the counter is put at the bog as the counter not at every post in the blog?

    ReplyDelete
  76. wow this very good..
    thanks your info sob

    ReplyDelete
  77. I like this post, but after I tried to put on my blog, the result is even more heavy load, can explain why?

    folow me back friend

    ReplyDelete
  78. hi i added this script to my blog gadget but it shows ur site views not mine

    ReplyDelete
  79. I have removed it unfortunatly because it slows donwn my pages. I do not know why.

    ReplyDelete
  80. my blog allaboutkimnamgil.blogspot.com use this widget for several days. I like this so much. But now, why i can't see the counter hit in my blog anymore? i replace it with the other new counter but i don't really like it. I just like the counter hit from yours. How do i fix this?

    ReplyDelete
  81. I am so sorry but mine one was just unaccessible about 1 week, and it suddenly re-work this morning. The thing is: the post view count has been reset at No.1???!
    So, do I need to worry this once again?

    ReplyDelete
  82. I am sorry but mine one has been disappeared last 1 week, anh suddenly re-work yesterday w/o any prior notice. So, do I need to worry this once again???

    ReplyDelete
  83. I can't view counter on my blog http://gettingh1bstamp.blogspot.com/
    why is that?
    Thanks for the info

    ReplyDelete
  84. thank you, of course, even more that I know about modifications to the blog by reading this post,
    see also my blog at http://www.nrc.co.cc

    ReplyDelete
  85. I, too, had to comment out the code as it dramatically increased the load time of my posts. Love the feature and would love suggestions for fix.

    ReplyDelete
  86. Thank you very much for this information.
    Good post thanks for sharin.
    I like this site ;)

    porno izle
    porno izle
    porno izle
    lig tv izle
    jigolo

    ReplyDelete
  87. Salam, hi i added this script to my blog gadget but Not work for me why ???

    http://bigtos.blogspot.com

    ReplyDelete
  88. Thanks for all. Now I very happy with this post count. It's very long for me to find this tool. Thanks...thanks..thanks...

    ReplyDelete
  89. interesting code, but i can not placed it for my blog....

    ReplyDelete
  90. Hello,
    I used this code and it was fantastic. It worked for about a month and suddenly stopped. Any idea how to fix the problem?

    ReplyDelete
  91. It did not work on my blog.

    I pushed the first button "Add to my blog". It added the words "hit counter" to the sidebar, but erased two or three other pictures that were on the sidebar, and when I tried to erase the widget, up came a 404(?) message saying "invalid widget" or similar.





    It is strange that it should be so hard to find a counter that shows the data for each post. I would have thought that was the most useful thing to know.

    ReplyDelete
  92. I tried again, this time with your third method, and now, on the home page, there is some perpetual "loading" sign and the blooger search box is missing.

    The following page looks almost normal. There is an additional grey line in the sidebar, and if I click there, your HTML code shows.

    Anyway, I am not complaining, just telling you, and I expected it to be tricky since Blogger doesn't provide it.

    ReplyDelete
  93. My counter hasn't worked in weeks. Will it be fixed?
    Thanks!

    ReplyDelete
  94. Is it still working?
    Because, i've added it and then suddenly the rest disapeared!

    Thanks.

    ReplyDelete
  95. Hi, i'm really interested in this post...I want to know more about "blogger page views post view hit counter to count views of post/page".

    Thats exactly what I was searching in this time...

    Thanks!!!

    ReplyDelete
  96. not working for me...some time only show view

    ReplyDelete
  97. hi people
    wow i didn't notice it...

    i think this spot is so interesting!

    ReplyDelete
  98. This not work from http://asksalman19.blogspot.com

    ReplyDelete
  99. Hi, can u please help me? my blog is http://ilovedami.blogsopt.com


    thanks

    ReplyDelete
  100. not working!

    site has been hanged with this.

    ReplyDelete
  101. Hi, just found your excellent post & implemented in my blog @ http://luxuryhaven.blogspot.com!

    Where is the pageview suppose to appear? I don't see it anywhere in my post. Appreciate if you could take a look. Thks so much!

    ReplyDelete
  102. nice post.Thnx my friend. i like this.

    ReplyDelete
  103. Neither the 1st or the 3rd method worked for my blog, but perhaps it's due to not using the original blog template. Tks anyway.

    ReplyDelete
  104. Wow, this is awesome! Such an important widget to have on your blog, so simple to implement. 10x! :)

    ReplyDelete
  105. I tried it Amit.. didnt work on my blog...

    http://www.sandhyas-kitchen.blogspot.com

    ReplyDelete
  106. It's really a nice and helpful piece of information. I'm glad that you shared this helpful info with us. Please keep us informed like this. I want to say it would supply up to !

    ReplyDelete
  107. hello sir ...
    how can i use hit counter code in my website...
    (asp.net with c#)

    ReplyDelete
  108. I was having some issues with hosting provider , so counter was not working for some time ,

    ReplyDelete
  109. Thanks a lot, but after I did the steps above, there is no count showed in my blog, is anything I did wrong, or this script is not useful anymore? Thank you!

    ReplyDelete
  110. i had try but... so sad ~ nothing change

    ReplyDelete
  111. hi people
    wow i didn't notice it...

    i think this spot is so interesting!

    ReplyDelete
  112. It works. Thanks
    http://radiotvpilipinas.blogspot.com

    ReplyDelete
  113. Do you people have a facebook fan page? I looked for one on twitter but could not discover one.

    ReplyDelete
  114. thanks for sharing it I like to read this blog really informative

    ReplyDelete
  115. If you like this post than Join or Follow this site

    I WANT THIS LINK FOR MY BLOG. HOW CAN I?

    ReplyDelete
  116. @Vish: login to ur blogger dashboard > design > Edit Html, Click on Expand Widget Templates

    Now look for
    <data:post.body/>
    and write below mentioned code below this line

    <a href='http://www.blogger.com/follow-blog.g?blogID=xxxxxxxxxxx'><b>If you like this post than Join or Follow this site</b></a>

    Replace xxxxxxxxxx with ur Blog ID

    Hope this helps

    ReplyDelete
  117. I enjoyed reading it. I'm supposed to be somewhere else in a minute but I stuck to reading the story. I like the quality of your blog :D

    ReplyDelete
  118. i have add this script, but no track my page.. why can u tell this..?

    ReplyDelete
  119. Nice tips,very informative stuff,thanks a lot.

    ReplyDelete
  120. @haz issac : u need to go to edit html of ur blog then click on expand widget code

    now look for data:post.body

    there u'll have to put the code , alternatively u can use the add this counter to ur blog button in my post

    ReplyDelete
  121. thanks, greats job! very useful.
    nice to be here :)

    ReplyDelete
  122. Impressive and this is really inspirational work..thanks

    ReplyDelete
  123. Hi thanks for this tool

    ReplyDelete
  124. Very nice, i`v tried to use this counter but does not work, Do you have other counter code special for SMF forum. thanks a lot.

    ReplyDelete
  125. I want to reset it each time I add a new post to my blog..but when I copy and paste the code to put in a new gadget it just picks right back up at the number of views it was at before...how can I reset it to zero on my blog for each post?

    ReplyDelete
  126. Great post! I hope you will share more with us. Thank you!
    R.J.

    ReplyDelete
  127. i like it so very much and its working i like it so very much and appreciate for your excellent working nice job keep it up

    ReplyDelete
  128. good information!

    ReplyDelete
  129. nice tutorial, can u help me? how to make code for this counter in php script??

    ReplyDelete
  130. thanks.... is still functioning. recommended blogs. : D

    ReplyDelete
  131. It is really a nice code. But itwas ot working some times in my blog.

    ReplyDelete
  132. is it this code still working? coz i didnt see the post views at every my post..

    ReplyDelete
  133. what's going on man..?
    No input file specified<---?

    ReplyDelete
  134. thank you, of course, even more that I know about modifications to the blog by reading this post,

    ReplyDelete
  135. Thanks, nice article. Please visit my blog !

    ReplyDelete
  136. Nice post! Thanks and keep on sharing.
    Michael

    ReplyDelete
  137. amazing tip .. i ll try this counter on my blog ..

    ReplyDelete
  138. It never worked. The script is expired.

    ReplyDelete
  139. NOT WORKING ! THE PHP FILE is not available!!!

    ReplyDelete
  140. hmmmmm! it is nice tip to get monitor the traffic rate on the blogs.And a blog why don't love such an info......

    ReplyDelete
  141. just sometime this code will work....,
    can i get your code php plea... :D

    ReplyDelete
  142. This post was so helpful! I'm currently working on building my first site and am constantly looking for cool new widgets that will make my job easier. I tried to insert the views function using thousand of codes and nothing helped, this was just the thing I was looking for :)

    ReplyDelete
  143. Thanks For Sharing information > It's Really Helpful for me . Keep Sharing more Interesting Information.

    ReplyDelete
  144. hi, nice post...

    the script doesnt work anymore http://www.amitjain.co.in/pageview.php

    ReplyDelete
  145. Great stuff.Thanks for sharing it.I have seen lots of such kind of posts for wordpress blogs but its nice to know something about blogger blogs too.Is this provide statistics about unique visitors too or not.

    ReplyDelete
  146. wow nice. i must try it on my blogs

    ReplyDelete
  147. You have some really good information in this article. I have really enjoyed your views on this subject. You are a gifted writer. Thank you.

    ReplyDelete
  148. Didn't Work in my blog help me with this its important

    ReplyDelete
  149. Nice post. We are impressed by your clear description of your topic. Thanks for the information. Keep on writing.

    ReplyDelete