Getting an OAuth token

Yametrika3x1 min readPage 1 of 3
  • Go to oauth.yandex.ru and click “Register a new application”.
  • Enter any application name and under permissions choose “Yandex Metrica” → “Read statistics and parameters of your own and trusted counters”.
  • Copy the Client ID of the new application.
  • Open this link in your browser with your Client ID:
    https://oauth.yandex.ru/authorize?response_type=token&client_id=YOUR_CLIENT_ID
  • Yandex redirects you to a page with the token in the address bar — copy the value of the access_token parameter.
  • Paste the token into the OAuth token field on the Settings tab.