Website Click Tracker Written in PHP

While looking at globalspecies.org’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:
clicktrack

30 thoughts on “Website Click Tracker Written in PHP”

  1. I’m now not positive where you are getting your info, however great topic. I needs to spend a while finding out more or working out more. Thank you for wonderful info I used to be looking for this information for my mission.

  2. It is appropriate time to make a few plans for the long run and it is time to be happy. I’ve learn this put up and if I could I wish to counsel you some interesting things or advice. Perhaps you can write subsequent articles referring to this article. I wish to read even more issues about it!

  3. Thank you for sharing excellent informations. Your site is so cool. I am impressed by the details that you?¦ve on this blog. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for more articles. You, my friend, ROCK! I found just the info I already searched all over the place and just could not come across. What an ideal site.

  4. Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a bit, but instead of that, this is magnificent blog. A great read. I’ll definitely be back.

  5. Needed to put you that bit of observation just to thank you again over the unique thoughts you have documented in this article. This has been really surprisingly open-handed with people like you in giving unhampered all that many of us could possibly have sold for an electronic book to get some cash for themselves, particularly considering the fact that you might have done it in case you considered necessary. The advice also acted to be a good way to comprehend someone else have the same keenness really like my own to understand a lot more in respect of this condition. I’m certain there are many more fun situations in the future for individuals that look into your site.

  6. obviously like your web-site but you have to take a look at the spelling on quite a few of your posts. A number of them are rife with spelling issues and I to find it very bothersome to tell the truth on the other hand I will surely come again again.

  7. With havin so much content and articles do you ever run into any problems of plagorism or copyright violation? My blog has a lot of exclusive content I’ve either created myself or outsourced but it seems a lot of it is popping it up all over the web without my agreement. Do you know any solutions to help prevent content from being stolen? I’d truly appreciate it.

  8. It’s really a great and useful piece of info. I am glad that you shared this useful info with us. Please keep us informed like this. Thanks for sharing.

  9. Along with almost everything that seems to be building throughout this particular subject matter, all your viewpoints happen to be quite exciting. Having said that, I beg your pardon, but I can not subscribe to your entire strategy, all be it exhilarating none the less. It would seem to us that your comments are generally not totally justified and in actuality you are generally yourself not entirely confident of the argument. In any case I did take pleasure in reading it.

  10. I do trust all of the concepts you’ve presented in your post. They’re very convincing and will definitely work. Nonetheless, the posts are too quick for newbies. Could you please prolong them a little from next time? Thanks for the post.

  11. The next time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought youd have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention.

Leave a Reply

Your email address will not be published. Required fields are marked *