Checking a goal
- Append the ym_debug=1 parameter to the page URL in the browser's address bar and reload the page.
http://example.com/?_ym_debug=1
- 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 viewIn this case, PageView is displayed, notifying you when the page is viewed or updated.
JavaScript eventIn this case, the Reach goal string notifies that the reachGoal method used on the page is called.
Click on a phone numberIf the console displays the Ext link. Counter ХХХХХХ. Url: tel:+ХХХХХХХХХХХ string with the phone number you are checking clicks on, this means the goal is set up correctly.
Click on emailIf the console displays the Ext link. Counter ХХХХХХ. Url: tel:+ХХХХХХХХХХХ string with the email you are checking clicks on, this means the goal is set up correctly.
Button clickMake sure the console displays the text that looks like Button goal. Counter 12345. Button:, and make sure that conversions appear in the reports, for example, in the Conversions report.Form submissionMake 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 searchIf 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 systemsIf 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.