kentuck1213
@kentuck1213

Прикрутка Google Analytical Dashboard (EMBED API)?

Тут сгенерировал OAuth 2.0 client IDs : console.developers.google.com
Хочу установить этот dashboard https://ga-dev-tools.appspot.com/embed-api/basic-d...
Отсюда взял полный html https://developers.google.com/analytics/devguides/...
в CLIENT_ID сую :
var CLIENT_ID = '73628358111-ka4ifcre1o4umi573lavubq8v212eq8sm.apps.googleusercontent.com';

Затем заливаю на сервер, жму на жёлтую кнопку Access Google Analytics после чего открывает попап окно браузера а в нем:
400. That’s an error.

Error: redirect_uri_mismatch

Application: mysit

You can email the developer of this application at: mygmail@gmail.com

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.

В analytics.google.com мой сайт отслеживается. Но не могу понять где что я упустил ?
  • Вопрос задан
  • 337 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы