PHP Classes

Click-tale: Track user clicks on pages and show a click graph

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 41%Total: 927 This week: 1All time: 3,853 This week: 75Up
Version License PHP version Categories
click-tale 0.1Public Domain5.0PHP 5, Databases, Graphics, Statistics, A...


This class can track user clicks on pages and show a click graph.

It can keep track of the page and position of the clicks that users do on Web pages using JavaScript code provide as a separate file. It listens to clicks and sends the information to the server with AJAX requests using jQuery.

The click information is stored in a MySQL database table. The class can perform queries to retrieve click statistics by user session, page URL or date.

The class can also create an image that shows a map of the clicks done by the users on a given page.

Accessing the example script directly without parameters will show links to present the different statistics or the map of clicks.

Innovation Award
PHP Programming Innovation award nominee
June 2012
Number 4

Prize: One book of choice by Packt
The usability of Web pages can be evaluated by using expensive eye tracking solutions that track the parts of the page where the users are looking and clicking.

Eye tracking studies can produce useful heat map charts that identify the areas of the page that the user is paying more attention, so you can see if you need to make adjustments to improve Web page areas that need more attention.

This package provides a simpler but yet more viable solution that uses JavaScript to keep track of the areas that the user clicks on a Web page.

It can produce useful heat map charts that identify the most clicked page areas.

Manuel Lemos
Picture of Frederik Yssing
  Performance   Level  
Name: Frederik Yssing <contact>
Classes: 4 packages by
Country: Denmark Denmark
Age: 46
All time rank: 122810 in Denmark Denmark
Week rank: 77 Up1 in Denmark Denmark Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file click-tale.js Data the javascriptfile.
Plain text file click-tale.php Class the php file containing the class

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:3,853
This week:75Up
 User Ratings  
 All time