AI Search

How to track AI referral traffic from ChatGPT and Perplexity in GA4

How to track AI referral traffic from ChatGPT and Perplexity in GA4
Short answer

AI assistants send visitors with referrers like chatgpt.com, perplexity.ai, gemini.google.com and copilot.microsoft.com. In GA4, create a custom channel group with an “AI assistants” channel that matches those sources, place it above Referral, and report on it monthly. Clicks from Google’s AI Overviews arrive as ordinary google / organic traffic, so track those with prompt checks instead.

Key takeaways
  • Most AI visits land in GA4’s Referral channel, mixed with every other site that links to you.
  • A custom “AI assistants” channel pulls them into one line, and it works on historical data.
  • Clicks from Google AI Overviews look like normal google / organic traffic and can’t be separated.
  • Pair analytics with monthly prompt tracking to see mentions that never become clicks.

Where does AI traffic show up in GA4?

By default, most visits from AI assistants land in the Referral channel, mixed in with every other website that links to you. Some arrive with no referrer at all and fall into Direct, which happens when a link is opened from an app or copied from an answer.

That makes AI traffic easy to miss. A custom channel pulls it out into one line you can watch month by month, next to your organic search numbers.

Where AI assistant traffic lands in Google Analytics 4 WHERE AI VISITS LAND IN GA4 ChatGPT · chatgpt.com Perplexity · perplexity.ai Gemini · Copilot · Claude Google AI Overviews AI assistants channelYour custom channel group google / organicMixed with normal search clicks Apps without a referrer may land in Direct.
AI assistants arrive as referrals you can group into one channel. Google AI Overviews clicks arrive as ordinary organic search.

Which AI referrers should you match?

These are the sources that matter for most stores today. Check your own Referral report for others:

AssistantSource in GA4Notes
ChatGPTchatgpt.comLinks from ChatGPT often carry utm_source=chatgpt.com too
ChatGPT (older links)chat.openai.comStill appears on older shared conversations
Perplexityperplexity.aiCites sources prominently, so it often sends clicks
Geminigemini.google.comSeparate from Google AI Overviews
Microsoft Copilotcopilot.microsoft.comSome Copilot traffic may show as bing.com
Claudeclaude.aiSmaller volumes for most stores

How do you set up an AI channel in GA4?

It takes about ten minutes and works on historical data too:

  1. In GA4, go to Admin → Data display → Channel groups and create a new channel group (copy the default one).
  2. Add a channel called AI assistants, with the condition “Source matches regex”.
  3. Use a pattern such as: chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai
  4. Move the new channel above Referral, otherwise GA4 files those visits under Referral first.
  5. Save, then switch your Traffic acquisition report to the new channel group.
  6. Add a monthly comparison to your reporting so the trend is visible, not just the total.

How do you see which pages AI sends people to?

The channel tells you how much AI traffic you get. The landing pages tell you why, and what to do more of:

  1. Go to Explore → Free form and start a new exploration.
  2. Add your new channel group as a dimension, plus Landing page and Session source.
  3. Add Sessions, Engaged sessions, Key events and, for stores, Purchase revenue as metrics.
  4. Filter to the AI assistants channel and sort by sessions.
  5. Look for patterns: buying guides, comparison pages and collection pages with answer-first copy usually lead.

Pages that already get AI visits are your best candidates for more answer-first content, FAQs and structured data.

How do you see whether AI visitors convert?

Traffic is only half the story. To see whether AI visitors buy or enquire, make sure your important actions are marked as key events in GA4: purchases, add-to-cart, form submissions, WhatsApp or phone clicks.

Then compare the AI assistants channel with Organic Search on key event rate and revenue per session. AI visitors often arrive with a narrower question already answered, so even small volumes can convert well. If they don’t, look at the landing page: does it carry on the answer the AI gave, or start from scratch?

What AI traffic can’t GA4 see?

Google AI Overviews. Clicks from AI Overviews and AI Mode come through as ordinary google / organic traffic, so analytics can’t separate them from normal search clicks.

Mentions without clicks. If ChatGPT recommends your store and the shopper searches your brand later, that visit looks like branded search or direct traffic. The recommendation never shows up as an AI referral.

That’s why we pair analytics with prompt tracking: a fixed set of shopper questions checked monthly across ChatGPT, Perplexity, Gemini, Copilot and AI Overviews. For our clients we report Generative AI performance alongside the AI referral channel.

What are the common setup mistakes?

If your AI channel shows nothing, check these first:

  1. The channel sits below Referral. GA4 assigns sessions to the first matching channel, so AI visits are filed as Referral.
  2. Matching the wrong field. Use Session source (the domain), not Medium.
  3. Forgetting to escape the dots. In a regex an unescaped dot matches any character; write chatgpt\.com, not chatgpt.com.
  4. Looking at the default channel group. Switch reports to your custom group, or the new channel won’t appear.
  5. Expecting AI Overviews in the channel. They arrive as google / organic and never will.

What goes in a monthly AI visibility report?

Keep it to one page. These five lines tell you whether AI search is working:

Generative AI performance · CambayTiger · 2026
11,671
May 2026
35,738
Jun 2026
39,160
Jul 2026
41,534
Aug 2026
44,994
Sep 2026
What a trend line looks like: CambayTiger’s generative AI performance, May to September 2026.
  1. AI referral sessions, this month vs last month and vs the same month last year.
  2. Key events and revenue from the AI assistants channel.
  3. Top AI landing pages, and what changed on them.
  4. Prompt visibility: how many of your tracked prompts mention you, by engine.
  5. Next actions: the two or three changes you’ll make before the next report.
+286%
CambayTiger, May–Sep 2026
+486%
MadeByConfetti, May–Sep 2026
+1,123%
Not Rocket Science, May–Sep 2026

Those are three of our clients’ generative AI performance figures after we started AEO and GEO work. The point isn’t the size of any one number. It’s that you can only manage what you measure month by month.

FAQs

Do I need a paid tool to track AI traffic?
No. A GA4 custom channel group is free and covers clicks from the main assistants. Paid tools add prompt-level tracking, showing which questions mention you, which analytics can’t.
Why is my AI referral traffic so small?
For most stores, AI still sends far fewer visits than Google. What matters is the trend and the quality: AI visitors often arrive further along in their decision. See our approach to AI search.
Will this pattern still work as new assistants appear?
Review it every few months. New assistants and new referrer domains appear regularly, so add them to the regex as they show up in your Referral report.

Does AI recommend your store? Find out free.

Get my free SEO & AI audit