Page is a not externally linkable
- WebmasterWorld
-- Website Analytics - Tracking and Logging
---- development of a tracking software


sophtware - 1:51 pm on Nov 2, 2002 (gmt 0)


Actually Apache web server already does most of this out-of-the-box. They only thing it doesn't do is generate the reports. If you want to track the information, and you're using Apache, then just do the following:

1. Enable of Install the mod_usertrack module.
2. Modify your httpd.conf to include the new mod_usertrack cookie in the log file. (add this to the end of the LogFormat line you are using \"%{Cookie}n\")
3. Restart your web server.

Now each visitor coming to your site will automatically get a cookie dropped in their browser. Whenever they visit your web site, that cookie will be entered in to your log file. Now just generate some reports from the log file.

If you have SSH or Telnet access to your box, you can use grep to generate some simple reports. Also, I think the latest version of IIS has something similar.


Thread source:: http://www.webmasterworld.com/analytics/684.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com