YandexMetrika

monitoring YandexMetrika

Yandex analytics and metrics crawler

About this crawler

YandexMetrika is a web crawler identified by the regular-expression pattern YandexMetrika in the User-Agent request header. It is categorised as monitoring. Use the regex above to detect, log, allow, or block YandexMetrika traffic in your web server, CDN edge rules, or robots.txt.

Block-rate · top 25k sites

0.26%
latest snapshot
2026-06-04
matched key: YandexMetrika
2026-05-012026-06-040.50%

Technical details

Name
YandexMetrika
Pattern
YandexMetrika
Tags
monitoring
Reference
https://yandex.ru/support/webmaster/ru/robot-workings/check-yandex-robots.html
Added
2015/04/14
rDNS suffixes
.yandex.com, .yandex.net, .yandex.ru
Instances
4 known sample(s)

rDNS verification (FCrDNS)

Verify a request is genuinely YandexMetrika with forward-confirmed reverse DNS: the client IP's PTR record must end in one of the suffixes below and a forward A/AAAA lookup of that hostname must return the same IP. UA strings alone are spoofable; FCrDNS is not.

Sample User-Agent strings

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

Block this crawler

robots.txt — disallow YandexMetrika:

User-agent: YandexMetrika Disallow: /

Apache .htaccess — return 403:

RewriteEngine On RewriteCond %{HTTP_USER_AGENT} YandexMetrika [NC] RewriteRule .* - [F,L]

Nginx — return 403 inside a server block:

if ($http_user_agent ~* "YandexMetrika") { return 403; }
← back to all crawlers