Add to Technorati Favorites


Statcounter is a free web tracker, highly configurable hit counter with real-time detailed web stats. Insert a simple piece of our code on your web page and you will be able to analyse and monitor all the visitors to your website in real-time!


This post describes how to modify the statcounter code so that it works in the New Blogger layouts templates.......

GET STATCOUNTER CODE


Go to the statcounter site. Register and click on Add New Project. Follow all the steps by adding your blog url until you come to "Do you use a web page editor?" Check Radio button No, I want the default install guide. Click Next button and you will get the code. Copy and paste this into a Notepad file.


MODIFYING STATCOUNTER CODE


Open the Notepad file containing the statcounter code. In the second part of the code there is a img src tag which looks like the code below :


cool hit counter


In the above code replace every occurrence of "&" with "& a m p ;" without the quotes and without the spaces.

Also at the end of the code add a space and a closing backward slash like this :

.....alt="cool hit counter" border="0" />

Save this code.


PASTING CODE IN BLOGGER LAYOUTS TEMPLATE


Copy all the code you have saved after modification. Login to Dashboard of Blogger and click on Layouts link next to the blog you want to add the code to. Then click on Edit Html subtab of Template tab. First backup template to PC using the Download Full Teplate link provided.

Scroll down in Edit Template text box till you come to the end. Paste the modified statcounter code just above the tag. save Template. Refresh Cache and View Blog.


See the extreme foot of this page for my working statcounter.

Add to My AOL Add to Google Reader or Homepage Add to netomat Hub I heart FeedBurner Subscribe in NewsGator Online Subscribe in a reader

0 comments