Does GA4 filter out bot traffic?
GA4 removes known bots on its own, but not every bot. How to spot the ones that get through, what you can and can't filter, and how to keep them out.
Yes, partly. Google Analytics 4 automatically excludes traffic from known bots and spiders, using Google's own research and the IAB's International Spiders and Bots List. You can't turn this off or see how much it removed, and bots that aren't on the list can still show up as visitors.
What GA4 removes on its own
- Search engine crawlers and other bots on the known list.
- Most automated tools that never run JavaScript, like many scrapers and AI crawlers: GA4's tag needs a browser that runs it, so they never reach your reports.
There's no setting for it and nothing to switch on.
Signs a bot got through
| Sign | Where to look |
|---|---|
| A sudden spike in visitors that doesn't match signups or sales | Acquisition overview, compared with key events |
| Most of the spike is Direct or one odd referral source | Traffic acquisition, by session source |
| It comes from one country or city you don't usually see | User attributes → Demographic details |
| Average engagement time near zero, one page per visit | Pages and screens, Landing page |
One sign alone proves little; several together usually mean automated visits.
Can I filter suspected bots out?
Not completely, and not for past data:
- GA4's data filters only remove internal traffic (your own visits, how) and developer traffic. There's no filter for "suspected bots".
- In reports, you can add a comparison or an Explore segment that leaves out the country, city or source behind the spike. It hides them from that view; the data stays.
- Before they reach your site, a firewall or bot protection (for example Cloudflare's) can block them, so they're never counted.
Listing a source under unwanted referrals doesn't remove its visits; it only stops it taking credit for them.
Do bots affect my numbers much?
On most small sites, little: the known ones are already gone. They matter when a spike makes a week look like a launch. Compare visitors with signups: real visitors sign up at a fairly steady rate, bots don't.
Related
- Why GA4, Stripe, Search Console and your host show different numbers
- What is direct traffic, and why is mine so high?
- Your traffic dropped? Find what changed
Sources
- Google: Known bot-traffic exclusion
- Google: Filter out internal traffic
Last updated
Why tools disagree
GA4 visitors, Stripe sales, Search Console clicks and your host's analytics never match exactly. What each one counts, why they differ and which to trust.
Traffic dropped?
A step-by-step check for a traffic drop in GA4: rule out tracking problems, then find which source, page, device or country fell, and what Search Console shows.