Login   Register  
PHP Classes
elePHPant
Icontem

Class: gStats

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Cesar D. Rodas  >  gStats  >  Download .tar.gz .zip  >  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
Related classes: , , , , , ,
Version: 1.0
PHP version: 3.0
License: GNU General Public License (GPL)
All time users: 1162 users
All time rank: 2654
Week users: 2 users
Week rank: 1677
Picture of Cesar D. Rodas
Author: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Packages: 36 Browse this author's classes Browse this author's classes
Country: Paraguay Paraguay - PHP jobs in Paraguay
Age: 24
All time rank: 71 in Paraguay Paraguay
Week rank: 13 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 23x

Winner: 5x


  Detailed description  
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.

 

  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

  Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
July 2007
Number 6
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%)
1411
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
Plain text file db_install.sql Data SQL for store information
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
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.