GitXplorerGitXplorer
d

Zend_Gdata_Analytics

public
39 stars
5 forks
0 issues

Commits

List of commits on branch master.
Unverified
0103e7cc23b46158c549953b0cc5471d7dddf2de

Merge pull request #14 from Kostanos/master

ddanielmitd committed 11 years ago
Unverified
8befdf85f68e974c440a215356a0b68af4f760f6

Added bounce rates constants

KKostanos committed 11 years ago
Unverified
a1ebd34d1c639e6f00bf62c47b2d0d3d4f4fd81b

Added Site Speed and Pageviews per Visit metrics

KKostanos committed 11 years ago
Unverified
eff55a7f2fd80b3df8afdcc8d69be05668f15b82

Merge with changes submitted to the ZF1 svn repository

ddanielmitd committed 12 years ago
Unverified
75d2bc79a152cdf57f1f444588bd3eac4de6a6e4

issue #8

ddanielmitd committed 13 years ago
Unverified
2376e6cebe5dc8dded4c037fdde21965b244eb1c

issue #7

ddanielmitd committed 13 years ago

README

The README file for this repository.

Zend_Gdata_Analytics

An additonal Zend_GData component to query data from Analytics.

Example

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

$query = $service->newDataQuery()
  ->setProfileId($yourID)
  ->addMetric(Zend_Gdata_Analytics_DataQuery::METRIC_VISITS) 
  ->addDimension(Zend_Gdata_Analytics_DataQuery::DIMENSION_KEYWORD) 
  ->addSort(Zend_Gdata_Analytics_DataQuery::METRIC_VISITS, true)
  ->setStartDate('2006-01-01') 
  ->setEndDate('2011-07-13')
  ->setMaxResults(10000); 

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

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

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