Checking the transmission of content analytics

After marking up your site content, check that the data is passed to Yandex Metrica properly. The check is also suitable for verifying microdata on Turbo pages.

To ensure that the marked-up data is being transferred, do the following:

  1. In the browser, open a site page with marked up content.

  2. Append the ym_debug=2 parameter to the page URL in the browser’s address bar and reload the page.

    http://example.com/?_ym_debug=2
    
  3. At the bottom of the page, click . The debug panel appears.

    For ease of navigation when switching between different data for a particular tag, click . This way, Yandex Metrica remembers the changes you've made if you open a new tab.

Note

The _ym_debug=2 parameter only works if the new Yandex Metrica code snippet 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.

If the markup is set up correctly, the type of markup and information about the marked-up material will be displayed in the section on the Publishers tab. Detailed data is available in the Console tab.

You can also log your actions when working with the debugger.

You can get complete statistics for the content with text longer than 500 characters. If there are less than 500 characters in the marked up article, the console warns you about that when checking the micro markup.

Checking via the browser console

Use this method if your website has an older version of the Yandex Metrica tag.

  1. In the browser, open a site page with marked up content.

  2. Append the ym_debug=2 parameter to the page URL in the browser’s address bar and reload the page.

    http://example.com/?_ym_debug=2
    
  3. Open the browser console with the keyboard shortcut Ctrl + Shift + J ( + + J for Apple OS).

If the markup is configured correctly, the console will display:

  • 1 — The markup type specified in the tag settings.
  • 2 — The marked up data that is passed to Yandex Metrica. If this information is missing in the console, check the marked up content. To do this, contact your webmaster.

You can get complete statistics for the content with text longer than 500 characters. If there are less than 500 characters in the marked up article, the console warns you about that when checking the micro markup:

Learn more

Chat with us

Write an email

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.