News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sameer Borate's Blog:
Reading Google Analytics data from PHP
February 03, 2010 @ 11:06:08

In a new post to his blog today Sameer Borate has a tutorial about linking your application to the Google Analytics backend and using the requestReportData method to pull back interesting statistics on your sites.

Although no standard library is available from Google for PHP, some small and easy interfaces are available out there. In this post we will see how to access Google Analytics data using PHP using the GAPI library.

The GAPI library is an open sourced project that provides a direct, easy to use interface you can use to connect directly to the Analytics service without having to handle all of the manual stuff yourself. Sameer shows how to get information from the service like the top ten sources and visit counts, regional information and how to do some filtering on the results returned.

0 comments voice your opinion now!
google analytics interface gapi


blog comments powered by Disqus

Similar Posts

Adam Trachtenberg's Blog: Stupid PHP one liners: Google calc

Matthew Weier O'Phinney: On php-fig and Shared Interfaces

Developer.com: Creating RSS Feeds with the Zend Framework for Fun and Profit

Sameer Borate's Blog: Google Translation PHP wrapper

NetTuts.com: PDO vs. MySQLi: Which Should You Use?


Community Events





Don't see your event here?
Let us know!


release language series framework symfony tips library api developer list conference community interview bugfix laravel podcast deployment voicesoftheelephpant introduction zendserver

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework