· 4 min read

Bots in Yandex Metrics: how to understand that statistics are lying, and what to do about it

More visits and no requests? Signs of bots in statistics, checking in 15 minutes, necessary counter settings — and why Metrics filters do not remove bots from the site.

Visits became noticeably more, but requests did not increase. Rejections increased, viewing depth decreased, although nothing was changed on the site. Direct calls grow at night and from cities where you don’t have customers.

Before changing the ad or redesigning the pages, check that it is not robots. Decisions based on biased statistics are more expensive than the verification itself.

How Metrics sees robots

According to Yandex, Metrica identifies robots by behavior and other technical characteristics. It is important for the site owner to distinguish between two cases.

  • Robots that pretend to be humansThe metric recognises them by behavior. They are visible if you switch “Data: with bots / without bots” in the report.

In the Data: With Bots mode, the Roboticity metric – the percentage of visits from robots – appears in the reports. It is convenient to look for the source that brings the most bots.

What Metric does not see at all

A metric is code on a page The visit is recorded in the statistics only if the browser loaded the page and executed this code. Many malicious bots do not do this: vulnerability scanners and password collectors send a short request and leave.

  • Bots in MetricExecute the code of the page and depict people. They spoil the statistics: failures, depth, goals, sources.
  • Bots past MetricsCode is not executed. Statistics are not spoiled, but they load the server and look for vulnerabilities — in the reports they are not at all.

A "clean" Metric does not mean that there are no bots on the site. It shows only those who got to the page and executed its code.

Signs of robots in statistics

  • The surges are scheduledVisits at the same time, especially at night when customers are sleeping.
  • Visitors in secondsMany visits lasting 0-15 seconds with a single page viewed.
  • Strange geographyCities where you do not have customers; hosting providers and data centers.
  • The same "devices" identical "devices"A large group of visits with one screen resolution, browser and system.
  • Direct interventions are increasingNo mailing lists, TV ads and other understandable reasons.
  • Traffic with no requestsThe source gives more and more visits, but requests and calls from it do not increase.

How to check in 15 minutes

  1. Compare data with and without robotsOpen the "Sources, Summary" report for the last month. In the "Data: no robots" setting, select "Compare with data with robots". The big difference is a reason to investigate further.
  2. Find the sourceSwitch to "Data: with robots" and look at "Robotics" by source: this way you can see where the most robots come from.
  3. Open the Robots report“Monitoring” section: what robots are coming to the site and how active they are.
  4. Look at the time of dayLive clients at night are rare. The steady flow of visits at three o'clock in the morning is suspicious.
  5. Check cities and providersAccording to a suspicious source – where the visits actually come from.
  6. Compare with the requestsIf traffic from a source has increased and there are no requests, it is probably not people.

What to do in the meter settings

  • Specify all site addresses – main domain, mirrors, subdomains – and enable data from only those addresses. Then other sites with your code will not be included in the statistics.
  • Exclude your visits and employees’ visits by filtering the counter by office addresses or by checking “do not count my visits”.
  • For permanent reports, create a bot-free segment and apply it to the desired reports and widgets – this is how the help suggests viewing statistics without bots.

Be careful with "Filter bots by behavior". This counter setting permanently removes bot visits from the source data, and you cannot switch between robots/no robots afterwards. Yandex help advises to enable it only for those who work with the Logs API and need robot-free data, otherwise it is not recommended.

And remember: Yandex Advertising has its own protection against malicious clicks, so its figures may not match Metrika. For comparison in Metrics there is an indicator "Workability Pro" - it also takes into account the Yandex Advertising anti-fraud data.

If there are many bots: filters do not solve the problem

Settings Metrics remove robots from reports, but not from the site. Bots continue to consume server resources, and those that depict people well are still included in the statistics. It is more reliable to cut them earlier – before the site.

  1. Botdepicts a visitor
  2. Site Protectionrecognizes the program by connection and behavior
  3. The Site and Metrics are only visible to humans

A bot that does not reach the page will not be included in the statistics.

  • Recognize programs by technical characteristics of connection and behavior.
  • On the flood turn on the browser check, which the person passes unnoticed.
  • Limit traffic from data centers, where people do not normally come to the site.
  • Be sure to skip the real Yandex and Google search robots, verifying that it is really them.

When spam traffic does not reach your site, it does not reach Metrics either: statistics become more fair and advertising decisions more accurate. If the bots are also sending requests, parsing is useful “Request-Form-Spam” is spam in the form of requests.

Cut off bots to the siteWhiteShield is installed on your server in front of the site: it recognizes parsers and bots by connection fingerprint and behavior, activates browser checking when flooded, restricts traffic by countries, addresses and subnets. I take care of setting up and updating the protection.Read more about WhiteShield

Read also

← All articles

Analytics. This site anonymously measures page reading time. No personal data is collected.