Webhosting & eCommerce

Install A Counter On Your Website

Now that you've finished creating your Server101 Home Page, you'll want to keep track of how many visits you get. Click here for some tips on how to stimulate visits to your Web site.

The counter we have installed is called Count. It is very configurable. You can change colors, borders, even fonts. It can also display the time and/or date.

Note: This program will not work unless your pages are located on membername.server101.com

Since Count has so many options, it seems easier to just provide examples. In all of these, you will notice that one of the parameters is df=sample.dat. When you put the HTML in your page, replace sample.dat with something like membername.dat where membername is the name of your account. If you want to put separate counters on different pages, just name the data files membername-1.dat, membername2.dat, etc. again replacing membername with your username. These data files will be created automatically by the program.

Standard counter and other available fonts:

<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat">
or
<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&dd=A">

<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&dd=B">

<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&dd=C">

<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&dd=D">

<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&dd=E">

Frame thickness:

<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&ft=0">

<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&ft=10">

Frame color:

<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&frgb=0;255;0">

<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&frgb=255;0;0">

Invisible Counters:

If you want to create a hidden counter use the option sh=F onto the end of your code as below..
<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&sh=F">

This will display your counter as a 1x1 transparent pixel on your page.

To view the counter, you can either type it into the address bar in the browser:
http://yourdomain.com/cgi-bin/Count.cgi?df=sample.dat&incr=F ,or
if you want to monitor the hits from another page, you can create a page and include :
<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&incr=F">
in your HTML file.

Clock and date:

<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&display=clock">

<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&display=date">

If you wish to use a different time zone rather than the default. Look up your desired time zone if you don't know already, double-click on the time on the taskbar if your using Windows 95/98. Select the tab called time zone and find your increment. In your line of code insert the option &timezone=GMT-0600. Note that the numerical value must be 4 digits.

<IMG SRC="/cgi-bin/Count.cgi?df=sample.dat&display=date&timezone=GMT-0600">

When I visit my page the counter doesnt seem to increment ???
Don't worry its not a bug in the program. This release will only record 1 hit per every unique IP address. This will prevent records of people coming in and out of the page and hitting the refresh button.