Login   Register  
PHP Classes

SmartGAPI: Display site statistics from Google Analytics

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

  Author Author  
Picture of Michele Andreoli
Name: Michele Andreoli is available for providing paid consulting. Contact Michele Andreoli .
Packages: 6 Browse all classes by Michele Andreoli Browse all classes by
Country: Italy Italy - PHP jobs in Italy
Age: 28
All time rank: 72425 in Italy Italy
Week rank: 387 Up17 in Italy Italy Up
Innovation award
Innovation award
Nominee: 3x

  Detailed description   Download Download .zip .tar.gz  
This class can display site statistics from Google Analytics.

It uses the Google Analytics client class by Stig Manning to retrieve site statistics by sending HTTP requests to the Google Analytics API Web server.

The main class can generate HTML and JavaScript that users jQuery to send AJAX requests that retrieves and displays the site statistics.

  Classes of Michele Andreoli  >  SmartGAPI  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: SmartGAPI
Base name: smartgapi
Description: Display site statistics from Google Analytics
Version: 0.3
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 1255 users
All time rank: 2767
Week users: 2 users
Week rank: 1120 Up
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Trackback   Applications   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Statistics Collecting, processing and reporting statistical data View top rated classes
Group folder image AJAX Interact with the Web server without page reloading View top rated classes

  Files folder image Screenshots  
File Role Description
Accessible without login Image file shot.jpg Screen screenshot

  Innovation Award  
PHP Programming Innovation award nominee
March 2011
Number 2

Prize: One subscription to the PDF edition of the PHP Architect magazine
Google Analytics is a service used by many Web site publishers to obtain statistics about the accesses of the users to their sites.

Usually you need to log in the site to look at the reports that provide such statistics.

This class implements a solution to display on any Web page the statistics of access to a Web site retrieved from Google Analytics using its API.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Trackback links  
Link Description
Is there anything that allows me to offer statistics to clients of my startup platform? You can use Google Analitics API to pull some data to show to your customers...

  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
Files folder imagejs (1 file)
Files folder imageutils (2 files)
Plain text file index.php Example Example of use
Plain text file SmartGAPI.class.php Class smartGAPI class

  Files  /  Files folder image js  
File Role Description
  Plain text file jquery-1.4.2.js Data jquery library

  Files  /  Files folder image utils  
File Role Description
  Plain text file gapi.class.php Class google api
  Plain text file request.php Example script for the ajax request

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