Website Click Tracker Written in PHP

While looking at's webserver access log, I thought it would be interesting to see how the users were navigating the website. After not finding a free solution written in PHP, I decided to write my own.

If you have ever looked at a webserver access log file, you know that it is cluttered with search bot requests and ancillary file requests for images, etc.
AWSTATS would seem like the perfect place to generate a click track report. It already reads the log file, identifies robots and user sessions to generate a traffic report. I would have considered writing an AWSTATS plug-in if it were written in PHP, it was written in PERL instead.

I was able to use the AWSTATS robots file, with minor changes, to identify robots.

Click Tracker creates a simple html page showing user navigation thru a website.

The source code is available here.

Sample report: