Checking a goal
- Append the ym_debug=1 parameter to the page URL in the browser's address bar and reload the page.
- Open the browser console with the keyboard shortcut Ctrl + Shift + J (⌥ + ⌘ + J for Apple OS).
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:Page view
In this case, PageView is displayed, notifying you when the page is viewed or updated.
In this case, the Reach goal string notifies that the reachGoal method used on the page is called.Click on a phone number
If the console displays the Launched external handler for string with the phone number you are checking clicks on, this means the goal is set up correctly.Click on email
If the console displays the Launched external handler for string with the email you are checking clicks on, this means the goal is set up correctly.Form submission
Make sure the console displays text that looks like Form goal. Counter 12345. Form:, and make sure that conversions appear in the reports, for example, in the Conversions report.Site search
If the console displays the string PageView. Counter 12345. Init. with the parameter that is used for searching on your site (for example, q, text, query, or search), it means the goal is set up correctly.Transitions back from payment systems
If the console displays the string PageView. Counter 12345. Init. and the payment system URL is specified in the Referrer string , it means the goal is set up correctly.
You can also make sure that Yandex.Metrica registers the goal using the Conversions report. Yandex.Metrica starts collecting data a few minutes after a goal is created.
If the console or interface doesn't show any data, it means the goal wasn't registered by Yandex.Metrica for any of a number of reasons.
Why aren't my goals registering?
Yandex.Metrica may not register conversions in a variety of cases.