www.morris.umn.edu page counters
Data files are created automatically for www.morris.umn.edu page counters
when they are used for the first time.
Please follow the guidelines below for establishing the name for your data file.
"data.dat" should be replaced with a file name specific to your username
or directory and the file that contains the counter. For example if username
is 'johndoe' and the counter is added to your index.html page, a suggested data
file name would be 'johndoe_index.dat'. The key is for all counters to refer
to individual data files to avoid redundant counts.
cda.morris.umn.edu page counters
On cda.morris.umn.edu the data file for a page counter must be set up before the
counter can be used. To request a data file for your counter, please send
email to Mark Van Overbeke (markvo@cda.morris.umn.edu)
with information that you need a page counter and the file name (e.g index.html)
that the counter will be used on. Shortly after, you will receive a reply with the name of
the data file for your counter. Insert that name in the 'df' field of the
image tag for the counter as shown above.
Counter Options
Additional counter options are documented at the
Web Page Counter
Homepage.
The more useful options include:
Additional digit designs
The counter can display various counter digit styles that can be viewed at:
http://www.morris.umn.edu/committees/wwwac/toolbox/digits.html.
Just note the letter next to the style of your choice and add it to the
image tag for the counter such as:
<img src="/cgi-bin/Count.cgi?df=data.dat|dd=G">
Hidden counters
Sometimes it is useful to have a hidden page counter to inconspicously monitor
the use of the page. The counter can be replaced by a transparent gif picture
by using the 'sh' option, which stands for 'show', and setting it to false:
<img src="/cgi-bin/Count.cgi?df=data.dat|sh=F">
Since the counter is now hidden, it is necessary to make another page to
actually display the counter. On that page simply reference the same counter
data file, but use the 'incr' (increment) option set to 0 to display the counter
and not increment the counter to throw off the accurate count.
<img src="/cgi-bin/Count.cgi?df=data.dat|incr=0">