What bot traffic is, and which bots end up in GA4

On April 29, 2026 Imperva, a company in the Thales group, published its Bad Bot Report 2026, with data for 2025. Reports like this usually split bots into good ones and bad ones, and this edition introduced “a third category of automated traffic: AI agents”, because these agents fit neither pile. They’re software, but they move through a site because a person asked them to.
According to the same report, bots made up more than 53% of web traffic in 2025, up from 51% the year before, which leaves human activity at 47%. Bad bots alone account for 40% of all traffic. Cloudflare measures something slightly different (requests for HTML pages, on its own network) and lands in almost the same place. In its 2025 Year in Review, humans generated 47% of HTML requests on December 2, 2025, and bots other than AI bots generated 44%.
Put another way, fewer than half of the requests for a page come from someone looking at a screen. In July 2026 Cloudflare wrote that “more than 50% of traffic on the Internet is now non-human.” These shares describe the whole web, however, not the GA4 reports of any one site. Reasoning from how GA4 works, we’d expect most of them never to reach analytics, and which ones do depends on whether the bot says what it is and whether it runs JavaScript.
Bots that announce themselves rarely reach GA4
Search engine crawlers read pages to index them and put their name in the user agent, the line of text every browser and bot sends with a request to say what it is. When someone shares a link, Meta’s crawler, facebookexternalhit, “gathers, caches, and displays information about the app or website such as its title, description, and thumbnail image” to build the card that appears under a shared link.
Uptime monitors load a page at regular intervals to check the site still answers, and aggregators collect prices, news or listings to show somewhere else. These bots seldom show up in GA4, partly because many of them only need what’s in the page’s HTML (for a link preview, a title, a description and an image), so they have no reason to run scripts, and GA4 is a script. That’s our deduction from what these bots say they collect, not a measurement.
Those that do run scripts and declare themselves meet a second obstacle. GA4 excludes known bots automatically, using the IAB list and Google’s own research, and it never shows how many it removed, so nobody can see how much work that filter does.
AI crawlers read far more than they send back
Among declared bots, the AI companies’ crawlers have grown fast in Cloudflare’s data. Cloudflare reports that in June 2026, 52% of crawler requests were for AI training, compared with 22% in the spring of 2025. Over 2025 as a whole, AI bots averaged 4.2% of HTML requests in Cloudflare’s data, which is still a little less than Googlebot on its own, at 4.5%.
The more telling number is what these crawlers give back. Cloudflare compares the pages a company’s crawlers fetch with the visits its products send to those same sites, and calls this the crawl-to-refer ratio. In 2025 Anthropic’s ratio reached about 500,000 to one before settling between 25,000 and 100,000 to one. OpenAI peaked at 3,700 to one in March, Perplexity has stayed under 200 to one since September, and Google, at its peak, was around 30 to one.
Google’s figure gives the others a scale, because search engines have always crawled in exchange for traffic, and thirty pages read for each visitor sent is roughly what that bargain looks like. Even at the low end of its range, Anthropic’s crawlers read on average 25,000 pages for every visit Claude sends back. That’s a real question of bandwidth and of how the content gets used, but for analytics these crawlers matter much less than their volume suggests, because, as Vercel and MERJ found in December 2024, most of them don’t run JavaScript.
Some bots pose as people, and those reach GA4 and the campaigns
The bots that cause trouble in the data are the ones that don’t announce themselves. Some of them run on a headless browser, which is Chrome running without a window and driven by a program instead of a person. Google’s Chrome documentation says headless mode runs the same browser, which means it executes JavaScript like ordinary Chrome. So it loads the page, Google Tag Manager starts, and GA4, the Meta pixel and the Google Ads tags all fire as they would for a customer.
The user agent can say ordinary Chrome, and the IP address is often no help either. Thales describes bots that route their requests through residential proxies, which send each request out through a home internet connection, so the address belongs to a household and not to a data center. Among the bots that pose as people are scrapers copying prices or content, and click fraud, which Google Ads counts as invalid traffic when it involves “clicks from automated tools, bots, or other deceptive software”.
The damage spreads past the reports, because Meta and Google Ads learn from the visits and conversions they receive, so we’d expect a campaign optimizing on that data to look for more visitors who resemble them. The bill grows on the server side too, since on the Stape containers of clients of Tillde, the agency that makes our product, we measured about ten requests per page view. On a site with a server container, each page a bot opens with GTM running adds requests there too, up to the same ten if it fires every tag.
Agents that browse for a person are verified by IP or signature
The third category Thales added sits between these groups. Cloudflare, introducing signed agents on August 28, 2025, described them as “generally directed by an end user.” Google’s documentation describes Google-Agent as “used by agents hosted on Google infrastructure to navigate the web and perform actions upon user request.” It also notes that fetchers triggered by a user “generally ignore robots.txt rules,” since a person asked for the page.
Anthropic’s hosted browser adds the token Claude-Agent to its user agent, a name distinct from ClaudeBot, Claude-User and Claude-SearchBot. The same page then adds a warning: “Anyone can send the same User-Agent header.” The word doing the work there is “anyone.” A user agent is text the sender writes, so a headless browser can claim to be Claude-Agent as easily as it claims to be Chrome.
The check therefore has to rely on something the sender can’t simply type. Anthropic publishes the IP addresses its agent uses at claude.com/.well-known/sail, and Google publishes its own in user-triggered-agents.json, so a request that says Claude-Agent or Google-Agent from an address outside the list is lying. OpenAI chose a different method. It signs its requests with Web Bot Auth (RFC 9421, with the header Signature-Agent: "https://chatgpt.com") and publishes the public keys in a directory, so a forged header without the private key fails the check.
Telling agents apart matters for anyone filtering bots, because an agent filling a cart on someone’s behalf is doing what a customer asked, and a filter that stops every visitor that isn’t human would stop that customer as well.
GA4 counts the bots that run JavaScript and hide what they are
Whether a bot runs JavaScript decides most of what GA4 sees. In December 2024, Vercel and MERJ found that “none of the major AI crawlers currently render JavaScript,” naming GPTBot, ClaudeBot and PerplexityBot among others, with the exceptions of Gemini, which goes through Googlebot, and AppleBot. The study is almost two years old, so it describes the end of 2024.
From there we make a deduction that the study didn’t measure. GA4 is a JavaScript tag, so a crawler that doesn’t run JavaScript never sends it a hit. Declared bots that do run scripts are the ones GA4’s known-bot filter is meant to remove. What stays in the reports are the headless browsers that execute everything and say they’re Chrome, often from a residential IP. Add the bots that write to GA4 directly, and that is the bot traffic a GA4 report can contain.
This is the division we built BotFlamingo, our product, around. Its snippet replaces the GTM snippet and checks each visit before GTM starts. In report mode GTM always starts and finds the verdict in the dataLayer; in block mode, for a bot, GTM never starts and the server container receives nothing. When a visitor claims to be Claude’s or Google’s agent, we check its IP against the published list. A verified agent isn’t treated as a bot, so GTM starts in both modes and the session is counted separately.
The rules belong to each site and come from an analysis that runs once a day and on traffic spikes. Each rule says why it exists and has a cap on the share of traffic it can block. A rule applied at once can be undone from the email, while one waiting for confirmation can’t, and it expires if nobody confirms it. If our service doesn’t answer within 800 milliseconds, GTM starts anyway.
Among the limits we know about, bots that send data straight to GA4 through the Measurement Protocol never open a page, so they never meet the snippet. A bot nobody has seen before also gets through until the daily analysis notices it, and we don’t check OpenAI’s signature. The BotFlamingo beta is open, and every project starts in report mode, which blocks nothing, while the panel shows how many sessions were flagged as bots before anyone decides what to do about them.