Skip to content

Reading Google Analytics data from PHP : CodeDiesel

Link To Full Story: www.codediesel.com

Google Analytics has become a important part of any web sites traffic analysis strategy. And with the release of the Analytics API people have been able to create custom reports and mashups for their organizations. 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.

Installing the GAPI class

The following code uses the GAPI - Google Analytics API PHP Interface to help us access the Analytics data. So before proceeding you need to download the class file from the GAPI home.

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*