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

PHPBuilder.com:
Create Custom Google Analytics Interfaces Using PHP
Mar 19, 2010 @ 14:13:49

On PHPBuilder.com today there's a new tutorial from Jason Gilmore showing how you can interface your application with the Google Analytics service through its HTTP API. Jason shows ho to use the Google Analytics API PHP Interface tool to take most of the hard work out of it.

Google Analytics (GA) is the de facto solution for analyzing web site traffic and trends. [...] If you're not regularly relying upon Google Analytics or a similarly capable analytical service, then you're left at a major competitive disadvantage in terms of your ability to effectively understand the interests, demographics, and technical requirements of your audience.

Using the Google Analytics site is a pleasant experience, but having to log in just to check your numbers each day can get tiresome quickly. Jason introduces a way, using the GAPI class to pull things like traffic statistics and account information. More examples of how it can be used are shown on the GAPI website.

tagged: googleanalytics interface http tutorial gapi

Link:

Sameer Borate's Blog:
Reading Google Analytics data from PHP
Feb 03, 2010 @ 17: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.

tagged: google analytics interface gapi

Link:


Trending Topics: