14 January 2010

Make Page View Post Hit Counter Visitor Read - Membuat Penghitung Halaman Yang Telah Dilihat Pengunjung

Page post view or post views hit counter to count how many times any post or article on blogspot blog has been read. 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.



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>

or

<data:post.body/>
Now paste below mentioned code above (dibawah) this line

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='hit-counter'>
&lt;a href=&#39;http://trik-tipsblog.blogspot.com&#39; rel=&#39;follow&#39;&gt;
<script src='http://triktipsblog.googlecode.com/files/pageview.php.js' type='text/javascript'/> &lt;/a&gt;
</div></b:if>

4. Save your template

No comments:

Post a Comment