Project

General

Profile

Docs ModUserTrack » History » Revision 12

Revision 11 (nitrox, 2008-11-21 20:33) → Revision 12/15 (nitrox, 2012-08-11 10:42)

h1. User Tracking Module 

 {{>toc}} 

 *Module mod_usertrack* 

 h2. Description 

 Clickstream is the series of page visits and associated clicks executed by a website visitor when navigating through the site. Usertrack module sets a cookie on the user's side in order to enable clickstream logging to track user activity. 

 h2. Installation 

 In order to use mod_usertrack, you need to load it first. Make sure you have following line inside your configuration file: 
 <pre> 
 server.modules = { 
     ..., 
     "mod_usertrack", 
     ... 
 } 
 </pre> 

 h2. Options 

 *usertrack.cookie-domain* 
 Sets the domain name to which this cookie applies. 
 e.g.: usertrack.cookie-domain = ".example.com" 

 *usertrack.cookie-max-age* 
 Sets the maximum duration in seconds of the cookie. If not specified it will not add a 'max-age' to the cookie, meaning it will not expire. 
 e.g.: usertrack.cookie-max-age = 60 

 *usertrack.cookie-name* 
 This option allows the setting of the name of the cookie. The default is 'TRACKID'. Currently it only allows a-z. 
 e.g.: usertrack.cookie-name = "mycookie"