Integration with Yandex Cloud

  1. How it works
  2. Getting started
Note. This feature is only available with the Yandex Metrica Pro package.

This integration allows you to collect non-aggregated data from Yandex Metrica into your managed ClickHouse cluster in Yandex Cloud.

Attention. The integration detailed below is not backward compatible with the Logs API in terms of data format.

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.
    • Full list of fields exported at the hit level.

    • Full list of fields exported at the session level.

How it works



Getting started

  1. Activate the “Yandex Metrica Pro” package.
  2. Create a ClickHouse cluster in Yandex Cloud.
  3. Set up a connection to the created cluster.
  4. 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.
  5. Create a transfer between the source and the target.
  6. 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.