Skip to content
Latest commit 0103e7c Jul 31, 2013 @danielmitd Merge pull request #14 from Kostanos/master
Added Site Speed and Pageviews per Visit metrics
Failed to load latest commit information.
Zend/Gdata Added bounce rates constants Jul 29, 2013
.gitignore issue #9 Nov 16, 2011 Merge with changes submitted to the ZF1 svn repository Sep 20, 2012


An additonal Zend_GData component to query data from Analytics.


$client = Zend_Gdata_ClientLogin::getHttpClient($email, $password, Zend_Gdata_Analytics::AUTH_SERVICE_NAME);
$service = new Zend_Gdata_Analytics($client);

$query = $service->newDataQuery()
  ->addSort(Zend_Gdata_Analytics_DataQuery::METRIC_VISITS, true)

$result = $service->getDataFeed($query); 

foreach($result as $row){
  /** … **/

More on the blog. Also take a look in the ZF1-Framework.

Something went wrong with that request. Please try again.