introduction You can add an access counter to your personal Web pages on http://web.syr.edu or to any SU Web page that you maintain to keep track of the number of visitors to your site.
before you start You can use this counter if your page is located on http://web.syr.edu or any SU Web site, such as on http://sumweb.syr.edu.
steps
  1. Copy one of the following HTML lines of code into the desired location in your HTML document.
  2. Change the counter file name.
  3. Save the HTML page.
    When the page is first viewed in a Web browser, the counter file is created and starts the count at 1.
options option 1: default counter
Use only on personal Web pages located on web.syr.edu.

Be sure to replace the word "netid" with your NetID.

<img src="http://counter.syr.edu/cgi-bin/Count.cgi?df=netid.dat">

The resulting counter will look like this:

counter

option 2: color border change
Use only on personal Web pages located on web.syr.edu.

Be sure to replace the word "netid" with your NetID.

After frgb=, put in the rgb value of any color you like.

<img src=
"http://counter.syr.edu/cgi-bin/Count.cgi?frgb=ffd700&df=netid.dat">

Here the RGB value for yellow is given.
The resulting counter will look like this:

counter

option 3: colorless counter

Be sure to replace the word "filename" with a filename that will be created for your counter and which reflects the page containing the counter. For example, the counter that resides on the Jane Doe's home page is called "jadoe123.dat".

<img src=
"http://counter.syr.edu/cgi-bin/Count.cgi?dd=E&ft=0&df=filename.dat" alt="counter">

The resulting counter will look like this:

counter

option 4: invisible counter

Be sure to replace the word "countername" with a filename that you create for your counter and that reflects the page on which the counter resides. For example, the counter that resides on Jane Doe's home page is called "jadoe123.dat".

On the page that you wish to have counted use the "sh=f"(show counter image is False) attribute:

< img src="http://counter.syr.edu/cgi-bin/Count.cgi?sh=f&df=countername.dat" alt="counter1">

You can check the counter value from another Web page, with a URL known to you, using the "incr=f" (do not increment) attribute and "sh=t" (show the counter) attribute set to True:

< img src="http://counter.syr.edu/cgi-bin/Count.cgi?incr=f&sh=t&df=countername.dat" alt="counter1">

note
  • You can have only one counter for your Personal Web pages.
  • The processing of the data takes place on the server managed by SyraCWIS called counter.syr.edu.
help

return to web pages