How to Track AI Traffic in Google Analytics

Is AI Referring me?


How to Track AI Traffic in GA4

AI tools are sending traffic to your website.

The question isn’t if. It’s how much… and what happens next?

The easiest way to find out is by building an Exploration in GA4. We like this approach because it shows:

  • Which AI platforms are sending traffic

  • Which pages they’re sending visitors to

  • What those visitors do once they arrive

In other words… not just traffic. Behavior.

Table summarizing AI traffic sessions, event counts, and engagement rates by page referrer

How to Build the Report

  1. Create a new Exploration and name it something like “Traffic from AI.”

  2. Create a segment called “AI Traffic.”

  3. Under Add new condition, choose Page referrer.

  4. Click + Add filter, choose matches regex, and paste in the following:

^https:\/\/(www\.meta\.ai|www\.perplexity\.ai|chat\.openai\.com|claude\.ai|chat\.mistral\.ai|gemini\.google\.com|chatgpt\.com|copilot\.microsoft\.com|copy\.ai|chat\.deepseek\.com|www\.deepseek\.com)(\/.*)?$|.*\.ai.*|.*\.openai.*|.*\.groq.*|.*\.metaai.*|.*\.meta\.com/ai.*|.*\.deepseek.*

Set Your Report View

For Dimensions, choose:

  • Page referrer

  • Landing page + query string

For Metrics, choose:

  • Sessions

  • Engagement rate

  • Session key event rate

That’s it.

You’ll now see AI-driven traffic in a clean table view, including engagement and conversion performance.

🤖 AI Workshops

Fast-Track Your Team's AI Skills

Learn more