---
metadata:
  - name: generator
    content: Diplodoc Platform v5.66.1
alternate:
  - https://www.yandex.ru/support/metrica/en/general/check-goal.md
  - https://www.yandex.ru/support/metrica/es/general/check-goal.md
  - https://www.yandex.ru/support/metrica/pt/general/check-goal.md
  - https://www.yandex.ru/support/metrica/ru/general/check-goal.md
  - https://www.yandex.ru/support/metrica/tr/general/check-goal.md
  - href: https://www.yandex.ru/support/metrica/en/general/check-goal.md
    type: text/markdown
    title: Markdown version
  - href: https://www.yandex.ru/support/metrica/en/llms.txt?revision=r22041621
    rel: describedby
title: Checking a goal
description: How to check conversions for goals.
keywords: Yandex Metrica goal doesn’t work
---
> **Documentation Index:** Fetch the complete configuration index at https://www.yandex.ru/support/metrica/en/llms.txt?revision=r22041621


# Checking a goal


{% note info %}

Note the **Don't count my sessions** option (**Settings** → **Filters**). If it's enabled, follow these steps in private browsing mode (for example, [Incognito](https://yandex.com/support/browser/personal-data-protection/incognito-mode.html) mode in Yandex Browser).

{% endnote %}


To check conversions for goals:

1. Append the `ym_debug=2` parameter to the page URL in the browser’s address bar and reload the page.
    ```httpget
    http://example.com/?_ym_debug=2
    ```
    
1. Perform the targeted action on the page. At the bottom of the page, click ![](../_assets/debug2.svg). The debug panel appears.
    
    <!-- source: en/_includes/popup/id-debug/navig.md -->
    For ease of navigation when switching between different data for a particular tag, click ![](../_assets/debug2-checkbox.png). This way, Yandex Metrica remembers the changes you've made if you open a new tab.
    <!-- endsource: en/_includes/popup/id-debug/navig.md -->
    
    {% note info %}
    
    The `_ym_debug=2` parameter only works if the [new Yandex Metrica code snippet](https://www.yandex.ru/support/metrica/en/general/tag-info.md) is installed on the website. If you have an older version of the code snippet or the debug panel doesn’t appear, use the [browser console](#debug1).
    
    {% endnote %}
    
1. Information about conversions is available on the **Events** and **Console** tabs (the latter provides more details). The **Events** tab contains the number of your tag and information about the completed action. The action differs depending on the type of goal being checked:
    
    {% cut "Page view" %} {#visit}
    
    In this case, the **Console** tab shows a `PageView` action and indicates that the page has been viewed or refreshed.
    
    {% endcut %}
    
    {% cut "JavaScript event" %} {#js}
    
    In this case, the **Console** tab shows the name of the goal passed in the [reachGoal](https://www.yandex.ru/support/metrica/en/objects/reachgoal.md) method that is used on the page. In addition, the **Events** tab displays information about conversions.
    
    ![](../_assets/debug2-js.png){.border-yes}
    
    {% endcut %}
    
    {% cut "Click on phone number" %} {#tel}
    
    If the **Events** tab displays information about the click and shows the clicked phone number, this means the goal is set up correctly.
    
    ![](../_assets/debug2-tel.png){.border-yes}
    
    {% endcut %}
    
    {% cut "Click on email" %} {#email}
    
    If the **Events** tab displays information about the click and shows the clicked email address, this means the goal is set up correctly.
    
    ![](../_assets/debug2-email.png){.border-yes}
    
    {% endcut %}
    
    {% cut "Button click" %} {#button}
    
    Make sure that the **Events** tab contains information about the conversion and that the conversion is reflected in reports, such as the [Conversions](https://www.yandex.ru/support/metrica/en/reports/conversion.md) report.
    
    ![](../_assets/click-form.png =700x){.border-yes}
    
    {% endcut %}
    
    {% cut "Form submission" %} {#form}
    
    Make sure that the **Events** tab contains information about the form submission and that the conversion is reflected in reports, such as the [Conversions](https://www.yandex.ru/support/metrica/en/reports/conversion.md) report.
    
    ![](../_assets/click-form.png =700x){.border-yes}
    
    {% endcut %}
    
    {% cut "Open messenger" %} {#messenger}
    
    If you see information about your click on the messaging app under **Events**, this means the goal is set up correctly. 
    
    ![](../_assets/messenger.png){.border-yes}
    
    {% endcut %}

    {% cut "File downloads" %} {#download}
    
    The goal is set up correctly if the console displays the string of the following format: `File. Counter 12345. Url: https://example.com/download/price.pdf`, where `Url` is the file download link you specified to track the downloads of a specific file.
    
    {% endcut %}

    {% cut "Site search" %} {#search}
    
    If the **Console** tab displays the string `PageView. Counter 12345. Init.` with the parameter used for searching on your site (for example, `q`, `text`, `query`, or `search`), it means the goal is set up correctly.
    
    {% endcut %}
    


{% cut "Checking via the browser console" %}

{#debug1}

<!-- source: en/_includes/popup/id-debug/intro.md -->
Use this method if your website has an older version of the Yandex Metrica tag.
<!-- endsource: en/_includes/popup/id-debug/intro.md -->

To check conversions via the dashboard:

1. Append the `ym_debug=1` parameter to the page URL in the browser's address bar and reload the page.
    ```httpget
    http://example.com/?_ym_debug=1
    ```
    
1. Open the browser console with the keyboard shortcut **Ctrl** + **Shift** + **J** (**⌥** + **⌘** + **J** for Apple OS).
1. Perform the targeted action on the page. In the console, you will see the number of your tag and information about the completed action. The action differs depending on the type of goal being checked:
    
    {% cut "Page view" %}
    
    In this case, `PageView` is displayed, notifying you when the page is viewed or updated.
    
    ![](../_assets/search-console.png){.border-yes}
    
    {% endcut %}
    
    {% cut "JavaScript event" %}
    
    In this case, the `Reach goal` string notifies that the [reachGoal](https://www.yandex.ru/support/metrica/en/objects/reachgoal.md) method used on the page is called.
    
    ![](../_assets/check-goal-js.png){.border-yes}
    
    
    {% endcut %}
    
    {% cut "Click on a phone number" %} {#tel2}
    
    If the console displays the `Ext link. Counter XXXXXX. Url: tel:+XXXXXXXXXXX` string with the phone number you are checking clicks on, this means the goal is set up correctly.
    
    {% endcut %}
    
    {% cut "Click on email" %} {#email2}
    
    If the console displays the `Ext link. Counter XXXXXX. Url: mailto: <address>` string with the email address you are checking clicks on, this means the goal is set up correctly.
    
    {% endcut %}
    
    {% cut "Button click" %} {#button2}
    
    Make sure the console shows the text `Button goal. Counter 12345. Button:` and the goal conversion is reflected in reports, for example, in the [Conversions](https://www.yandex.ru/support/metrica/en/reports/conversion.md) report.
    
    {% endcut %}
    
    {% cut "Form submission" %} {#form2}
    
    Make sure the console shows the text `Form goal. Counter 12345. Form:` and the goal conversion is reflected in reports, for example, in the [Conversions](https://www.yandex.ru/support/metrica/en/reports/conversion.md) report.
    
    {% endcut %}

    {% cut "Open messenger" %} {#messenger2}
    
    If the console displays the `Ext link. Counter XXXXXX. Url: mailto: <address>` string with the URL of the messenger you are checking click-throughs for, this means the goal is set up correctly.
    
    {% endcut %}
    
    {% cut "Site search" %} {#search2}
    
    If the console displays the string `PageView. Counter 12345. Init.` with the parameter used for searching on your site (for example, `q`, `text`, `query` or `search`), this means the goal is set up correctly.
    
    {% endcut %}

    {% cut "File downloads" %} {#download2}
    
    The goal is set up correctly if the console displays the string of the following format: `File. Counter 12345. Url: https://example.com/download/price.pdf`, where `Url` is the file download link you specified to track the downloads of a specific file.
    
    {% endcut %}
    
    {% cut "Transitions back from the payment system" %} {#payment-system}
    
    If the console displays the string `PageView. Counter 12345. Init.` and the payment system URL is specified in the `Referrer` string, this means the goal is set up correctly.
    
    {% endcut %}
    


{% endcut %}


You can also [log your actions](https://www.yandex.ru/support/metrica/en/general/debugger.md#logs) when working with the debugger.

Data starts to appear in the [Conversions](https://www.yandex.ru/support/metrica/en/reports/conversion.md) report a few minutes after you create a goal. If the console or interface doesn’t show any data, it means that the goal isn’t being registered.

## Why aren’t my goals registering? {#no-data}

Yandex Metrica may not register conversions in a variety of cases.

[Click here to resolve the issue](https://www.yandex.ru/support/metrica/en/troubleshooting/goals-dys.md){.button}


## Why the debugger doesn’t work

#|
||
**Reason**
|
**Recommendation**
||
||
The tag is blocked by the [Adblock Plus](https://adblockplus.org/) extension, other scripts, or firewall.
|
You can check in the browser console whether Adblock Plus or other scripts are enabled.
||
||
The tag isn’t installed on the site or is installed incorrectly. For example, the CMS modified the tag code.
|
Reinstall the tag or contact your CMS support service.
||
||
The `mc.yandex.ru` domain is blocked in the `hosts` file on your operating system.
|
Check your OS settings.
||
|#

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

[Message on Telegram](https://t.me/metrika_yandex_support_bot){.button}

[Message on MAX](https://max.ru/yandex_metrika_bot){.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/data/support-button-1.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 -->

If you need to adjust the goal so that it will continue to record events other than page views, please describe the situation in the form.

  <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.ru/surveys/10011834/?&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/data/support-button-1.md -->


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

<div class="borderless-table">

#|
||
Useful links

- [Demo tag](https://metrika.yandex.com/r/dashboard?)
- [Add a tag](https://metrika.yandex.com/add/)
- [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.ru/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 -->

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

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