Project

General

Profile

Docs ModUserTrack » History » Revision 11

Revision 10 (zkv, 2008-11-21 20:03) → Revision 11/15 (nitrox, 2008-11-21 20:33)

h1. User Tracking h1{color:#555555;}. Module mod_usertrack 

 {{>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> <pre style='background-color:#dfefef; border:1px solid #dddddd; margin:0; margin-top:10px; margin-bottom:10px; padding:10px; padding-left:30px;'> 
 server.modules = { 
     ..., 
     "mod_usertrack", 
     ... 
 } 
 </pre> 

 h2. Options 

 *usertrack.cookie-domain* table{border:1px solid #dddddd; background-color:#efefef;}. 
 Sets |_.Name|_.Description|_.Example| 
 |usertrack.cookie-domain|Sets the domain name to which this cookie applies. 
 e.g.: usertrack.cookie-domain applies.|usertrack.cookie-domain = ".example.com" 

 *usertrack.cookie-max-age* ".example.com"| 
 Sets |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 expire.|usertrack.cookie-max-age = 60 

 *usertrack.cookie-name* 60| 
 This |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 a-z.|usertrack.cookie-name = "mycookie" "mycookie"|