Login   Register  
PHP Classes
elePHPant
Icontem

gStats

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Cesar D. Rodas
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Packages: 36 Browse all classes by Cesar D. Rodas Browse all classes by
Country: Paraguay Paraguay - PHP jobs in Paraguay
Age: 25
All time rank: 71 in Paraguay Paraguay
Week rank: 16 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 23x

Winner: 5x


  Detailed description   Download .zip .tar.gz  
This class can be used to keep track of the visits the links that are clicked on pages of a site.

It uses Javascript code to collect information about site visitors and the intercept the links that they click.

The collected information is sent to a PHP script that uses the class to record the information on a MySQL database for posterior statistical processing.

The class can keep track of unique visitors using PHP sessions. It also records the information about the browsers that are used and referral page URL.

It also keeps track of the links that are clicked including the URL and the text of the link. Clicks on ads from Google AdSense and Yahoo Publisher Network are recorded in a separate table.

  Classes of Cesar D. Rodas  >  gStats  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: gStats
Base name: gstats
Description: Keep track of site visits and link clicks
Version: 1.0
PHP version: 3.0
License: GNU General Public License (GPL)
All time users: 1254 users
All time rank: 2670
Week users: 0 users
Week rank: 2173 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image User Management User records, authentication and session handling View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
July 2007
Number 6

Prize: One book of choice by SAMS
There are many solutions that provide metrics about the audience of a site that give all sorts of information.

However, one detail that often is not provided is which links the users are clicking when they leave your site to visit another.

This package implements a solution that can provide the information about user clicks.

It may be particularly useful when you want to track the links that the users clicked on advertising placed for instance by Google AdSense or Yahoo Publisher Network.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (79.2%)
Sufficient (62.5%)
-
Not sure (54.2%)
-
-
Not sure (51.2%)
1461
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file db_install.sql Data SQL for store information
Accessible without login Plain text file gStats.js Data Javascript that gather information
Plain text file gStats.php Class main class
Accessible without login Plain text file example_page.html Data Example of how to include the code into a page
Accessible without login Plain text file example_track.php Example Example of tracking

Download all files: gstats.tar.gz gstats.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.