Reputation: 1788
I developed web application where I need to allow users to embed their google analytics dashboard. In order to access analytics dashboard I need client_id
and service_email
.
Is there a way to grab client_id
and service_email
using OAuth
, I don't want to force users to manually create client_id
so they can integrate dashboard.
Just to mention I'm using Laravel 4
.
Upvotes: 0
Views: 193
Reputation: 2894
I get what's the issue here.
You actually have to set up a new project in https://console.developers.google.com. That is where you actually enable OAuth to Access Google Analytics API. The client_id
and service_email
you are referring to are actually the developer's one, which are accessible under Project > API & auth > Credentials in the Dashboard.
There's quite a lot to take in. I'll be available to clarify concepts for you.
References:
https://developers.google.com/accounts/docs/OAuth2
https://developers.google.com/console/help/new/
Upvotes: 2