---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.3
alternate:
  - https://yandex.com/support2/audience/en/segments/metrika.md
  - https://yandex.com/support2/audience/ru/segments/metrika.md
  - https://yandex.com/support2/audience/tr/segments/metrika.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support2/audience/en/llms.txt

# Segments based on Yandex Metrica data

[Yandex Metrica](https://metrica.yandex.com) is a web analytics service for sites. To work with Yandex Metrica, you need to create a [tag](https://yandex.com/support/metrica/general/creating-counter.html). This is a special code embedded on all site pages. It passes information about the site, its users, and site events to Yandex Metrica.

In Yandex Metrica, you can set [goals](https://yandex.com/support/metrica/reports/add-goals.html) and [segments](https://yandex.com/support/metrica/general/segmentation.html). Use the goals to track specific user actions on your site. For example, when the user opens a promotion page, puts discounted items in the basket, or proceeds to check out. Segments provide details about the user: how they got to the site (from social media or from Yandex search), what device they viewed the site on (a mobile phone or a desktop computer), as well as their sex and age.


{% cut "How to create a goal for viewing pages with discounts" %}

In Yandex Metrica, go to **Settings** → **Goals** and click **Add goal**. Enter the goal name and the reaching conditions.

![](../_assets/goal-metrika.png)

{% endcut %}

{% cut "This will enable you to create a segment based on traffic from social networks." %}

In Yandex Metrica, go to any report and set filters for sessions and people. Click **Segment** → **Save as** and specify the name of the segment.

![](../_assets/segment-metrika.png)

{% endcut %}

You can create a segment in Yandex Audience based on data from your tag or someone else's tag if they gave you [editing access](http://yandex.com/support/metrica/general/access.html#guest).

Go to **Segments**, click **Create segment**, and choose **Based on Yandex data** → **Yandex Metrica**. Enter the name, the counter and specify creteria for choosing the users. Note that the segment is based on the data for the past 90 days.

The segment you create will be assigned the "Processing" status. Processing can take up to two hours. If the audience reach is at least 100 anonymous IDs, the segment's status changes to "Finished". Then you can use this segment to set up your ads.

If the access to the tag is cancelled or changed to read-only guest access, the segment gets the “Not active” status and the ads in it aren't shown.

### Learn more

- [Setting up ads in Yandex Direct](https://yandex.com/support2/audience/en/audience-in-direct.md)

<!-- source: en/_includes/form-res.md -->
## Still have questions? {#all-pages}

{% note alert %}

Customer support agents can only assist you with campaigns associated with your username. You can see your current username it in the upper-right corner of the screen. The agent will get access to your data only when processing your request.

{% endnote %}

<!-- стили желтых кнопок-катов: -->



<!-- стили желтой кнопки-ссылки: -->




<!-- локаль ru -->
<!-- конец локали ru -->



<!-- локаль en -->

<!-- желтая кнопка-кат: -->
<div class="cut-button">

{% cut "Message in WhatsApp" %}

<img src="https://yastatic.net/s3/doc-binary/src/support/direct/en/files/whatsapp-en-text.svg" style="display: block;"/>
<a href="https://wa.me/74951399193?utm_source=direct&amp;utm_medium=helpu&amp;tm_campaign=en" format="html" style="display: block; text-align: left; margin-left: 18px; color: #5889FF;">Go to WhatsApp</a>

{% endcut %}

</div>



<!-- желтая кнопка-кат: -->
<div class="cut-button">

{% cut "Call" %}

You can reach us from 10:00 to 19:00 GMT +3 (Moscow time) at:

**Moscow**: [+7 495 139-91-93](tel:+74951399193).

**Russia**: [8 800 700-47-45](tel:88007004745) (toll-free inside Russia).

To access your campaigns, the agent will need a [PIN code](https://yandex.com/support/direct/troubleshooting/pin-code.html).

{% endcut %}

</div>




<!-- желтая кнопка-кат: -->
<div class="cut-button">

{% cut "Write a message" %}

<iframe form-id="1435" collapsed="no" collapsible="no" form-title="Обратиться в отдел клиентского сервиса" id="all-p" width="100%" src="https://forms.yandex.com/surveys/1435/?lang=ru&title=%D0%9E%20%D1%87%D0%B5%D0%BC%20%D0%B2%D1%8B%20%D1%85%D0%BE%D1%82%D0%B8%D1%82%D0%B5%20%D1%81%D0%BF%D1%80%D0%BE%D1%81%D0%B8%D1%82%D1%8C%3F&requestid=1678345963548777-1444993988871094178-vla1-3501-vla-l7-balancer-8080-BAL-7399&iframe=1&path=%2Fsupport%2Faudience%2Ftroubleshooting%2Fstart.html&feedback_sid=8935512981673750718&mobile=false&service=audience&referer=https%3A%2F%2Fyandex.com%2Fsupport%2Faudience%2Fdelete-data.html&url=https%3A%2F%2Fyandex.com%2Fsupport%2Faudience%2Ftroubleshooting%2Fstart.html" frameborder="0" style="background: #FFFFFF; border-radius: 10px; padding: 18px"></iframe>

{% endcut %}

</div>

<!-- конец локали en -->




<!-- локаль tr -->
<!-- конец локали tr -->
<!-- endsource: en/_includes/form-res.md -->

<!-- source: en/_includes/footer.md -->
<div width="100%" align="center"> 
<br><br>

[![](../_assets/footer.png =300x)](https://audience.yandex.com/)

</div>
<!-- endsource: en/_includes/footer.md -->

