Integration with Yandex Cloud
This integration allows you to collect non-aggregated data from Yandex Metrica into your managed ClickHouse cluster in Yandex Cloud.
This integration offers several advantages compared to LogsAPI:
Data is streamed in real time. The delay between the time of the event and adding its record to ClickHouse is 15 minutes or less.
- Extended set of fields:
Category Fields Content analytics data - Article topics and authors.
- Traffic source.
- Clicks to other articles on the site.
- ID of the article that referred to the current article.
- Article view time.
- Full scrolls.
Traffic source details - Yandex Direct ad click ID (YCLID).
- Ad ID.
- Placement site.
- QR code scan.
Customer and order data from CRM - OrderID hash and UserID hash.
- Order version.
- Order creation and update time.
- Order status.
- Names and quantities of products in the order.
Category Fields Content analytics data - Article topics and authors.
- Traffic source.
- Clicks to other articles on the site.
- ID of the article that referred to the current article.
- Article view time.
- Full scrolls.
Traffic source details - Yandex Direct ad click ID (YCLID).
- Ad ID.
- Placement site.
- QR code scan.
Customer and order data from CRM - OrderID hash and UserID hash.
- Order version.
- Order creation and update time.
- Order status.
- Names and quantities of products in the order.
How it works
Getting started
- Activate the “Yandex Metrica Pro” package.
- Create a ClickHouse cluster in Yandex Cloud.
- Set up a connection to the created cluster.
- In Data Transfer, connect a data source. To do this, select the data type (hits/sessions), required fields, and specify:
- Tags whose data you want to export.
- An OAuth token of the user who has edit access to the tag.
- Create a transfer between the source and the target.
- Start the transfer.
To learn more, see the Yandex Cloud documentation.
After the transfer is started, provided that all its parameters are valid and the user has relevant permissions, the transfer will start receiving, processing, and saving data to the specified ClickHouse cluster.
To monitor the transfer process, you can view metrics and logs in Data Transfer. You can also disable the transfer or modify it.
In Yandex Metrica, you can see which tags of your organization have active transfers and disable them if needed.
To learn more, see How to work with data. You can manage your transfers in Yandex Cloud and update them as necessary. You can view your active transfers and remove tags from them in your Yandex Metrica Pro account.