Claim your free tracking audit, I’ll handle your behind all technical setup to run paid ads.

How to Track ChatGPT and AI Traffic in Google Analytics 4 (GA4)

khomenidigital

AI tools like ChatGPT, Claude, Perplexity, Gemini, and Copilot are already sending visitors to your website.

But here’s the catch:

Most business owners have no idea it’s happening.

They assume all traffic is from Google or social media.

But AI platforms are the new gatekeepers of attention — and if you’re not tracking this traffic, you’re flying blind.

My clients now see ChatGPT traffic inside their GA4 dashboards. 🔍

(And yes, it’s already converting!)

Whether you’re running D2C campaigns, scaling performance ads, or optimizing funnels, you need to know where your traffic is really coming from — including from AI tools.

Here’s how to set it up in less than 2 minutes (no coding required).

✅ Step-by-Step:

How to Track AI Search Traffic in GA4

1. Open your GA4 dashboard Log into your account and head over to: Reports → Acquisition → Traffic acquisition

2. Add a filter Click the “+ Add Filter” button on the top right.

3. Set filter criteria Choose: Session source/medium Then: Matches regex

4. Paste this regex into the input field:

Copy the code👇

^.*openai.*|.*copilot.*|.*chatgpt.*|.*gemini.*|.*gpt.*|.*neeva.*|.*writesonic.*|.*nimble.*|.*perplexity.*|.*google.*bard.*|.*bard.*google.*|.*bard.*|.*edgeservices.*|.*bnngpt.*|.*gemini.*google.*$

 

🧠 What This Regex Catches:

  • ChatGPT / OpenAI
  • Google Gemini & Bard Claude AI (via edgeservices)
  • Perplexity AI
  • Microsoft Copilot / Bing AI
  • Writesonic, Poe, Jasper, and more

 

These tools often fetch and summarize your content, and users click through to your site from their interfaces.

 

✅ Why You Should Care
AI tools are turning into search engines.

Your next customer might never use Google —
They’ll ask ChatGPT for “the best D2C email agency” or “how to fix low ROAS,”
and land directly on your site if you’re ranking well in AI responses.

  • Here’s why this traffic matters:
  • It behaves differently than Google traffic
  • It might have higher buyer intent
  • It’s going to increase month over month

Tracking it helps you make smarter content, better offers, and more ROI-focused ad decisions.

 

✅ Final Tip:

Once your filter is set:

🎯 Save it as a custom exploration or segment
That way, you can track AI traffic trends over time and compare performance.

Top picks

Read our most popular articles of the month

What is Cookie Consent? Collecting user data without permission is not allowed. Cookie consent is the way to ask users for permission …

AI tools like ChatGPT, Claude, Perplexity, Gemini, and Copilot are already sending visitors to your website. But here’s the catch: Most business …

Never Miss Another Conversion

Book a free growth call