Tracking traffic from AI chatbots is becoming increasingly essential as these tools reshape search behavior and influence website traffic. Fortunately, setting up this tracking is straightforward in Google Analytics 4 (GA4). Here’s how you can do it and what insights you’ll gain.
Table of Contents
ToggleWhy Track AI Chatbot Traffic?
Monitoring traffic from AI chatbots allows you to:
- Identify disruption to traditional organic traffic sources.
- Understand your audience’s preferred AI search engines.
- Pinpoint pages earning clicks from AI-generated answers.
How to Set Up AI Chatbot Traffic Tracking in GA4
Tracking chatbot traffic in GA4 is simple with these steps:
- Create an Exploration
- Go to GA4 and create a new Exploration.
- Set “Page Referrer” as the dimension.
- Use “Sessions” as the metric.
- Apply the Filter
Use this regex filter to isolate traffic from popular AI chatbots:^https:\/\/(www\.meta\.ai|www\.perplexity\.ai|chat\.openai\.com|claude\.ai|chat\.mistral\.ai|gemini\.google\.com|bard\.google\.com|chatgpt\.com|copilot\.microsoft\.com)(\/.*)?$ - Enhance Your Analysis
Add these additional dimensions and metrics for deeper insights:- Dimensions: “Landing Page + Query String,” “Session Source/Medium”
- Metrics: “Views,” “Total Users”

What You’ll Learn
With this setup, you’ll gain valuable insights into:
- Which AI tools drive traffic to your site.
- The type of content that resonates with users interacting through AI chatbots.
- Emerging trends that can inform your LLM optimization strategy.
Start tracking today to stay ahead in the evolving digital landscape!
Tracking AI chatbot traffic is crucial for understanding how generative AI tools impact your website and audience behavior. By setting up tracking in GA4 with the provided regex and adding insightful dimensions and metrics, you can identify which AI platforms drive traffic, what content earns clicks, and how to optimize for this new era of search.
At Bend Marketing, we specialize in GEO (Generative Engine Optimization) to help your brand thrive in the age of AI-driven search. From tracking chatbot traffic to crafting strategies that improve your visibility within AI-generated answers, our team is here to guide you. Ready to future-proof your SEO? Let’s talk GEO today!