PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 1,508 This week: 1All time: 2,597 This week: 571Up
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 is available for providing paid consulting. Contact Michele Andreoli .
Classes: 7 packages by
Country: Italy Italy
Age: 38
All time rank: 54018 in Italy Italy
Week rank: 420 Up17 in Italy Italy Up
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,508
This week:1
All time:2,597
This week:571Up
 User Ratings  
 
 All time
Utility:78%StarStarStarStar
Consistency:82%StarStarStarStarStar
Documentation:-
Examples:71%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2014