Sessions jump 40% overnight. Engagement rate collapses. Conversion rate halves, or, just as confusingly, form submissions spike with names like "asdfgh" and phone numbers that don't exist. Before anyone celebrates or panics, someone has to ask the boring question: are these people at all?
Often they aren't. Imperva's 2025 Bad Bot Report, as summarised by Malwarebytes, found that automated traffic made up about half of all internet traffic in 2024, with bad bots alone accounting for 37%, up from 32% the year before. Most of that never reaches your analytics, but the share that does can quietly distort every rate-based metric you report: engagement, conversion, cost per lead and A/B test results.
This guide explains which kinds of bots reach GA4, what Google filters automatically, the fingerprints that give bot sessions away, how to build a diagnostic exploration, which filtering options to use for which problem, and how to stop bots at your forms and checkout. It ends with a reporting approach that keeps historical comparisons honest.
Good bots, bad bots and the ones that run JavaScript
GA4 runs as JavaScript in the browser. That single fact explains most of what you see. A bot that only requests your HTML (like most search engine crawlers) never executes the GA4 tag and never appears in your reports. A bot that runs a real browser engine (a "headless browser") executes everything, including your tag, and looks much more like a person.
| Bot type | Examples | Usually reaches GA4? | Main harm |
|---|---|---|---|
| Search engine crawlers | Googlebot, Bingbot | Rarely; known bots are excluded | None (you want them) |
| AI search and training crawlers | OAI-SearchBot, GPTBot, other AI agents | Mostly not, but agent-style browsers can | Server load; occasional analytics noise |
| SEO and monitoring tools | Uptime checkers, site audit crawlers | Sometimes, if configured to render JavaScript | Inflated pageviews on specific URLs |
| Scrapers | Price and content scrapers | Sometimes (headless browsers) | Content theft, distorted engagement |
| Form and comment spam bots | Automated form fillers | Often | Fake leads, inflated conversions |
| Click fraud and ad bots | Bots clicking paid ads | Often, arriving with paid UTMs or click IDs | Wasted ad spend, polluted campaign data |
| Measurement protocol spam | Hits sent directly to your measurement ID | Yes, without visiting your site at all | Fake sessions, fake hostnames and referrers |
| Credential stuffing and carding bots | Automated logins, card testing at checkout | Often | Security risk, fraud, distorted checkout data |
AI agents are a newer complication. Some browse on a user's behalf in a real browser, which can trigger your tag. Our guide on detecting AI agent visits covers how to tell those apart, and OpenAI publishes the user agents and IP ranges of its crawlers, which helps you verify them at the server.
What GA4's automatic bot exclusion catches, and what slips through
GA4 automatically excludes traffic from known bots and spiders. Google's help page says these are identified using a combination of Google research and the International Spiders and Bots List maintained by the IAB. There's no setting to configure, and also no visibility:
“At this time, you cannot disable known bot traffic exclusion or see how much known bot traffic was excluded.”
— Google Analytics Help, [GA4] Known bot-traffic exclusion
The weakness is in the word "known". A list-based approach catches bots that identify themselves honestly or have been catalogued. It doesn't catch:
- Headless browsers that present a normal Chrome user agent.
- Bots routed through residential proxies, so their IP addresses look like ordinary home connections.
- Measurement protocol spam, which never visits your site.
- Your own tools: uptime monitors, QA scripts and staging environments sending data to the live property.
- New bots that haven't been catalogued yet.
So GA4 removes the polite bots and leaves you to deal with the rest.
Seven fingerprints of bot sessions in GA4 reports
No single signal proves a session is a bot. Clusters of signals do. Look for these, especially in combination and especially when they appear suddenly.
- Sudden spikes in sessions or users with no matching campaign, press mention or seasonal reason.
- Zero or near-zero engagement: average engagement time close to 0 seconds and an engagement rate far below your normal for that channel.
- One page per session, always the same page, often the homepage or a single landing page.
- Odd geography: a burst of traffic from a city or country you don't serve, or a concentration in data-centre locations.
- Uniform technology: the same browser version, screen resolution and operating system across hundreds of sessions. Real audiences are messy.
- Strange sources: referral domains you've never heard of, sessions with (not set) source and medium landing in Unassigned, or a hostname that isn't yours.
- Impossible conversion patterns: form submissions with gibberish data, many conversions from one city, or a conversion rate that jumps while revenue doesn't.
Semrush's guide to bot traffic lists a similar set of warning signs, including spikes, single-page visits, zero engagement time, unusual conversion rates and traffic from unexpected locations. The table below shows where to check each one and what the contrast usually looks like.
| Signal | Where to check in GA4 | Typical human pattern | Typical bot pattern |
|---|---|---|---|
| Engagement time | Traffic acquisition report, by source | Varies widely by page and channel | Clustered at 0–1 seconds |
| Pages per session | Exploration: Views / Sessions by source | Mix of single and multi-page sessions | Exactly one view, same landing page |
| Location | Demographic details, City | Matches your markets | Bursts from one unexpected city or country |
| Technology | Tech details: browser, OS version, screen resolution | Spread across many combinations | One combination dominates a spike |
| Hostname | Exploration with Hostname dimension | Your domains only | Unknown domains or (not set) |
| Timing | Exploration with Date and Hour | Follows your audience's daily rhythm | Flat around the clock, or sharp bursts |
Unassigned traffic deserves its own investigation, because bots aren't the only cause. Our set guide to why GA4 puts traffic in Unassigned covers the tagging reasons, and our guide to engagement rate versus bounce rate explains what "normal" engagement looks like.
A diagnostic exploration you can build in GA4
Standard reports aggregate too much to show bot fingerprints clearly. Build a free-form exploration instead. Our guide to GA4 explorations covers the interface if you're new to it.
- Set the date range to cover the suspicious period plus an equal "normal" period before it.
- Add dimensions: Date, Hostname, Session source / medium, City, Browser, Operating system with version, Screen resolution, Landing page.
- Add metrics: Sessions, Engaged sessions, Average engagement time per session, Key events, Event count.
- Start with Hostname in rows. Anything other than your own domains (and legitimate tools like translation proxies) is a red flag, often measurement protocol spam or a copied tag.
- Swap in Date in rows and Session source / medium in columns to see which source drove the spike.
- Drill into the suspicious source with City, Browser and Screen resolution. If 90% of sessions share one combination, you've found your bot.
- Save the defining combination as a segment (for example, City = X and Screen resolution = Y and engagement time = 0) so you can exclude it in analysis.
If the patterns are subtle, the raw event data in BigQuery lets you look at timing between events, which bots often get wrong. Our set guide on the GA4 BigQuery export shows how to set it up.
Filtering options compared: which tool for which problem
GA4 offers several ways to keep bot data out of reports, and they work at different levels. Choosing the wrong one either leaves the problem in place or removes good data permanently.
| Option | Best for | Retroactive? | Reversible? | Watch out for |
|---|---|---|---|---|
| Segments and comparisons in explorations | Analysing with and without suspected bots | Yes | Yes | Only applies to explorations, not standard reports |
| Web hostname traffic filter | Spam with fake hostnames, copied tags | No | Can be deactivated, but excluded data is gone | Validate in Testing state first |
| Internal traffic filter (IP-based) | Your office, agencies and monitoring tools with fixed IPs | No | As above | Bots rotate IPs, so this rarely stops them |
| Developer traffic filter | Debug-mode traffic from your team | No | As above | Doesn't affect bots |
| List unwanted referrals | Spam referrer domains appearing as sources | No | Yes | Re-attributes the session rather than removing it |
| Server, CDN or firewall rules | Stopping bots before they load the page | No | Yes | Don't block verified search crawlers |
| BigQuery cleaning | Rebuilding clean historical reports | Yes | Yes | Requires SQL and the export set up in advance |
Two details from Google's documentation matter here. First, data filters are permanent: Google's data filters page states that once you apply a data filter, the effect on the data is permanent, and that filters don't affect historical data. Second, the hostname filter has a built-in safety step: Google recommends creating it in Testing state, waiting 24 to 36 hours, and checking in an exploration that only unwanted hostnames are flagged before activating it.
“Traffic filters only apply to new data and won't change previously collected data in your reports.”
— Google Analytics Help, Filter web hostname traffic in Google Analytics
The unwanted referrals list (up to 50 per data stream, in the tag settings of your web stream) is often misunderstood. It doesn't delete sessions; it tells GA4 to ignore the referrer, so the traffic will be attributed elsewhere, often to Direct. That's right for payment gateways and wrong for spam bots, which you'd rather exclude or segment out. Our guides to cleaning referral traffic in GA4 and excluding internal traffic cover those two settings in depth.
Stopping bots at the form and checkout
Filtering cleans your reports. It doesn't stop fake leads reaching your CRM or card-testing bots hitting your payment processor. For those, you need protection on the form or endpoint itself. Layer several defences rather than relying on one.
- A challenge widget such as Google reCAPTCHA or Cloudflare Turnstile. Turnstile offers managed, non-interactive and invisible modes; Cloudflare describes managed mode as choosing between a non-interactive check and a checkbox based on visitor risk. Whichever you use, the token must be validated on your server, not just in the browser.
- A honeypot field: a field hidden from humans with CSS that bots fill in. Reject any submission where it has a value.
- Timing checks: reject forms submitted within a second or two of page load.
- Rate limiting by IP and by email address on form and login endpoints.
- Server-side validation of email format, phone format and disposable email domains.
- Fire key events only on confirmed success, ideally after server-side validation, not on button click. Our guide to tracking form submissions in GA4 explains how.
“Managed mode is fully managed by Cloudflare.”
— Cloudflare, Turnstile widgets
For checkout, card-testing attacks show up as many small failed transactions. Payment providers have their own fraud tools; turn them on, and make sure your GA4 purchase event fires only on a confirmed order, never on a payment attempt.
Worked example: a lead-gen site whose conversion rate halved
Hypothetical example with illustrative figures.
A home services company normally sees about 12,000 sessions a month and 360 form submissions, a 3% conversion rate. In March, sessions jump to 19,500 but submissions only reach 380, so the reported rate falls to about 1.9%. The PPC manager is asked why paid search "stopped working".
The diagnostic exploration shows 7,100 extra sessions from Direct and Unassigned, 92% of them on one screen resolution and one Chrome version, average engagement time under one second, all landing on the homepage, mostly from two cities the company doesn't serve. A segment excluding that fingerprint brings March back to 12,400 sessions and 372 submissions: a 3.0% conversion rate. Paid search was fine.
A second issue appears in the form data: 45 of the 380 submissions contain gibberish. These came from real page loads, so filtering wouldn't remove them. The team adds Turnstile and a honeypot, moves the key event to fire on server-confirmed submissions, and rate-limits the endpoint at the CDN. April shows 0 gibberish leads. The team also annotates March in its reports so nobody compares against the inflated figures later.
Reporting on clean data without rewriting history
Because GA4's filters aren't retroactive, any period of bot traffic stays in your standard reports forever. A few habits keep reports honest:
- Annotate bot episodes with dates and estimated volume, so year-on-year comparisons don't mislead.
- Report from a cleaned view for affected periods: an exploration with your bot segment excluded, or a BigQuery table with flagged sessions removed.
- Use conversion counts from your CRM or ecommerce platform as the source of truth for leads and revenue, and GA4 for behaviour and attribution.
- Prefer engaged-session based rates (key events per engaged session) for trend reporting. They're less sensitive to zero-engagement bot bursts than raw session rates.
- Re-check A/B tests run during a bot episode. Bots split unevenly between variants can create false winners; see our set guide on A/B test statistical significance.
- Add a bot check to your regular audit. Our set guide's GA4 audit checklist includes hostname and source checks.
Small properties have one more wrinkle: removing bot sessions can push some reports under GA4's privacy thresholds. Our set guide on GA4 data thresholds explains why rows disappear.
Questions about bot traffic in GA4
Does GA4 filter bot traffic automatically?
Yes, for known bots identified by Google research and the IAB International Spiders and Bots List. You can't turn it off or see how much was excluded, and uncatalogued bots get through.
Can I remove bot traffic from historical GA4 data?
Not from standard reports. Use segments and comparisons in explorations, or clean the BigQuery export.
Why do I see sessions with strange hostnames?
Measurement protocol spam and copied tags send hits with hostnames that aren't yours. Validate and activate a web hostname traffic filter.
Will blocking bots at the firewall hurt my SEO?
Only if you block good bots. Allow verified search engine crawlers and decide deliberately about AI crawlers.
Is a 0-second engagement time always a bot?
No. Real users can bounce instantly. Look for clusters of several signals together.
A one-afternoon bot audit for your GA4 property
Build the diagnostic exploration, check hostnames, scan the last 90 days for spikes, and save a bot segment for any fingerprint you find. Then test your main forms by submitting junk yourself: if it reaches your inbox and fires a key event, add a challenge and a honeypot this week. Finally, add a line to your monthly report noting any bot episodes.
If bot traffic is distorting your paid media or conversion data and you'd like help cleaning it up, our conversion optimization team audits tracking as part of every engagement. Get a quote for a GA4 data quality review.
Further reading on bot traffic in GA4
- Email Open Rates After Apple Mail Privacy: What to Measure Instead
- Google Sheets for Marketers: Formulas and Templates That Save Hours
- GA4 BigQuery Export: When You Need It and How to Start
Sources for this bot traffic analytics guide
- Google Analytics Help: [GA4] Known bot-traffic exclusion
- Google Analytics Help: Filter web hostname traffic
- Google Analytics Help: Data filters
- Google Analytics Help: Identify unwanted referrals
- Malwarebytes: Half of all internet traffic now automated (Imperva 2025 Bad Bot Report, April 2025)
- Cloudflare: Turnstile widgets
- Semrush: Bot Traffic: What It Is and How to Stop It
- OpenAI: Overview of OpenAI Crawlers




