PHP Classes
elePHPant
Icontem

SmartGAPI: Display site statistics from Google Analytics

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-08-30 (2 years ago) RSS 2.0 feedStarStarStar 53%Total: 1,445 All time: 2,614 This week: 1,113Up
Version License PHP version Categories
smartgapi 0.3GNU General Publi...5.0PHP 5, Statistics, AJAX
Description Author

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.

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
Picture of Michele Andreoli
  Performance   Level  
Name: Michele Andreoli <contact>
Classes: 7 packages by
Country: Italy Italy
Innovation award
Innovation award
Nominee: 4x

Screenshots  
  • shot.jpg
  Files folder image Files  
File Role Description
Files folder imagejs (1 file)
Files folder imageutils (2 files)
Accessible without login Plain text file index.php Example Example of use
Plain text file SmartGAPI.class.php Class smartGAPI class

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

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,445
This week:0
All time:2,614
This week:1,113Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:1818