YandexDirect

YandexDirect is a search engine crawler run by Yandex.

Operator
Yandex
Type
Search bot
Official page
yandex.com
robots.txt token
YandexDirect
Sends readers back
No, it serves advertising
Follows robots.txt
Partly, according to Yandex.
In Vireo
Excluded, reported under Search engines

What it does

Downloads content from Yandex Advertising Network partner sites to work out their topics and match relevant ads.

Downloads information about the content of Yandex Advertising network partner sites to identify their topic categories to match relevant advertising.

Yandex

User agent

Requests from YandexDirect carry a user agent like this:

Mozilla/5.0 (compatible; YandexDirect/3.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 YandexDirect

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: YandexDirect
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 YandexDirect send readers back?

No. YandexDirect fetches pages for Yandex's advertising systems, to check or classify them. It doesn't send readers.

How Vireo counts YandexDirect

Vireo keeps requests from YandexDirect 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 YandexDirect'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