PHP Classes

SmartGAPI: Display site statistics from Google Analytics

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 1,509 All time: 2,597 This week: 63Up
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: 216 Up14 in Italy Italy Up
Innovation award
Innovation award
Nominee: 4x

Screenshots (1)  
  • shot.jpg
  Files folder image Files (6)  
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 (6)  /  js  
File Role Description
  Accessible without login Plain text file jquery-1.4.2.js Data jquery library

  Files folder image Files (6)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,509
This week:0
All time:2,597
This week:63Up
 User Ratings  
 
 All time
Utility:78%StarStarStarStar
Consistency:82%StarStarStarStarStar
Documentation:-
Examples:71%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2044