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 counter.
When working with segments, there are some differences you should consider:
- 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.