Monday, April 11, 2005

[Tracking Visitors] Number of Users Currently Online

I added a piece of code which shows you, in the column on the right, how many people are online at the time you enter this site. You can easily pick up this piece of code for your own site. Just click on it for the link.

There are a few things to be mindful of when using this service:

1) The instruction tells you to relace www.yoursite.com with your own site name. Many blogs do not have a www so be careful to replace it with something like http://yoursite.com instead.

2) Why are they giving this piece of code away for free? Because they have a link to an adult site embedded, thats why. Ewww. I am sure none of us want that. Even though they tell you not to change the code at all, I suggest you remove this section. Without it the code will, hopefully, work just fine.

3) You can replace the word online in the script, for whatever sentence you want to see on your site. ie Pupils in Class at Food Blog School.

Right Mouse Button Click on this blog's main page and select View Page Source, to see how I incorporated this piece of code into the template for the Food Blog Scool. (Scroll down - it's nearer the bottom of the page)

1 comment:

Culinary Fool said...

I'm not sure the counter is working right Sam. A couple of times I've noticed that is just says "pupils..." with no number preceeding and I'm here! :-)