---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://yandex.com.tr/support/metrica/en/quick-start.md
  - https://yandex.com.tr/support/metrica/es/quick-start.md
  - https://yandex.com.tr/support/metrica/pt/quick-start.md
  - https://yandex.com.tr/support/metrica/ru/quick-start.md
  - https://yandex.com.tr/support/metrica/tr/quick-start.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/support/metrica/en/llms.txt

# Quick start

<a href="https://yandex.com/promo/freeservice/metrica?utm_source=help_metrica_eng&utm_medium=cpc&utm_campaign=1">
<span style="border: none; display: inline-block; ext-align: center; font-size: 15px;font-family: var(--yc-text-body-font-family); padding: 6px 15px; border-radius: 15px; color: black; background-color: #ffdb4d; margin-top: 20px;">Request tag creation and setup</span>
</a>

 
To create a tag yourself:

## Step 1. Log in {#log-in}

To work with Yandex Metrica, you need a Yandex ID. If you don't have one, you first need to [sign up](https://passport.yandex.com.tr/passport?mode=register).

If you're the owner of a Yandex Direct campaign, or your online store is a Yandex Market partner, we recommend that you log in with the username registered in these services. This allows you to quickly switch between services.

## Step 2. Create a tag {#get-code}

Click <a href="http://beta.metrica.yandex.com.tr/add"><span style="border: none; display: inline-block; ext-align: center; font-size: 15px;font-family: var(--yc-text-body-font-family); padding: 6px 15px; border-radius: 5px; color: black; background-color: #ffdb4d; margin-top: 20px;">Add tag</span></a>. This will open the tag creation page. Fill out the form. 

[How to create a tag](https://yandex.com.tr/support/metrica/en/general/creating-counter.md)

## Step 3. Install the tag on your website {#install-code}

<!-- source: en/_includes/general/creating-counter/id-install-counter/counter-html4.md -->
{% note tip %}

To install the tag, we recommend contacting the employee who is responsible for website support.

{% endnote %}
<!-- endsource: en/_includes/general/creating-counter/id-install-counter/counter-html4.md -->

In the **Settings** section, go to the **Tag** tab and click **Copy**. Then insert this code into the HTML code of [all the site’s pages](*всех-страниц-сайта). We recommend inserting it as close to the top of the page as possible — the accuracy and completeness of data calculation depends on this. 

[How to install a tag](https://yandex.com.tr/support/metrica/en/general/creating-counter.md#install-counter)

<!-- source: en/_includes/general/creating-counter/id-install-counter/counter-html3.md -->
After installation, the tag will be available on the **My tags** page. The tag immediately starts collecting data.
<!-- endsource: en/_includes/general/creating-counter/id-install-counter/counter-html3.md -->

## What's next? {#other}

Familiarize yourself with the tools that can be connected to your tag and make your work with Yandex Metrica more effective. To do this, go to **Settings** → [Setup assistant](https://yandex.com.tr/support/metrica/en/general/check-list.md).

There you can:
- Learn about new tools and reports in Yandex Metrica.
- Find instructions on connecting those tools to your tag.

## Questions and answers {#qanda}

{% cut "Making sure the tag is placed on the site and data is collected" %} {#check}

You can [check](https://yandex.com.tr/support/metrica/en/general/check-counter.md) whether the tag code is installed correctly and whether statistics are collected. 

{% endcut %}

{% cut "Checking goal settings" %} {#check-goal}

You can check if the goals are set correctly using the `_ym_debug=2` parameter. [Checking a goal](https://yandex.com.tr/support/metrica/en/general/check-goal.md)

{% endcut %}

{% cut "Getting statistics in a YAN tag" %} {#yan}

The YAN tag code is installed automatically on site pages that contain YAN units. To get complete statistics, install the Yandex Metrica code snippet on all the site's pages. You can get the code snippet on the **Settings** page (**Tag**).

Here you can enable displaying the click map, accurate bounce rate, and other Yandex Metrica features. 

[Basic and additional tag settings](https://yandex.com.tr/support/metrica/en/general/counter-general.md)

{% endcut %}

{% cut "Installing multiple tags on site’s pages" %} {#several-counters}

[How to install multiple tags on a site](https://yandex.com.tr/support/metrica/en/code/install-several-counters.md)

{% endcut %}

{% cut "Installing the same tag on multiple sites" %} {#several-sites}

Statistics will be collected for all sites that have the tag installed, even if they aren't indicated in the **Website address** and **Additional addresses** fields.

[Basic and additional tag settings](https://yandex.com.tr/support/metrica/en/general/counter-general.md)

In some reports, such as the **Popular** report, URLs for these sites are shown in gray.

{% endcut %}

<!-- source: en/_includes/buttons/chat-button.md -->
[Chat with us](https://yandex.com.tr/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/code/texing-button.md -->
<div class="cut-button">

{% cut "Write an email" %}

<!-- source: en/_includes/popup/id-qanda/check1.md -->
If you were unable to [independently check the tag](https://yandex.com.tr/support/metrica/en/general/check-counter.md), follow the recommendations below.
<!-- endsource: en/_includes/popup/id-qanda/check1.md -->

{% list tabs radio %}

- Data is not sent to the console

  {% include [qanda-check2-2](_includes/popup/id-qanda/check2-2.md) %}

  {% cut "The recommendations did not help" %}


  <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.tr/surveys/1706/?&theme=Dannye v konsoli ne otpravlyayutsya&iframe=1&lang=tr">
    </iframe>
  </div>

  {% endcut %}

- There is data in the console, but the reports do not appear

  <!-- source: en/_includes/popup/id-qanda/check2-3.md -->
  This means that information is being transmitted to Yandex Metrica. However, the data might not be shown in reports for any of the following reasons:
  <!-- endsource: en/_includes/popup/id-qanda/check2-3.md -->

  <!-- source: en/_includes/popup/id-qanda/check2-4.md -->
  - Data is sent to a tag with a different number.
  - The **Filters** tab in the tag settings has overly strict filters defined. Remove unneeded filters.
  - The **Filters** tab in the tag settings has the **Don’t count my sessions** filter enabled. This means that the tag doesn't register your own sessions. Try accessing the site with your browser in “incognito” mode.
  <!-- endsource: en/_includes/popup/id-qanda/check2-4.md --> 

  {% cut "The recommendations did not help" %}


  <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.tr/surveys/1706/?&theme=Dannye v konsoli est, no otchety ne otobrazhayutsya&iframe=1&lang=tr">
    </iframe>
  </div>

  {% endcut %}

{% endlist %}

{% endcut %}

</div>

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

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

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

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


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

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

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

<div class="borderless-table">

#|
||
Useful links

- [Demo tag](https://metrica.yandex.com.tr/r/dashboard?)
- [Add a tag](https://metrica.yandex.com.tr/add/)
- [Free tag setup](https://yandex.com.tr/promo/freeservice/metrica?utm_source=help_metrica_tr&utm_medium=cpc&utm_campaign=1)
- [Yandex Metrica API](https://tech.yandex.com.tr/metrika/)
- [Suggest your idea](https://yandex.com.tr/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 -->

[*всех-страниц-сайта]: If you don't place the counter code on all the site's pages, Yandex Metrica will interpret a user as appearing on the site and then disappearing — statistics will show distorted data.
{% included (_includes/popup/id-qanda/check2-2.md) %}
   This might happen for the following reasons:
   - The tag is installed incorrectly. For example, the CMS modified the tag code. Reinstall the tag or contact the support service for your CMS.
   - Broken scripts are preventing the Yandex Metrica tag from working on the site. You can check this in the browser console.


{% endincluded %}