Clickstream Analysis (User Path Navigation Analysis) using Open Source Tools
Enable JavaScript to sign up for our newsletter!
Web Analytics Services
Tool Selection, Implementation and Training
Bookmark this resource
... with your bookmark service (hover over a logo to see service name) . Link broken? Let us know .
The following is very minimal documentation intended to assist in the evaluation of open source clickstream analysis tools. The exact syntax works on Linux; Mac and Windows users will need to modify accordingly.
Contents
StatViz Installation, Configuration and Usage
Download StatViz .
Unpack the achieve, i.e. tar -xvzf statviz-0.5.tgz
cd statviz-0.5 # change to program directory
cp example.conf mydomain .conf # copy example configuration to one for your domain, i.e. antezeta.conf
edit mydomain .conf. At a minimum, review the following values:
LogFilePath=path to log file # i.e. /var/log/httpd/access_log or similar
Domain=mydomain # i.e. antezeta.com
SkipExts=jpeg, jpg, gif, swf, css, js, ico, png, rss # add any file extensions to exclude, i.e. rss, txt, htc.
ReferrerFilterMode=internal # default is all. Change if you are only interested in navigation once a user is already in site.
Verify php interpretor is installed: $ which php . Ouput should be similar to /usr/bin/php
Modify the first line of statviz.php to match the location of the php program, if necessary:
-#!/usr/local/php/bin/php -d output_buffering=0
+#!/usr/bin/php -d output_buffering=0
Install php Config module if not already present: $ pear -v install Config
Verify graphviz is installed: $ which graphviz . Fedora Core 4 users can install this from the extras repository using $ yum install graphviz .
Run statviz: $ ./statviz.php --config antezeta.conf
Check the subdirectory statviz-output for created files. statviz-output/ should contain one pairs.dot file and multiple track-host-name .dot files.
View output $ dotty statviz-output/pairs.dot
Right click menu options include
birdseye view
zoom in
zoom out
Viewing StatViz with the ZGRViewer, part of the ZVTM - Zoomable Visual Transformation Machine
A better viewer is the ZGRViewer . ZGRViewer requires Java runtime environment v1.4.0 or better.
Download ZGRViewer
unzip zgrviewer-0_5_0.zip
cd zgrviewer
./run.sh # MS Windows users will want run.bat
Choose View -> Preferences from the menu
Review and update directory settings. The default settings are for Windows executables.
Open statviz-output/pairs.dot either with dot or with neato.
Use the mouse wheel to zoom in or out.
Use the overview window (ctrl-o) to more easily navigate a large diagram.
[Contents ↑]
Pathalizer Installation, Configuration and Usage
An alternative to StatViz is Pathalizer .
Download Pathalizer . Verify your system has gs, (dot) graphviz and installed:
which dot
which gs
ls /usr/lib | grep libnetpbm
$ tar xzvf pathalizer-0.7.tar.gz
$ cd pathalizer-0.7.tar.gz
$ make
$ su make install
This will install the following programs:
cp bin/pathalizer /usr/local/bin
cp bin/apache2events /usr/local/bin
cp bin/event2dot /usr/local/bin
cp bin/ps2img /usr/local/bin
$ mkdir data
Download our configuration file pathalizer.conf and modify as needed.
$ pathalizer -o dot -d data -f ./pathalizer.conf path to log file # i.e. /var/log/httpd/access_log or similar. Change dot to pdf for pdf output.
access_log.dot and / or access_log.pdf files will be created in the data directory. Use a pdf or dot viewer.
[Contents ↑]
Further Information on Web Analytics
Let Antezeta help you in the selection, implementation and usage of a Web Analytics solution!
C ontact us to find out more about this topic and the rest of the Web Ecosystem.
Is there something that should be listed here? C ontact us with feedback.