Creating a Metrica connection
Connecting to Yandex.Metrica
To create a Yandex.Metrica connection:
Go to the connections page.
Click Create connection.
Select Metrica as the connection type.
Specify the connection parameters:
Connection name. Specify a name for the connection. You can set any name.
OAuth token. Click Get token or enter the OAuth token manually to access the Yandex.Metrica data.
Tag. Specify one or more tracking tags to connect to. You can select them from the list or enter them manually separated by commas.
Connection. Choose Direct access as the connection type.
If you want to get access for a username other than your current Yandex account or there is no relevant tag in the list, see Getting an OAuth token.
Click Connect. The connection appears in the list.
Getting an OAuth token
You can specify an OAuth token of any Yandex account.
To get access to a Yandex.Metrica tag for a username other than your current Yandex account, follow these steps:
- Switch to an account that has access to Yandex.Metrica.
- Use the link to get a token. If necessary, allow access to the application, then copy the token.
- Switch to an account that has access to Yandex DataLens.
- Create a new connection to Yandex.Metrica and paste the obtained token from the clipboard to the OAuth token field.