Indexing a site with the Yandex.Metrica tag

  1. Link the Yandex.Metrica tag to the site verified in Yandex.Webmaster. You can do this in Yandex.Webmaster or Yandex.Metrica.
  2. Turn on the Crawl allowed option in Yandex.Webmaster.
  1. Linking a tag to the site
  2. Settings for indexing

Linking a tag to the site

Who can request and confirm the linking
Where the request is sent from Who sends the request Who confirms the request
Yandex.Webmaster.

A user with site management rights.

A Yandex.Metrica user with tag editing rights or with representative access.

Yandex.Metrica. Learn more about how to send a request in Yandex.Metrica.

A user with tag editing rights or with representative access.

The Yandex.Webmaster user with the site management rights.

You can link the tag to the primary domain and to a subdomain. To do this, add both sites to Yandex.Webmaster and verify your site management rights.

Step 1. In Yandex.Webmaster, send a request for linking.

  1. Choose the site to link to the tag.
  2. Go to the Settings → Yandex.Metrica tags section.
  3. Click the Add tag button.
  4. Specify the ID of the tag to link to the site. Note that the site must be specified in Yandex.Metrica in the tag settings.

You can add several tags.

Once you send the linking confirmation request, the owner of the Yandex.Metrica tag receives an email notification.

Step 2. In Yandex.Metrica, confirm the request.

Once the linking request is sent, the site domain is searched for matches. The protocol and the "www" prefix are ignored in the check. If there are matches found, confirm the request:
  1. Go to the Settings page (the Tag tab).
  2. Click the Confirm button.
You can track the status of linking the tag to the site:
  • In Yandex.Metrica — on the Settings page, the Tag tab.
  • In Yandex.Webmaster — on the Settings → Yandex.Metrica tags page.
    Status Description Note
    “Waiting for confirmation” The linking request is sent. Domains are checked for matches. After that, the request is waiting for confirmation by the Yandex.Metrica user. The Yandex.Metrica user should confirm the request.
    “Linked” The Yandex.Metrica user confirmed the linking request. The Yandex robot will start crawling the site pages.
    “Not confirmed” The Yandex.Metrica user or the Yandex.Webmaster user canceled the linking. You can re-send a request to link the tag to the site.
    “Confirmation error” The tag isn't linked to the site. Possible reasons:
    • The site isn't added to Yandex.Webmaster.
    • The site management rights aren't verified in Yandex.Webmaster.
    • The tag ID is specified incorrectly in Yandex.Webmaster on the Settings → Yandex.Metrica tags page.
    Check for possible reasons and request confirmation again.

Settings for indexing

After linking a tag to the site, enable the Crawl allowed option on the Indexing → Tags crawl page in Yandex.Webmaster. The option is enabled for all versions of the site: over the HTTP or HTTPS protocol, and with or without the "www" prefix.



To prohibit the robot from using Yandex.Metrica data to crawl the site, turn off the Crawl allowed option next to the tag and save the settings. After that, the robot won't crawl the new site pages that have the tag embedded, but it can still find out about them from other sources.

To prohibit the robot from indexing pages, use the robots.txt file, the "robots" meta tag. Also see the Deleting a site section.