Question

In one page on my personal site, I like to be able to see some data get from Google Analytics.

I like to have a list of all my site and the average visitor per week or per month over the current year

I have check some solution:

  1. Yahoo Pipe (look complicated)
  2. Google Analytics PHP API class(look nice)
  3. Google Analytics API (look official)
  4. Dimension Analyzer for Google Analytics(look fancy)

So at this point, it have done my research, but none give me something i like to have. Getting a JSON from google would be nice. I will have to parse a XML maybe, but i like to see simpler solutions.

ANYthing would be nice too see

Was it helpful?

Solution

The current version of the Core Reporting API supports this.

You can use the PHP client to access the API. You'll need to register your project in the API console to obtain OAuth 2.0 client ID and secret.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top