On this page
What this issue is
Bot traffic is any visit from software rather than a person. Some bots are harmless crawlers. Others are scrapers, uptime tools, vulnerability scanners or spam scripts. GA4 filters known bots using the IAB list, but many get through, especially ones that run JavaScript and look like a normal browser.
Why it costs you leads or sales
The bots themselves do not cost you money directly. The damage is bad decisions. If organic sessions look healthy, you may skip fixing a real drop. Conversion rate also looks worse than it is, so you may redesign pages that work fine. Reports to clients or bosses become unreliable, and you may credit the wrong content or campaign.
Example: reported organic sessions in GA4 compared with the real human sessions behind them. Numbers are illustrative.
- Bot visits siteRuns JavaScript, sends a search referrer
- GA4 counts sessionClassified as Organic Search
- Conversion rate dropsMore sessions, same leads
- Wrong decisionPages or content judged on bad data
The bot visit is counted as organic, so every number after it is skewed.
How to check if your site has it
Open GA4 and look for patterns that humans rarely produce. Use Reports > Acquisition > Traffic acquisition, filter to the Organic Search channel, and add secondary dimensions.
- A sudden spike in sessions with no matching rise in Search Console clicks
- Engagement rate near 0% or average engagement time of 0 to 1 seconds
- One city, country or ISP producing a large share of sessions (check Reports > Tech and User attributes > Demographic details)
- A single old browser version or screen resolution dominating
- Sessions landing on one odd URL, such as a login page or a URL that does not exist
- Traffic at regular times, for example every hour on the hour
- Organic sessions up while organic conversions stay flat
Then compare against Search Console > Performance > Clicks. Search Console counts real clicks from Google results. If GA4 organic sessions are far above clicks for the same dates and pages, the gap may be bots. Other causes exist, such as Bing and other search engines, so compare with care.
| Place | What to check | Suspicious sign |
|---|---|---|
| GA4 Traffic acquisition | Organic Search sessions by day | Spike with no content or ranking change |
| GA4 Tech details | Browser, OS, screen resolution | One rare combination with many sessions |
| GA4 Demographic details | City and country | One unexpected city dominating |
| Search Console | Clicks for the same dates | Clicks flat while sessions jump |
| Server logs or CDN analytics | User agent and IP ranges | Many requests from one IP range or data centre |
How to fix it
There are two jobs: stop the bots reaching the site where you can, and keep what gets through out of your reports. Do both. Blocking at the edge cleans future data, while GA4 segments clean what you have already collected.
Find the pattern
Note the shared trait: a city, an ISP, a browser version, a landing page or a time window. You need something specific to filter on.
Block it at the edge
If you use a CDN or firewall such as Cloudflare, create a rule for the offending IP range, ASN or user agent and use the managed bot protection settings that the provider offers. Do not try to defeat a visitor's CAPTCHA or another site's protections.
Create a clean comparison in GA4
In Explore, build a free-form exploration with a segment that excludes the bad city, browser or hostname. Use it for reporting while the block takes effect.
Exclude internal and known test traffic
In GA4 go to Admin > Data streams > your stream > Configure tag settings > Define internal traffic, then Admin > Data settings > Data filters and activate the Internal Traffic filter. This is for your own team and tools, not for unknown bots.
Annotate the dates
Record when the bot traffic started and when you blocked it, so later readers know why the numbers jump.
Report from the cleaned view
Use the segment or a filtered report when you share organic numbers, and compare against Search Console clicks.
Use a security plugin
Plugins such as Wordfence or similar firewall plugins let you block IP ranges and rate-limit requests under their firewall or blocking settings. Check the plugin's own menu names.
Check for a CDN
If the host or a CDN offers bot controls, set them there so bots are stopped before WordPress loads.
Rely on built-in protection
Shopify handles much bot filtering itself and you cannot edit server rules. Use GA4 segments to exclude the bad pattern from reports.
Check apps that load tags
Review apps and the Customer events settings for scripts that may fire analytics on unusual pages.
Add a blocking condition
On the GA4 configuration tag, add an exception trigger for the bot trait you can read in the browser, such as a hostname that is not your own. Use a Page Hostname variable and a Custom trigger.
Preview and publish
Test in Preview mode, then publish and note the version name with the date.
Use your CDN or proxy
Webflow does not let you edit server rules. If the domain sits behind Cloudflare or similar, set bot rules there.
Filter in GA4
Use a segment or exploration filter to exclude the pattern from reports.
Filter in GA4
Server rules are not available on Wix, so exclude the pattern with GA4 segments and explorations.
Check connected domain
If you use a proxy in front of Wix, set bot rules there.
Block at the web server
Use nginx, Apache or your WAF to deny the offending IP range or rate-limit it. Example below for nginx.
Review server logs
Confirm the same IPs or user agents appear in access logs before blocking.
# Replace with the range you confirmed in your logs
deny 203.0.113.0/24;
allow all;Before
- Sessions up sharply, conversions flat
- Engagement rate dragged down
- One city dominates the traffic
- GA4 and Search Console disagree widely
After
- Sessions track Search Console clicks more closely
- Engagement rate reflects real visitors
- Traffic spread across normal locations
- Conversion rate is trustworthy
How to confirm it's fixed
Wait a few days
GA4 data can take time to settle, and the block needs a few days to show a trend.
Recheck the suspicious traits
Look again at city, browser, landing page and engagement rate for Organic Search. The odd pattern should be gone or far smaller.
Compare with Search Console
Sessions and clicks for the same dates and pages should move together more closely.
Check server or CDN logs
Confirm the blocked requests now show as denied.
How to prevent it happening again
- Review organic sessions against Search Console clicks monthly
- Keep bot protection on at your CDN or firewall
- Set up the internal traffic filter in GA4
- Add a GA4 custom alert or insight for unusual session spikes
- Annotate site changes and blocks so spikes can be explained
- Report on conversions as well as sessions
Week 1
Organic sessions jump with no content change
Week 2
Conversion rate falls; team suspects the site
Week 3
Pattern found in city and browser reports
Week 4
Block and segment in place; numbers settle
How FunnelGuard handles this
FunnelGuard does not check for bot traffic in your organic sessions yet. It is a possible future check. Today, FunnelGuard is a synthetic monitoring service: a robot visitor runs your real customer journeys on a schedule and checks each step, the tracking hits sent to GA4 and ad platforms, and whether test leads reach your inbox and CRM.
That is relevant nearby. If a journey breaks or the GA4 hit stops firing, FunnelGuard can show it, which helps you rule out a tracking fault when numbers look odd. FunnelGuard's own test visits are marked with utm_source=funnelguard, fg_test=1, an fg_test cookie and a dedicated user agent, so you can exclude them from reports.
To watch for bot inflation, use the manual checks above: compare GA4 organic sessions with Search Console clicks each month, review city and browser reports, and use your CDN's bot analytics.
Bots counted
Leads or data lost
Organic sessions look higher, engagement rate and conversion rate look worse, and reports no longer match Search Console.
Toggle to see how bot traffic changes what your organic report shows.
Questions people ask
Why are my organic sessions in GA4 so much higher than Search Console clicks?
Some gap is normal because GA4 also counts other search engines and sessions, while Search Console counts only Google clicks. A very large or sudden gap can mean bots are being counted as organic. Check city, browser and engagement rate to see if the extra sessions look automated.
How do I know if bot traffic is hitting my website?
Look for spikes with near-zero engagement time, one city or browser version dominating, and visits to odd URLs. Server logs or your CDN's analytics will show repeated requests from the same IP range or user agent.
Does GA4 filter out bots automatically?
GA4 excludes traffic from known bots and spiders using an industry list, and you cannot turn this off. Bots that are not on the list, especially those that run JavaScript like a real browser, can still be counted.
How do I remove bot traffic from Google Analytics?
You cannot delete past data in GA4, but you can exclude the pattern in reports using segments and explorations. To stop new bot visits, block them at your CDN, firewall or web server, and use the internal traffic filter for your own tools.
Can bot traffic hurt my SEO rankings?
Bot visits in your analytics do not directly change your Google rankings. They can hurt indirectly by hiding real problems or leading you to make changes based on false numbers. Heavy bot load can also slow your server, which can affect real visitors.
Should I block all bots?
No. Search engine crawlers such as Googlebot need access so your pages can be indexed. Block only the traffic you have confirmed is harmful or unwanted, and check logs first so you do not lock out real visitors.
Does FunnelGuard detect bot traffic in organic sessions?
Not yet. It is a possible future check. FunnelGuard currently checks that your journeys work, that tracking hits fire and that test leads arrive, so you need to review bot traffic manually in GA4, Search Console and your CDN.
Related issues
- SEO-419Organic traffic in GA4 doesn't match Search Console clicksFix guide
- SEO-423Self-referrals breaking organic attributionFix guide
- SEO-424Consent banner suppresses most organic visitsFix guide
- SEO-427No annotations for site changes so drops can't be explainedFix guide
- SEO-422Search Console not linked to GA4Fix guide
- SEO-421Organic conversions not attributed (lost referrer, redirects stripping)Fix guide