Creating an AppMetrica connection in Yandex DataLens
To create an AppMetrica connection:
-
Open the connection creation page
. -
Under Files and services, select the AppMetrica connection.
-
Configure the connection as follows:
-
OAuth token: Click Get token or enter the OAuth token manually to access the AppMetrica data.
-
App: Specify one or more applications to connect to.
-
Accuracy: Set the data accuracy (sampling rate). You can change the accuracy after you create the connection.
Note
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.
You cannot connect multiple tag from different accounts at the same time.
-
-
Leave the Automatically create dashboard, charts, and dataset on connection option enabled if you need a folder with a standard set of datasets and charts and a ready-made dashboard.
-
Click Create connection.
-
Select the workbook to save your connection to or create a new one. If using legacy folder navigation, select a folder to save the connection to. Click Create.
-
Enter a name for the connection and click Create.
Note
- By default, AppMetrica data is exported for the last 60 days. If you add a filter by date to the chart, the AppMetrica filter will be reset. We recommend adding a filter by date as an offset relative to the current date.
- On the AppMetrica side, there is a quota of three concurrent requests per API key.
For datasets based on AppMetrica connections, the following groups of metrics are available:
- Installations
- Audience
- Client events
- Push campaigns
- Audience + social demographics
Connections to AppMetrica do not support public access to objects created on top of it. To share a dashboard or chart created based on this connection, use one of the following methods:
- Add a user to your organization or cloud and grant them access to a dashboard or chart.
- Export data to a Managed Service for ClickHouse® cluster and use a connection to the ClickHouse® database as a source. To learn more about the Managed Service for ClickHouse® pricing plans, see Pricing.
Getting an OAuth token
You can specify an OAuth token of any Yandex account.
To get access to a Yandex Metrica tag of a username other than your current Yandex account, follow these steps:
- Switch to an account that has access to Yandex Metrica.
- Get a token here
. If required, 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.
ClickHouse® is a registered trademark of ClickHouse, Inc