A
A
Alexander2016-05-07 11:13:59
JavaScript
Alexander, 2016-05-07 11:13:59

Tweaking Google Analytical Dashboard (EMBED API)?

I generated OAuth 2.0 client IDs here: console.developers.google.com
I want to install this dashboard https://ga-dev-tools.appspot.com/embed-api/basic-d... I
took the full html from here https:// developers.google.com/analytics/devguides/...
in CLIENT_ID put:

var CLIENT_ID = '73628358111-ka4ifcre1o4umi573lavubq8v212eq8sm.apps.googleusercontent.com';

Then I upload it to the server, click on the yellow Access Google Analytics button, and then it opens a pop-up browser window and in it:
400. That’s an error.

Error: redirect_uri_mismatch

Application: mysit

You can email the developer of this application at: [email protected]

The JavaScript origin in the request, http://mysit.com, does not match the ones authorized for the OAuth client. Visit https://console.developers.google.com/apis/credentials/oauthclient/73628354811-ka4ifcre1o4umi573lavubq8v12eq8sm.apps.googleusercontent.com?project=73628354811 to update the authorized JavaScript origins.

At analytics.google.com my site is being tracked. But I can't figure out where I've missed?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question