CSuite Visit Statistics using urlstats

urlstats -- reports visits to your pages

Overview

Running the urlstats script produces a page containing the number of times a page (or group of pages) on the Victoria Telecommunity Network was visited yesterday, this month, and last month.

In general, to see how often any page or pages on the Victoria Telecommunity Network have been visited recently, write a link following this pattern:

<a href="http://victoria.tc.ca/cgi-bin/urlstats?somefilepath">
Recent visits to somefilepath</a>
In the above pattern, replace "somefilepath" with the directory and/or filename of the page or pages you want to count visits to. A number of examples are given below.

Examples

To display the number of times people have accessed your own public_html pages, use the following URL:
http://victoria.tc.ca/cgi-bin/urlstats?ME
The symbol "ME" stands for your account. It is typed exactly as shown in the above URL and is automatically replaced by urlstats during the search with your account name.

For other pages on the Victoria Telecommunity Network, give the path of the document or documents relative to the info root (that is, the "top" directory under which all public VTN pages reside).

http://victoria.tc.ca/cgi-bin/urlstats?Science
or
http://victoria.tc.ca/cgi-bin/urlstats?Science/index.html
Note that either a specific file may be named or a directory. The urlstats script gives statistics for all URLs with filepaths that begin with the text that you give as the parameter (that is, what appears after the question-mark). So if a directory is given, visits to all files on that directory and in any subdirectories below it will be counted, whereas if a specific file is given, only visits to that file are counted.

If no parameter is given, the user will be prompted to type in the URL to search for, as follows:

http://victoria.tc.ca/cgi-bin/urlstats
This will take you to a page that says "Enter a VTN URL". The status line at the bottom will read "This is a searchable index. Use / to search". At this point, you type "/", and the status line will read "Enter a database query: ". Simply enter the file path of the file or files for which you want to count visits.
Related Help Topics Search the Helpdesk Contacts (Support) Recent Changes VTN Home Page