Personal tools
You are here: Home All Locations ASET Web FAQ 7.07. I want to use a graphical...

Web FAQ 7.07. I want to use a graphical counter on my home page and I do not want it viewed by the visitor.

Document Actions
How do I do this?
  1. In the page where you do not want the counter displayed, include the following tag:

         <img src="/cgi-bin/Count.cgi?sh=F"> where sh=F prevents the count from being displayed.

  2. In the page where you want to view the count, include the following tag

         <img src="/cgi-bin/Count.cgi?counter_program &personal_url=/users/a/b/abc100/file_name&incr=0">

    where counter_program is the name of the graphical counter program that you are using. For a listing of graphical counter programs, go to graphical counter. If you want the counter to be visible on both the pages just make sure that you do not use sh=F as shown in step 1.

    Additionally, make sure you include YOUR Personal URL with file_name as the name of the home page file in which you would like to count the number of users.

For departmental pages the personal_url should be /dept/dept_name/page1.html

For example, if you want to display the count of "page1.html" on "page2.html" using the graphical counter dd=emboss and assuming the URL is http://www.personal.psu.edu/xyz123, you should do the following:


  • Add the tag <img src="/cgi-bin/Count.cgi?sh=F"> to "page1.html"
  • Add the tag <img src="/cgi-bin/Count.cgi?dd=emboss&personal_url=/users/x/y/xyz123/page1.html&incr=0"> to "page2.html"


For help contact The ITS Help Desk
Also Search the ITS Site Index
Last modified 07-18-2007