How to use the Google Analytics API?

3

The examples, the registration in the Google Developers Console, I find everything very involved.

How to create a "simple" Hello Analytics in PHP?

    
asked by anonymous 25.03.2014 / 18:50

1 answer

2

I was able to solve the same problem this way:

At the Console, you need to create an authorization for OAuth and Public API Access.

Both should request access from http://localhost , if you are accessing locally.

If you have published your code, you need to enter the URL.

After that, you get the OAuth clientId and public API Access apiKey.

Ready, in possession of these codes you will succeed.

    
27.03.2014 / 11:38