YandexMetrika

YandexMetrika is a search engine crawler run by Yandex.

Operator
Yandex
Type
Search bot
Official page
yandex.com
robots.txt token
YandexMetrika
Sends readers back
No, it powers a product feature
Follows robots.txt
Partly, according to Yandex.
In Vireo
Excluded, reported under Search engines

What it does

Fetches pages for Yandex Metrica, Yandex's web analytics service.

Yandex Metrica robot.

Yandex

User agent

Requests from YandexMetrika carry a user agent like this:

Mozilla/5.0 (compatible; YandexMetrika/2.0; +http://yandex.com/bots)

Device Detector identifies it with this pattern (a case-insensitive regular expression):

(Yandex(?:(?:\.Gazeta |Accessibility|Com|Mobile|MobileScreenShot|RenderResources|Screenshot|Sprav)?Bot|(?:AdNet|Antivirus|Blogs|Calendar|Catalog|Dialogs|Direct(?:Dyn)?|Favicons|ForDomain|ImageResizer|Images|Market|Media(?:naBot)?|Metrika|News(?:links)?|OntoDB(?:API)?|Pagechecker|Partner|RCA|SearchShop|(?:News|Site)links|Tracker|Turbo|Userproxy|Verticals|Vertis|Video(?:Parser)?|Webmaster))|YaDirectFetcher)

Anyone can put any name in a user agent. Where the operator publishes IP ranges, checking the request's address against them is the way to confirm a visit is genuine.

How to block or allow YandexMetrika

Add a group for its token to the robots.txt file at the root of your site. To keep it out of the whole site:

User-agent: YandexMetrika
Disallow: /

To let it crawl everything, use an empty Disallow: or Allow: / instead. WordPress serves a virtual robots.txt that many SEO plugins let you edit. A real robots.txt file uploaded to the site root takes its place.

To restrict access to such robots to the site, use directives specifically for them

Yandex

they may ignore the file's restrictive directives

Yandex

robots.txt is a request, so it only works on crawlers that honour it. A bot that ignores it has to be blocked at the server or firewall, by user agent or IP address.

Worth knowing

Verify it with a reverse DNS lookup: real Yandex hosts end in yandex.ru, yandex.net or yandex.com.

All Yandex robots have names ending in yandex.ru, yandex.net or yandex.com.

Yandex

Does YandexMetrika send readers back?

No. YandexMetrika fetches pages for a feature of Yandex's products, such as a preview, a check or a screenshot. It isn't a reader.

How Vireo counts YandexMetrika

Vireo keeps requests from YandexMetrika out of your pageviews and visitors and counts them on its bot report under Search engines, so you can see how much it left out rather than wonder why your server logs show more traffic.

Checked by running Vireo Analytics' own bot filter over YandexMetrika's user agents.

Sources

Other bots from Yandex

More search engines

All search engines

See the bots on your own site

Vireo Analytics is a free WordPress plugin. It keeps over 800 known crawlers out of your numbers and shows you what it filtered, by category.

Get Vireo free on WordPress.org