The University of Alabama Office of Information Technology Fall 2000

How Popular are Your Web Pages?

Do you want to track the number of times your Web site has been "hit" or visited? Do you want to show your visitors how many others have been there before? If so, then you want to add a counter to your Web site. There are many Web sites that offer "free" counter programs. The problem is that most of them require placing advertisements on your page along with the counter. Since bama.ua.edu is a University-owned machine, advertisements on bama-hosted Web pages are prohibited. (If you weren't aware of this, you should check out the computer policies at computercenter.ua.edu/policy in case there are other restrictions that you should know about.)

If you want a counter on your page, use the ones already provided for you on bama.ua.edu. Just follow these simple steps:

  1. The names of any pages on which you want to display one of these counters must end with the extension .shtml instead of .html or .htm. When you rename a page, make sure that you correct any links to it from other pages.

  2. Decide which form you want the number to be in. Choose between cardinal numbers (1, 2, 3, ...) and ordinal numbers (1st, 2nd, 3rd, ...).

  3. Insert the following as HTML code in your page where you want the number to be displayed. (If you are using a Web page editor, consult its Help files for information about inserting HTML code.)
    For cardinal numbers:
    <!--#include virtual="/cgi-bin/counter"-->
    For ordinal numbers:
    <!--#include virtual="/cgi-bin/counter-ord"-->

  4. Surround the tag with text for your counter. For example you may want to display "You are visitor number " before the cardinal counter or "You are the " before and " visitor" after the ordinal counter.

  5. Publish your page to your bama.ua.edu Web site as you normally would. Until the page is published to bama, you won't be able to see your counter in a browser.

  6. Make sure that you are now viewing the page with the .shtml extension. This means checking your links and possibly deleting the copy with the .html or .htm extension.

If you have any problems, please call the HelpDesk at 348-2435.

Contents

Front Page

Coming Soon

Internet2 Lets Professor be in Two Places at the Same Time!

What is Internet2?

Your Students May Be Talking About: ResNet

Take Charge of Your Schedule

Getting on the Net at Home

For Computers, Flu Season Lasts All Year

Oh No, Where Did it Go?

Campus Microsoft News

Need Computer Hardware Repair?

Student E-Mail Accounts

Campus Computer Labs

Communication Tools for Travelers

Getting a New PC?

Passwords: Out of Sight, Out of Mind

Telecommunication

Faculty Resource Center

Computer Training Opportunities

Creating a Course Web Site

How Popular are Your Web Pages?

Your.Name@ua.edu

Your bama Account Space

Do You Telnet into bama.ua.edu?

Guide to the Office of Information Technology

Reader Survey