Counter
The Counter option allows you to set up a hit counter on
your site, which lets you determine how many times the page
on which the counter resides has been visited. In addition,
our counter can show the date and the time. This counter is
displayed on the page and can be viewed in various counter
styles. Additionally, you can start the counter at any number
you set, and it will count hits and add them to that number.
Verify Counter Installation
Before performing any work with the counter on your site,
first verify that it has been installed. From the Control Panel, select the Counter icon. The Counter Manager displays.
Select the Verify Install button. A message appears indicating
that the counter utility has been installed for your domain.
Setting up the Counter
How do I setup a counter?
There are different types of counters you can setup on any
of your web pages. Below are a few examples. To create the
counter image, you need to do the following two things. Decide
what style of counter you would like to use, and place the
corresponding code in your web page (example code is below
the example image in the following examples).
You can place this code in your HTML page by using the File
Manager in the control panel to edit your pages.
Note: Input your site specific data, your domain name and
the actual page name, in place of YourDomain.com-PageName.html
in the HTML tags below. Please be sure not to use strange
characters like '/' or spaces in the name of your data file.
Counter Examples:
HTML Code
| Counter Examples: |
| HTML Code |
|
 |
|
| <img src="/cgi-sys/Count.cgi?df=YourDomain.com-PageName.html">
|
| |
|
 |
|
| <img src="/cgi-sys/Count.cgi?df=YourDomain.com-PageName.html&display=date">
|
| |
|
 |
|
| <img src="/cgi-sys/Count.cgi?df=YourDomain.com-PageName.html&display=clock">
|
| |
|
How do I change the appearance of my counter?
CHANGE THE DIGIT STYLE
We have five (5) different styles of digits installed on
our server. You can change the style of your counter by simply
adding dd=(A,B,C,D,or E) to the img tag.
Below are the five styles of digits included on our server:
| Style A |
 |
| <img src="/cgi-sys/Count.cgi?df=YourDomain.com-PageName.html&dd=A"> |
| Style B |
 |
| <img src="/cgi-sys/Count.cgi?df=YourDomain.com-PageName.html&dd=B"> |
| Style C |
 |
| <img src="/cgi-sys/Count.cgi?df=YourDomain.com-PageName.html&dd=C"> |
| Style D |
 |
| <img src="/cgi-sys/Count.cgi?df=YourDomain.com-PageName.html&dd=D"> |
| Style E |
 |
| <img src="/cgi-sys/Count.cgi?df=YourDomain.com-PageName.html&dd=E"> |
CHANGE THE BORDER OF THE COUNTER
You can change the width of the border on your counter by
adding ft=X (where X is the number of pixels).
For example:
 |
| <img src="/cgi-sys/Count.cgi?df=YourDomain.com-PageName.html&dd=C&ft=0"> |
WHAT IF I WANT TO USE MORE THAN ONE COUNTER?
No problem, all you need to do is simply change the data
file (df) to yourdomain.com-whatever. Make sure you include
your domain name or sub-directory name in the name of the
data file. Just be sure not to use strange characters like
'/' in the name of your data file.
Note: if you should encounter an error that reads: "Could
not create data file: /usr/local/etc/Counter/data/..."
please contact support and we can quickly fix this for you.
Adjusting Your Counter
Once your counter is installed and set up, you can
adjust the number that is displayed in your counter to any
number you set.
From the Control Panel, select the Counter icon. The Counter
Manager displays.
Select the Adjust Counter button. The How Do I Adjust My
Counter page displays. This page offers step-by-step instructions
for adjusting the counter display number.
From the drop-down list in field 1, select the file which
contains the counter you would like to change.
In field 2, type the number that you would like your counter
to show.
Note: The next time you view your the counter on your page,
it will be one digit higher than what you specify here. For
instance, if you choose 1000, when you return to the counter
page, the counter will read 1001.
Select the Submit button to continue. A page displays indicating
that the counter adjustment was successful.
You can now return to the page on which the counter resides
to view the adjustment. As indicated on the screen above,
if you are using Netscape, you need to hold down your shift
key and simultaneously click on the Reload button for the
change to take place. |