---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://yandex.com/support/metrica/en/general/segmentation.md
  - https://yandex.com/support/metrica/es/general/segmentation.md
  - https://yandex.com/support/metrica/pt/general/segmentation.md
  - https://yandex.com/support/metrica/ru/general/segmentation.md
  - https://yandex.com/support/metrica/tr/general/segmentation.md
  - https://yandex.com/support/metrica/zh/general/segmentation.md
title: Data segmentation
description: To build a report with just the data you are looking for, create a segment with the relevant conditions.
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/metrica/en/llms.txt


# Data segmentation

Yandex Metrica [collects and processes a large volume](https://yandex.com/support/metrica/en/general/how-it-works.md) 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:
![](../_assets/user-centric-timeline.png)

To build a report with just the data you are looking for, [create a segment](https://yandex.com/support/metrica/en/general/segmentation-report.md) with the relevant conditions.

Segments can be created not only in the web interface but also using the [Yandex Metrica API](https://tech.yandex.com/metrika/). 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](https://yandex.com/support/direct/impression-criteria/retargeting-lists.html) and [Yandex Audience](https://yandex.com/support/audience/segments/segment-new.html).
- 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, you can't use a segment created in a [Yandex Direct, costs](https://yandex.com/support/metrica/en/sources/direct-clicks.md) report in any other report, nor can you use it when selecting an audience in Yandex Direct.


{% note info %}

You can use the API to modify segments that were created in the web interface, but they will no longer be shown in the web interface after this.

{% endnote %}


[Segmentation in reports](https://yandex.com/support/metrica/en/general/segmentation-report.md)

[Managing segments](https://yandex.com/support/metrica/en/general/segmentation-segments.md)

[Segmentation examples](https://yandex.com/support/metrica/en/general/segmentation-examples.md)

<!-- source: en/_includes/buttons/chat-button.md -->
[Chat with us](https://yandex.com/chat/#/user/036e6a02-3620-9cdc-4c5e-a34667a7379e?utm_source=spravka){.button}

<!-- source: en/_includes/styles/href-to-button.md -->

<!-- endsource: en/_includes/styles/href-to-button.md -->
<!-- endsource: en/_includes/buttons/chat-button.md -->

<!-- source: en/_includes/buttons/mail-button.md -->
<div class="cut-button">

{% cut "Write an email" %}

<!-- source: en/_includes/popup/id-popup/wrong-sup.md -->
Please note: Our support team will never initiate a call to you. Do not follow any instructions of people who call you and introduce themselves as the Yandex Metrica support team.
<!-- endsource: en/_includes/popup/id-popup/wrong-sup.md -->

<div style="padding: 15px;
     margin: 10px 0;
     background: #FFFFFF;
     border-radius: 10px;
     border: 1px solid var(--g-color-line-generic);">
  <iframe style="background: #FFFFFF;"
        height="700"
        width="100%"
        frameborder="0"
        src="https://forms.yandex.com/surveys/1706/?&iframe=1&lang=en">
  </iframe>
</div>

{% endcut %}

</div>

<!-- source: en/_includes/styles/cut-button.md -->

<!-- endsource: en/_includes/styles/cut-button.md -->
<!-- endsource: en/_includes/buttons/mail-button.md -->

<!-- source: en/_includes/footer-links.md -->
- - -

<div class="borderless-table">

#|
||
Useful links

- [Demo tag](https://metrica.yandex.com/r/dashboard?)
- [Add a tag](https://metrica.yandex.com/add/)
- [Free tag setup](https://yandex.com/promo/freeservice/metrica?utm_source=help_metrica_en&utm_medium=cpc&utm_campaign=1)
- [Yandex Metrica API](https://tech.yandex.com/metrika/)
- [Suggest your idea](https://yandex.com/support/metrica/troubleshooting/idea.html)
- [Discuss in Telegram](https://t.me/yandexmetrika)
|
Online training

- [Get a Yandex Metrica certificate](https://yandex.ru/adv/expert/exam/metrika/?utm_source=metrika_help&utm_medium=web&utm_campaign=static&utm_content=useful_links)


- [Take a training course](https://yandex.com/adv/edu/online/metrika?utm_source=metrika_help&utm_medium=web&utm_campaign=static&utm_content=useful_links)

||
|#

</div>

<!-- source: en/_includes/styles/table-style.md -->

<!-- endsource: en/_includes/styles/table-style.md -->
<!-- endsource: en/_includes/footer-links.md -->
