Good programming practices

Mouse tracking with HeatMap

November 20th, 2011

I made new project for tracking mouse events on web sites. It saves mouse movements and clicks. Collected data are visualized as heat map images.

To start use HeatMap you have to deploy it on a server (I used GlassFish) and setup database. Then insert JavaScript code on chosen web pages, which will gather and send mouse positions. This step is similar to installation of Google Analytics. On preview page will be displayed partially transparent heat map over tracked web page. There are several options to limit data to the interesting only.

HeatMap is written in Java 7 and use Hibernate to manage data. I publish this project with GPL 3 license. See source code repository on GitHub or download Heatmap.zip (6 MB) ready to deploy.

Leave a Response

You must be logged in to post a comment.