Sunday, October 20th, 2013
This post briefly covers connecting to Google Anayltics with a service account (Google Api Console).
In order to connect to a Google Analytic (GA) profile, the following are needed
Sample PHP code to get the number of visitors to a site (profile ID)
Once the GA client is set-up then the following code will return hourly GA data for the given profile.