March 05, 2004

Site Statistics

There are several ways to get statistics about your Movable Type weblog. Most web hosts give you access to some statistics regarding your site as a matter of course - referral logs (list of sites that link to you in which someone has clicked on the link to get to your site), number of hits, number of page views, etc. If you want more information, i.e. the search terms used to find your site, the most recent entry pages to your site, the mix of browsers and OS platforms of those viewing your site, the length of time people spend on average on your site, you can use a site statistics service, also known as a hit counter. These services work by having you put a small piece of code on the pages of your site that you want tracked. There are several free services available that have you place a small image file on your site that links back to the service statistics page where you can see your site statistics. For a fee, you can make the image go away and make the statistics invisible to anyone but yourself.

I have found three free services to recommend.

1. Site Meter. I use Site Meter ( on my recipe site and now I've added it to Learning Movable Type (scroll down and you'll see a small rainbow colored box on the left). It gives me statistics on visits and page views (per day, week, month, and year), most popular entry and exit pages, breakdown on browser and OS platform types, and time zones and languages. One benefit to Site Meter is that it passes the valid XHTML test.

2. ServuStats. ServuStats ( provides more free interesting statistics than Site Meter including search engines used, search query terms, and the screen resolutions of your visitors' monitors. One issue with ServuStats is that when you click on the ServuStat button to get statistics, not only do you go to the stats page for your site, but a huge advertisement pop-up shows up behind the other open browser windows. A downside to the ServuStats javascript code is that it will cause any page on which it is located to not validate as XHTML valid.

3. Bravenet. Similar to Servustats, offers a slightly different mix of stats - no search terms, but tracks the difference between first-time visitors and returning visitors. Clicking on the Bravenet button also generates pop-ups.

Please let me know (in the comments below) if you are using another site statistics service that you can recommend. (Please no ads).

AWStats - Advanced Web Statistics software package for hosting the actual stats software on your site.
Extreme Tracking - similar to Site Meter and ServuStats.
Nedstat - puts links to sites using Nedstat on home page.
BlogPatrol - similar to Bravenet and ServuStat but without popups.
StatCounter - invisible web tracking.

Has this tutorial been helpful? Please consider linking to Learning Movable Type at . Thanks!

Posted by Elise Bauer on March 05, 2004 to General Tips and Tricks
Comments(9) | Email to a friend | Printer-friendly version


If you would like to send a trackback
please use the following URL:


Thanks for all the tutorials on this blog! I am also trying ServuStats for my blog but I prefer to keep the stats private. I haven't been able to figure out how to edit the javascript yet, so as a workaround I added a little html/css code that simply positions the image off the screen. Depending on where the image is initially on your screen, you may have to adjust the number. To view my stats, I just bookmark the Servustat website and login there.

Locate the site tracking code in your main index template and before the line with <script language..., add:

<div style="position:absolute; left:-200px;">

Then go to the end of the code, and between </script> and the last line, add:


Save and rebuild indexes as per usual. That's all there is to it! I don't know how Netscape would react to that.

Thanks Suzanna for the tip!

I just checked my hits per my server versus Sitemeter and have a HUGE discrepancy. I only have Sitemeter on my main page - I think that means that hits to an entry that no longer appears on the main page are not counting. Am I right? If so, how do I make sure that all hits are being counted by Sitemeter?

Hi Elise,

You've become my first stop for MT-related tech-queries. I've found that you provide great information that's not too technologically advanced (much of it is still above my current level of understanding but it doesn't assume you know how to run a cron job, or write a custom php index for example). Are you related to 6-apart in any way? If not, they should give you a kick-back haha!

Anyway, on-topic I discovered this VERY useful site that is like the "consumer reports" of web-trackers. I found that I NEEDED something like this, because the nuances of comparing so many available statistics from several different services was a database I just wasn't able to juggle mentally. Check it out here:
that linked version is sorted by overall score, but you can resort it by several different indicators.


One more link: This is a great essay-based introduction to the site that I linked in the above comment. "The perfect tracker" Highly recommended (=

I'd like to know if there is a free site stats without inserting any code int oweb pages. I found 1 site before, but it's gone now..and I don't remember what..:(

If somebody knows please email me at:

[email protected]


Having just read your Site Statistics tutorial, I thought you and your readers might be interested in another idea. You may already know about this.

I've been running it on my main blog for a couple years.

Two main benefits are, it's free and there's no button to display. The downside is, since it runs on your own server, the log file can get quite large on sites that get a lot of hits. Of course, it's easy to delete the log and start a new one.

Anyway, here it is:

Thanks for yours tutorials, they help a lot.

I use a free invisible web tracker:


you can see it in action (well, I don't think so, so it's invisible :-) in my new blog (in spanish):

Thanks for your help

Hi Elise
Found an interesting link regarding site stats for you

Post a comment

(Before posting a comment please see the Comments and Trackbacks Policy. Do you need help troubleshooting your weblog? Please post questions and requests for support at the MT Support Forums. Thanks!)

Remember Me?

(you may use HTML tags for style)

Email to a friend

Email this article to:

Your email address:

Message (optional):