The examples, the registration in the Google Developers Console, I find everything very involved.
How to create a "simple" Hello Analytics in PHP?
The examples, the registration in the Google Developers Console, I find everything very involved.
How to create a "simple" Hello Analytics in PHP?
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.