Yandex.Metrica collects and processes a large volume of information about site users. For certain business cases, sometimes you need to get a subset of data from this large dataset.
In addition to selecting user sessions for a specific action (such as viewing a specific page or click-throughs from a particular source), Yandex.Metrica lets you select user parameters such as gender, age, and so on.
It may also be important to get statistics on users who performed a certain action in the past, and analyze the connection between past and present behavior. The data that Yandex.Metrica uses for making a report like this can be shown as follows:
To build a report with just the data you are looking for, create a segment with the relevant conditions.
You can create segments both in the web interface and using the Yandex.Metrica API. Each of these ways allows creating up to 500 segments. This means that you can have a total of up to 1000 segments per tag.
When working with segments, keep in mind:
- Segments created in the web interface can be used in Yandex.Direct and Yandex.Audience.
- Segments created via the API can only be used for retargeting in Yandex.Direct. They are not shown in the Yandex.Metrica web interface.
- In some cases, a segment created in one of the Yandex.Metrica reports does not work in another report or is not available in Yandex.Direct and Yandex.Audience. For example, a segment created in a Direct, costs report can't be used in any other report, and this segment can't be used when selecting an audience in Yandex.Direct.