Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies


Anyone have any experience using it?

3:26 pm on Oct 30, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 26, 2003
votes: 0


I'm looking into setting up mod_usertrack on my server. I've looked at the apache docs but they don't go into enough detail about getting it up and running.

From what I've read so far it appears that it logs user clickstreams to a separate logfile, and tracks return visitors using Cookies. If this is the case it sounds like the solution I am looking for.

If anyone has any experience using it I would appreciate any pointers or links to tutorials.


3:27 pm on Oct 31, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0

Hi mogwai,

I can't answer your question, but hopefully someone around here has used mod_usertrack before! <bump>


8:47 am on Nov 1, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 26, 2003
votes: 0

Thanks for that jdMorgan, looks like it's going to be a trip to the book shop to buy one of those fat apache manuals :)

Don't suppose anyone knows of a good one that covers mod_usertrack?


1:29 am on Nov 2, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:May 8, 2003
votes: 0

Make sure you have the following in the LoadModule section of httpd.conf:

LoadModule usertrack_module libexec/mod_usertrack.so
AddModule mod_usertrack.c
(obviously you need to make sure of the path on your box)

If you want to track the cookie in your log files you'll
need to tweak your LogFormat. This is what mine looks like:

LogFormat "%h %V %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Cookie}i\"" combined

Then you will need the following :

CookieTracking on
CookieName whatever
CookieExpires "6 months"

Of course the CookieExpires value is up to you as well as the CookieName.

That's it.