---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.1
alternate:
  - https://yandex.com/support/metrica/en/general/cookie-usage.md
  - https://yandex.com/support/metrica/es/general/cookie-usage.md
  - https://yandex.com/support/metrica/pt/general/cookie-usage.md
  - https://yandex.com/support/metrica/ru/general/cookie-usage.md
  - https://yandex.com/support/metrica/tr/general/cookie-usage.md
  - https://yandex.com/support/metrica/zh/general/cookie-usage.md
  - href: en/general/cookie-usage.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
title: "Temporary files installed by Yandex\_Metrica"
description: "Yandex Metrica provides depersonalized information about your site's traffic. In order to count the site’s users, Yandex\_Metrica uses anonymous browser identifiers that are stored in cookies or in localStorage properties."
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/metrica/en/llms.txt


# Temporary files installed by Yandex Metrica

Yandex Metrica provides depersonalized information about your site's traffic. The available statistics include the number of users, traffic sources, and user behavior on site pages. In order to count the site’s users, Yandex Metrica uses anonymous browser identifiers that are stored in cookies or in localStorage properties. These cookies and properties are set on the top-level domain such as `.example.com`.

{% cut "Cookie" %}

<div class="striped-none">

#|
||
**Name**
|
**Type**
|
**Period of validity**
|
**Description**
|
**Domain where it is set**
||
||
`_ym_metrika_enabled`
|
Analytical
|
60 minutes
|
Checks whether other Yandex Metrica cookies are installed correctly
|
The domain where the tag is installed
||
||
`_ym_isad`
|
^
|
20 hours
|
Used to determine if a visitor has ad blockers
|
^
||
||
`_ym_uid`
|
^
|
1 year
|
Used for identifying site users
|
^
||
||
`_ym_fa`
|
^
|
^
|
Service cookie that, in combination with the ym_uid cookie, is designed to identify site users
|
^
||
||
`_ym_d`
|
^
|
^
|
Saves the date of the user’s first site session
|
^
||
||
`_ym_ucs`
|
^
|
^
|
Source for `_ym_uid`. It appears if you enable [server-side cookie resetting](https://yandex.com/support/metrica/en/general/safari-cookie.md)
|
^
||
||
`gdpr`
|
Technical
|
Up to 2 years
|
Used for identifying users who fall under the [General Data Protection Regulation](https://yandex.com/support/metrica/en/general/gdpr.md) (GDPR) jurisdiction
|
^
||
||
`_ym_debug`
|
Technical
|
Until the session ends
|
Indicates that debug mode is active
|
^
||
||
`_ym_visorc_*`
|
Analytical
|
30 minutes
|
Allows Session Replay to function correctly
|
^
||
||
`_ym_hostIndex`
|
^
|
1 day
|
Limits the number of requests
|
^
||
||
`_ym_sup_debug`
|
Technical
|
1 day
|
Used for [debugging](https://yandex.com/support/metrica/en/general/debugger.md) Yandex Metrica tags
|
^
||
||
`is_gdpr`
|
Technical
|
Up to 2 years
|
Used for identifying users who fall under the [General Data Protection Regulation](https://yandex.com/support/metrica/en/general/gdpr.md) (GDPR) jurisdiction
|
All Yandex Metrica domains
||
||
`is_gdpr_b`
|
^
|
^
|
Used for identifying users who fall under the [General Data Protection Regulation](https://yandex.com/support/metrica/en/general/gdpr.md) (GDPR) jurisdiction
|
^
||
||
`yabs-sid`
|
Technical
|
Within the browser session
|
Session ID
|
^
||
||
`i`
|
Technical
|
1 year
|
Used for identifying site users
|
^
||
||
`yandexuid`
|
^
|
1 year (in some countries, the period may be longer)
|
^
|
^
||
||
`yuidss`
|
^
|
^
|
^
|
^
||
||
`ymex`
|
Analytical
|
1 year
|
Stores auxiliary information for Yandex Metrica operation: IDs' creation time and alternative values.
|
^
||
||
`usst`
|
^
|
^
|
Stores auxiliary information for syncing site user IDs between different Yandex domains
|
^
||
|#

</div>


{% endcut %}

{% cut "localStorage" %}


These properties are set on the domain where the Yandex Metrica tag is embedded.


<div class="striped-none">


#|
||
**Name**
|
**Description**
||
||
`_ym<tag ID>_lastHit`
|
Used for specifying the time in order to get an  [accurate bounce rate](https://yandex.com/support/metrica/en/general/glossary.md#failure)
||
||
`_ym<tag ID>_lsid`
|
Used for identifying site users
||
||
`_ym<tag ID>_reqNum`
|
Used for determining the ordinal number of the request from the Yandex Metrica tag in the browser
||
||
`_ym_hide_phones`
|
Allows [hiding](https://yandex.com/support/metrica/en/simple-goal/tel.md#hide) phone numbers
||
||
`_ym_retryReqs`
|
Contains requests that the tag couldn’t send to the server
||
||
`_ym_uid`
|
Used for identifying site users
||
||
`zz`
|
Used for identifying site users
||
|#

</div>

{% endcut %}

{% cut "sessionStorage" %}

<div class="striped-none">

#|
||
**Name**
|
**Type**
|
**Description**
|
**Domain where it is set**
||
||
`_ym_debugger_state`
|
Technical
|
Used for [debugging](https://yandex.com/support/metrica/en/general/debugger.md) Yandex Metrica tags
|
The domain where the tag is installed
||
||
`_ym_turbo_uid`
|
^
|
Distinguishes between users on Turbo pages
|
^
||
|#

</div>

{% endcut %}

<!-- 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/common/feedback7630.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/7630/?&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/common/feedback7630.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 -->

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

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

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

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


