How to track and analyse AI bot traffic using GA4

AI bots already visit your site. GA4 can show you how often.

What it means for marketers

This isn’t just about data—it’s your new competitive edge:

  • Identify AI-driven traffic sources (such as Bytespider, CCBot, and LLM referrals), so you’re not flying blind.
  • Create custom segments in GA4 to compare the performance of bot vs human sessions.
  • Use bot visibility to refine content strategy, eliminate wasted targeting, and outsmart competitors.

Background

AI bots like ChatGPT, Gemini, and Perplexity are increasingly crawling websites to gather content for generative answers. But unlike human visitors, they don’t leave meaningful signals in your analytics—yet they influence visibility, brand exposure, and even perceived engagement.

This shift makes it critical for marketers and analysts to understand how AI-driven traffic behaves in GA4, and how to separate it from actual user behaviour. That’s exactly what this guide helps you do.

What you can track in GA4

  • Go to Explore > Free-form reports
  • Filter for:
    • Traffic from US or Ireland
    • Sessions with no screen resolution, no engagement, and odd time patterns
    • User agent hints: not always visible, but may appear in logs (e.g., CCBot, Bytespider)
  • Use custom segments to isolate suspected AI bot sessions by
    • Choose Filter > Session source
    • Add filter > “matches regex”
    • (?i)ai|openai|copilot|chatgpt|gemini|gpt|neeva|writesonic|nimble|outrider|perplexity
  • Watch for consistent behaviour patterns — often very short visits, no clicks, and early-morning or batch traffic

Bonus tip

Most AI bots don’t follow robots.txt, and many use hidden user agents. Instead of trying to block them, some teams choose to feed these bots fresh, high-quality content, getting their work into AI models before their competitors even notice.

Learn more: GA4 and bot traffic

Article series: Data & analytics for marketers

Read the full article series on data and analytics for marketers

Back to top

// data & analytics

Read more

The whole series: Data & Analytics

Calendar

Book 30 minutes

Pick a day and a time. We meet on Teams and you get a calendar invite with the link by email.