Trackr 0.1 – jQuery based user interaction tracking (PHP/MySQL)
Trackr is a very simple, lightweight (well, if you’re already using jQuery) user interaction tracker. It’s not particularly robust and is only in a fairly simple form right now.
The back end is written in PHP using MySQL for storage, but could easily be implemented in other languages.
To log data, you simply add a call to Trackr.init() to the page load event, passing the desired options as the only parameter to the function.
There are a variety of options that can be specified and for more information please see the test page.
You can get it here (includes jQuery 1.3.2).
I liked the demo
Sure will try it out on and explore possibilities to use this thing somehow for logging user movement on page.
Hi there!
I’m glad you like it! I’ll hopefully do some more work on this at some point, add some polish… I’d be interested in your experiences with it, if you extend it at all also I’d love to know how it works out… maybe a little too big brother I guess… hehe Thanks!
Thanks for the excellent code.
It’s just what I was looking for.
I would like to enhance it to suit my needs more fully. I want it to look in the url for “?VIP=” in url and use the value as a session number. I send out a proposal or portfolio link in my email and when they click the email link I want to know when they first see my site, how long it took to load, all the browser and ip address i can get, etc. I want to know what exactly they look at and click and for how long and it’s not a lot of users (an online proposal of mine might get looked at 2-10 times on average before being revised), so data size is not an issue. Sometimes I might want to run it over a sample size much larger of say 100 random users to see if anybody actually clicks a specific button, or if it’s just slowing down the page comprehension time.
I have a system currently in place that does all the recording above from a flash website including the PHP, MySQL, using as3 code. Except the mouse coordinates playback feature you have created using Jquery is very attractive and elegant, so I will want to add the functionality for my non-flash pages and replicate you’re clean and beautiful pseudo code in AS3 for the Flash websites.
Any plans to make a WordPress plugin for this?
Hi Steve,
I’ve got no plans currently to work on a WordPress plugin at the moment, but I would hope that the script could be added to the header of the blog and would still work as anticipated…
I haven’t actually tested this however, but I’d be very interested in hearing about your experiences. I may be able to help directly if you contact me with any problems you encounter.
Hope that helps,
Dom