AEO & GEO·7 min read·November 2026

How to Track Traffic From ChatGPT, Perplexity and Other AI Search in GA4

AI assistants are sending real visitors to websites, but GA4 lumps them into referral traffic. Here's how to separate them out, what the numbers can and can't tell you, and how to measure AI visibility properly.

How to Track Traffic From ChatGPT, Perplexity and Other AI Search in GA4

When someone clicks a link in ChatGPT, Perplexity, Gemini, Copilot or Claude, the visit usually arrives in Google Analytics 4 as referral traffic from that assistant's domain. Grouping those domains into a custom "AI search" channel lets you see how much traffic AI tools send you, which pages they send it to, and whether it converts. It won't show you everything — but it's the first number to start tracking.

Key takeaways

  • AI visits typically appear as referrals from domains such as chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com and claude.ai.
  • ChatGPT often adds utm_source=chatgpt.com to the links it shows, which makes it easier to identify.
  • Create a custom channel group in GA4 with an "AI search" channel defined by a source regex.
  • Clicks from Google's AI Overviews and AI Mode are counted as normal Google organic traffic. You can't separate them in GA4.
  • Traffic is only part of AI visibility. Many people get an answer and never click; track mentions and citations too.

Where AI traffic shows up in GA4

Go to Reports → Acquisition → Traffic acquisition, set the dimension to Session source / medium, and search for the assistants' domains. Typical sources include:

Assistant Common referral source
ChatGPT chatgpt.com (older: chat.openai.com)
Perplexity perplexity.ai
Google Gemini gemini.google.com
Microsoft Copilot copilot.microsoft.com
Claude claude.ai
DeepSeek chat.deepseek.com

Some visits arrive with no referrer at all — for example when the assistant is used in a desktop or mobile app that doesn't pass one. Those land in Direct, and you can't reliably attribute them.

Step-by-step: create an "AI search" channel

  1. In GA4, go to Admin → Data display → Channel groups.
  2. Copy the default channel group (you can't edit the default itself) and name it something like "Channels incl. AI".
  3. Add new channel called "AI search".
  4. Set the condition: Source → matches regex →
.*(chatgpt|openai|perplexity|gemini\.google|copilot\.microsoft|claude\.ai|deepseek|you\.com|meta\.ai|grok).*
  1. Drag the AI search channel above "Referral" in the list. GA4 assigns sessions to the first matching channel, so if Referral comes first, AI traffic stays hidden in it.
  2. Save. The new group applies to historical data as well, so you can look back.

In the Traffic acquisition report, switch the primary dimension to your new channel group to see AI search alongside Organic Search, Paid Search and the rest.

What to look at once it's set up

  • Landing pages for the AI search channel — which pages assistants link to. These are your strongest AI-cited assets; protect and update them.
  • Engagement and conversions — AI referrals often arrive with a specific question already answered, so they can convert well. Check rather than assume.
  • Trend over time — whether AI referrals grow as you improve content structure and coverage.

Want to know how visible your business actually is in ChatGPT and Perplexity? We'll run real prompts for your services and markets on a free strategy call and show you who gets recommended instead of you. Book it here.

What GA4 can't show you

Google AI Overviews and AI Mode

Clicks from Google's AI features are reported as ordinary Google organic traffic in both GA4 and Search Console. There's no separate filter. Watch for pages whose impressions rise while clicks fall — a common sign that an AI Overview is answering the query on the results page.

Zero-click answers

Often an assistant answers the question fully and the user never visits any site. Your brand may still have been named or recommended. Referral traffic undercounts that influence.

App traffic without referrers

Visits from apps that strip the referrer arrive as Direct. A rise in Direct traffic to deep content pages can be a hint, but it isn't proof.

Measuring AI visibility properly

Combine three sources:

  1. GA4 AI search channel — the traffic you can see.
  2. Prompt tracking — regularly asking the assistants the questions your customers ask ("best roofer in Leeds", "SEO agency for SaaS startups") and recording whether you're mentioned or cited. Our AI visibility audit guide shows how.
  3. Lead source questions — add "How did you hear about us?" to your forms with an option for ChatGPT or AI assistants. People will tell you.

To improve what you find, start with how to rank in AI search and the difference between SEO, AEO and GEO.

Frequently asked questions

Can Google Analytics track ChatGPT traffic?

Yes. Clicks on links in ChatGPT generally arrive as referral traffic from chatgpt.com, often with utm_source=chatgpt.com. A custom channel group in GA4 lets you report on it separately.

Why is my ChatGPT traffic showing as direct?

Some apps and environments don't pass a referrer when a link is opened, so GA4 can't tell where the visit came from and records it as Direct. Referral-based tracking will always undercount AI traffic somewhat.

Can I see traffic from Google AI Overviews?

Not separately. Google reports clicks from AI Overviews and AI Mode as part of normal organic search traffic in both Search Console and GA4.

Does the custom channel group work on past data?

Yes. Custom channel groups in GA4 are applied retroactively, so you can see historical AI referrals once it's set up.

Is AI search traffic worth tracking for a small business?

Yes. Even small volumes tell you which pages assistants trust enough to link to, and the trend shows whether your AI visibility work is paying off.


Want to be the business AI assistants recommend? We run SEO, AEO and GEO for service businesses and startups in the US, UK, Canada, Australia and Europe.

Book a free strategy call · Answer engine optimisation · Generative engine optimisation · AI SEO

AEOGEOGA4AnalyticsAI Search