Bot Traffic in GA4

Nico Brooks

|

June 25, 2024

Contents

Bots are a pain in the butt. I look after a number of GA4 properties, and have spent more time than I’d like to admit identifying and dealing with bots. GA4 automatically filters known bots and spiders, but for the most part that means bots that are polite enough to identify themselves. Every week, I encounter new bots that are not so polite.

Dealing with Bots in GA4

Below is a series of articles I wrote describing methods I’ve found for identifying bot traffic, filtering it from GA4 reports and excluding it from GA4 altogether.

  • Hunting for Bots: follow along as I describe my hunting expedition. One down, infinity to go.
  • How to identify bot traffic in GA4: some of the attributes we look at to determine if a traffic surge is in fact a bot. These attributes can then be used to configure filters.
  • How to remove bot traffic from GA4 reports: unfortunately, there is no way to remove bot traffic from historical data in GA4. But you can filter it from reports.
  • How to filter bot traffic from GA4: the only built-in functionality for filtering traffic in GA4 requires that you know the IP address(es) you want to filter. This is rarely sufficient for filtering bots. In this article, I describe how you can set the GA4 traffic_type parameter in Google Tag Manager based on identifying characteristics of a bot.

Additional Solutions: CDNs, BigQuery, and Monitoring

If bot traffic is a really big problem on your site, there are a couple of other things you should consider:

Share

Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Picture of Nico Brooks
Nico Brooks
Nico is Two Octobers' Head of Analytics and a co-founder of the agency. He spends most of his time building solutions and finding insights with AI, and has spent 25+ years helping organizations turn marketing data into decisions.

A B2B digital marketing agency that helps lean marketing teams build the strategy and analytics behind sustainable growth.

Subscribe to our newsletter

Explore More GA4 Articles

path through forest in autumn

Analytics Roundup – October 2026

Nico Brooks November 3, 2026

The art of throwing things away; product updates in Google Ads, GA4, Data Studio, GTM; great articles about AI-assisted analysis and data visualization.

Connecting to the Google Analytics MCP server with Claude

Nico Brooks October 11, 2026

Connect live GA4 data with Claude, ChatGPT, or Gemini. Here's how to set up a GA MCP Server for illuminating insights.

Google Analytics Insights Monitoring Tool

Nico Brooks October 21, 2026

Identify tracking problems with our GA Insights Monitoring Tool. Connect GA4 custom insights with a Looker Studio dashboard.