Web Development Support
    General Info   Cool Tools
    Getting Started   Troubleshooting
    Design & Promotion   Feedback
 

Search this site:


view site map

Web Site Usage Statistics (Webstats)

  1. Introduction
  2. How to sign up
  3. Frequently asked questions about webstats
  4. Webstats reports

Introduction

If you want to find out how many people are visiting your site and how people are using your site, Web site statistics will offer some assistance.

It is important to note that there is no absolute way to determine how people are using your site, but Web site statistics are much more accurate than page "hit" counters. A hit counter simply shows how many times an individual page has been requested, but it can't tell you the pattern of usage. Additionally, page counters overestimate use, since many people visit a home page, and click the back button before the page is done loading. That kind of visit is still a hit.


How to sign up

Web statistics are currently available on some of ITC's supported Unix servers, and others will soon joining this list. You must visit a certain Web page on your server to enable these reports. The URL to sign up for stats on www.people is given below.

If you use a Windows server, please check with ITC's MicroSystems Group for a recommended package or to see if IIS has any built-in log analysis tools.

If you want Web stats for an departmental site please send e-mail to:

web-consult@virginia.edu

www.people (if you log in to blue.unix, use this) https://www.people.virginia.edu/analog/


Frequently asked questions about webstats

How long before the stats start working?

The stats start being collected in the middle of the night the first day you sign up. Stats will keep working until you stop them. It's all automatic.

Where are the stats?

The Web Stats software creates a directory in your public_html folder called stats. If your userid is something like mst3k, the UNIX path to your stats files is:

/home/mst3k/public_html/stats/

If your userid is mst3k, the URL of your stats is:

http://www.people.virginia.edu/~mst3k/stats/

(note the ~ tilde character before your userid - this is always there for your URL on www.people)

There are up to one month's log files saved in this directory, along with the monthly analysis files. The analysis files (Jan.html, Feb.html, etc.) are kept for 12 months until they are overwritten. The log files are only kept for the current month.

Can I get stats on both my departmental pages, and sub-department pages?

Yes, although stats cover an entire directory and all the subdirectories of the Web site. You will have to e-mail web-consult@virginia.edu to get signed up. Be sure the e-mail includes the URL of the directory or directories that you want to track. Just browse to the directory, and copy the URL, then paste the whole URL into the e-mail.

Where will my department or sub-department stats be located?

Departmental stats are always in the directory being tracked, in a new directory called

dir_stats

If your department were called "Modern Literature", and your site was on the main U.Va. server (minerva.acc), and your account was modlit, your stats would be:

http://www.virginia.edu/~modlit/dir_stats/

Or perhaps you have a newer Web site without the tilde (~) character:

http://www.virginia.edu/modernliterature/dir_stats/

Can I get stats for my site on faculty.virginia.edu?

Yes. The sign up process is the same as for departments. E-mail web-consult@virginia.edu with your complete URL. The stats will also be in a dir_stats directory. If you project was called "Benjamin Lab", your Web site stats would be in:

http://faculty.virginia.edu/benjaminlab/dir_stats/


Webstats reports

Why isn't more individual detail in the logs?

It would be nice to say that customer number 300 visited 10 pages within your site, and visited them in a certain order. This isn't possible without the use of cookies and special Web stats software. Cookies are often considered an invasion of privacy because they allow tracking of customer's behavior. Without a technology for tracking (like cookies) the World Wide Web is what is called "stateless". There is very little information about customer's current "state". You cannot know where they have been, or how many minutes they have been there. In fact, you can't even verify that they finished loading a page.

Typical sections of an analysis of the monthly state (for example Jan.html)

Your number of 'hits' is the third line in the first section at the top of the analysis.

Total successful requests for pages: 1234

Reports

Monthly Report: Number of pages loaded. We only analyze one month at a time, so this doesn't tell you much. There isn't disk space to save the log files for longer than a month.

Weekly Report: Number of page loaded by week. Also not very informative.

Domain Report: What kind of domains your customers visit from. Mildly useful. You can tell whether people come to your site mostly from .com (commercial) domains, or from U.Va. and other schools (.edu domains), as well as roughly how many overseas visitors you have.

Request Report: Which of your pages was requested, ranked by number of hits. This is really useful. This is a popularity list of your Web pages.

Referrer Report: Where your pages are linked from. This is very useful. Most of the hits will be from within your site. Scroll down the list and you'll see references from the search engines. Something like:

http://search.yahoo.com/bin/search?p=volkswagons+repair

This means that someone searched at Yahoo for "volkswagons repair", and found a link to your site. The + sign is HTML cgi for a space (since spaces are not allowed in URLs).

Error Report: Not very useful.

Browser logs

These logs are extremely large, and are only kept for the current week, and only for the entire host, not for individual sites. The output is very messy since Internet Explorer kind of calls itself Mozilla, when Mozilla is really Netscape Navigator. Each browser also identifies itself with details, including all the minor versions. The only use of this data is to see how many people are using new versus old browsers. Note that a number like 200 hits coming from Netscape Navigator 2.0 for Win95 is probably just one person hitting the server 200 times during the day.

The user.cfg file

You can edit the user.cfg file in your stats directory. Be careful, and make a backup copy before starting. You'll have to read the Analog documentation to know what is possible to do, and how to do it.

http://www.analog.cx/

Why can't I track individual customers and why aren't the stats more accurate?

The best that any Web site usage software can provide is a ballpark figure. This has to do with the nature of the Internet and the WWW. As Stephen Turner says, anyone who claims features like individual user tracking is probably not telling you the whole story. You can get the fascinating details at one of Stephen's many pages (this link is to a mirror site in Pennsylvania):
http://www.web42.com/analog/docs/webworks.html

The actual analysis is performed by the Analog program, which has documentation at http://www.analog.cx/

You can attend one of the Web Promotion seminars. The schedule is at:
http://www.itc.virginia.edu/training/webcert

Name of data What it tells you
Total requests for pages Number of requests for pages (as opposed to requests for graphics files, etc.) This is essentially how many times your pages were viewed. This is not the total number of people visiting, since each person probably looked at several pages.
Domain report Where your users are coming from. Are they educational (.edu) or commercial (.net and .com)?
Request report How many actual interested people visited? Glance over the middle of the list. If the large majority of pages got 10 hits, then you had about 10 devoted visitors. Of course, if your site tends to be used for reference purposes, you have to look at the number of hits for reference pages. Generally, you ignore the number of people who visit your home page. If this number is reaaaaally out of proportion to the rest of your site (say by 1000:1) then perhaps your home page is poorly registered with the search engines.
Referrer report How did people find your Web site. This is the URL of the page that linked to your Web site. Generally this will be a search engine, or a the links page of a related site. This information allows you to focus your publicity efforts, and to evaluate what is working best.
 

Many thanks to the creator of Analog: Stephen R. E. Turner
Email: sret1 at ntlworld.com


Web Development Support | General Info | Getting Started | Design & Promotion
Cool Tools | Troubleshooting | Feedback

If you need further assistance with Web applications or questions, send e-mail to web-consult@virginia.edu or call the ITC Help Desk at 924-3731.

© 2008 by the Rector and Visitors of the University of Virginia.

The information contained on the University of Virginia’s Department of Information Technology and Communication (ITC) website is provided as a public service with the understanding that ITC makes no representations or warranties, either expressed or implied, concerning the accuracy, completeness, reliability or suitability of the information, including warrantees of title, non-infringement of copyright or patent rights of others. These pages are expected to represent the University of Virginia community and the State of Virginia in a professional manner in accordance with the University of Virginia’s Computing Policies.