SEO & GEO
ChatGPT in your Google Analytics: how to track ChatGPT traffic in GA4 and see the leads it really brings
Copy for AI
Track ChatGPT traffic in GA4 with a custom channel group for AI sources.
That catches the visits that arrive with a referrer. The rest hides under Direct, so you also need UTM tags and a landing page check.
The verdict: your GA4 report isn’t lying about ChatGPT. It just shows a fraction of the real picture, so treat the number as a floor.
You’ve probably seen it: you filter on referrals and there’s chatgpt.com as a source. Then comes the real question: how many leads does it actually bring?
Why do you almost always underestimate your ChatGPT traffic?
Because you only see the visits that label themselves.
Most people spot a handful of chatgpt.com sessions and conclude: “AI isn’t bringing me anything yet.” That’s logical, but wrong.
What our own GA4 shows
Here’s our GA4 for the last 90 days (19 July to 16 October 2026). It’s Traffic acquisition, filtered on session source “chatgpt”:
Our chatgpt.com referrals: 0.22% of sessions, yet 7.14% of all key events, with engagement far above the site average.
58 sessions looks like nothing.
But those visitors stay a minute on average.
They also produced one of our 14 key events in that period. Put side by side, the gap is hard to miss:
Tiny volume, high intent.
And that’s only the part that arrives with a referrer.
Where the referrer gets lost
When someone clicks your link in an AI answer, the browser ideally passes a referrer: the web address the click came from.
GA4 uses that referrer to set the source. AI answers like this one carry plenty of links:
Perplexity’s sources panel for our own test prompt, 17 October 2026: 10 web pages behind one answer.
But with AI tools, passing the referrer often goes wrong:
- The free ChatGPT app often sends no recognisable referrer.
- Desktop and mobile apps lose the referring source entirely.
- Intermediate steps in some answers wipe out the trail.
So a large share of your real AI traffic lands under Direct, not Referral.
And Direct is the corner marketers never check.
They assume it’s “people typing in the address”.
Why the hidden layer keeps growing
What you see in the referral report is the visible tip.
A growing share of B2B buyers orients with an AI assistant before they ever type a company name. So that hidden layer matters more every quarter.
Why does ChatGPT traffic show up as direct traffic?
Because the referrer is missing when the visitor enters your site.
GA4 applies a simple rule. No recognisable source and no campaign tag? Then the session falls back to the Direct channel:
That fallback happens with, among others:
- the free version of ChatGPT, which cites privacy reasons for not leaking a referrer
- clicks from the ChatGPT desktop app or mobile app, where no browser referrer exists
- visitors who copy and paste your link into a new tab
The paid version and the web interface more often do pass chatgpt.com.
That’s why you sometimes see that source.
But you only see the part that labels itself neatly. For the full picture, measure actively instead of waiting.
Not every “user” is a person
There’s a second distortion.
Some AI agents and crawlers can show up in GA4 as if they were users.
So exclude bot-like sessions before you judge AI traffic. Our list of log file analysis tools shows how to spot them.
How do you set up a GA4 channel group for ChatGPT, Perplexity and Gemini?
With a custom channel group that bundles all AI sources into one line.
No more puzzling source by source. Here’s the setup at a glance:
Step 1: Create a custom channel group
In GA4, go to Admin and choose Channel groups under the property.
Create a new group, for example “AI search engines”.
Limit: a standard property gets 2 custom channel groups, with up to 50 channels each (Google’s channel group help).
Step 2: Add a channel with a regex
Within that group, create a channel called “AI Search”. Set the condition to Source matches regex.
Use a pattern that catches the known AI sources:
chatgpt|chat\.openai|openai|perplexity|gemini|bard|copilot|claude|you\.com|bing.*chat
This bundles ChatGPT, Perplexity, Google Gemini, Microsoft Copilot and related sources in one go.
Watch out: place the channel at the top of the group. Otherwise another channel might grab the session first.
Step 3: Check your data and build an exploration
Good news: custom channel groups apply to your reports retroactively. Your AI channel shows history straight away.
Two exceptions:
- Audiences only fill from the moment you create the group.
- Primary channel group: if you make it primary, that dimension only changes for future data.
Then build an exploration with session source, channel and conversions side by side. Now you see per AI source how many leads come in.
How do your rivals show up in those answers?
That’s the next question once you measure.
Our guide on benchmarking competitors in AI search results covers it.
How do you measure how many leads ChatGPT really brings?
By connecting the AI channel to your conversions, in three layers.
The channel group captures the visible traffic.
Leads need more.
Layer 1: Link conversions to the AI channel
Mark your most important actions as key events, such as:
- a completed contact form
- a quote request
- a downloaded guide
Then filter your report on the “AI search engines” channel group. You’ll see straight away how many of those conversions come from AI.
New to key events? Here’s how to set up GA4 conversions.
Layer 2: Close the Direct gap
Part of your AI traffic sits in Direct, so compare landing pages.
Do you see an odd spike of Direct traffic on a deep, specific page, not the homepage?
That’s rarely someone typing in the address.
It’s often an AI referral in disguise.
Layer 3: Tag the links you control
Have you placed links that AI tools can pick up? For example in a source document or a widely read Reddit post.
Give those links UTM parameters.
Then the traffic arrives clearly labelled.
Our GEO strategy for getting found via ChatGPT goes deeper into that source placement.
What can you reasonably expect from AI measurement?
A trend and a floor, not an exact total.
What you can expect:
- a trend that shows whether AI traffic rises month after month
- insight into which pages AI tools recommend most
- a floor for your AI leads, as the real number is almost always higher
What you shouldn’t expect is a dashboard that adds up to the last decimal. That doesn’t exist yet.
Anyone who promises it is selling false certainty.
Here, measuring is a compass, not a scale.
Measure what happens before the click
Want to track your visibility inside the answers too? Look at measuring AI share of voice.
The available AI visibility tools complement GA4 with what happens before the click.
Is measuring enough to get more leads from ChatGPT?
No: measuring is half the job, getting found is the other half.
A clean channel group tells you what AI delivers.
But if you barely appear in AI answers, that number stays low.
That’s why measurement goes hand in hand with GEO, generative engine optimization: making sure AI search engines mention and recommend your brand.
Where to start with GEO
Pick the guide that fits your next step:
- Basics: our GEO guide for 2026
- In depth: the ultimate GEO handbook
- ChatGPT only: getting found in ChatGPT
- Perplexity only: getting found in Perplexity
Start with the basics if you’ve never checked your AI visibility.
Frequently asked questions
Why does traffic from ChatGPT show up as direct traffic instead of as a referral?
Because the referrer is missing. Free ChatGPT, the desktop and mobile apps and copied links pass no recognisable source, so GA4 puts the session under Direct. That’s why you should compare suspicious Direct spikes on deep landing pages: that’s often hidden AI traffic.
How do I set up a channel group in GA4 for AI traffic from ChatGPT, Perplexity and Gemini?
Create a custom channel group via Admin, add a channel with the condition “Source matches regex” and use a pattern that catches chatgpt, perplexity, gemini, copilot and related sources. Put that channel at the top of the group so it matches first.
I see chatgpt.com as a referring source in Google Analytics, how do I measure how many leads I really get from ChatGPT?
Link your key events (forms, requests, downloads) to the AI channel group, close the Direct gap through landing page analysis and use UTM tags on links you place yourself. Together those layers give a reliable direction, even though the number stays a floor.
Is it true that my real ChatGPT traffic is higher than GA4 shows?
Almost certainly. Because of the missing referrers, you only see the neatly labelled part. Assume your actual AI impact is bigger than the referral report suggests, and use your measurement as a trend, not as an exact final number.
Does measuring AI traffic still make sense if SEO is changing because of AI anyway?
Definitely. Whether SEO is dead because of AI is a fair question, but the short answer is that it’s shifting, not disappearing. That’s exactly why you want to measure now where your future leads come from.
Ready to measure and get found?
Start with the channel group today; it takes ten minutes and shows history straight away.
Want that number to grow too? A GEO agency builds your visibility in ChatGPT, Perplexity and Google AI Overviews, with strategy, SEO, lead gen and tech under one roof.
Send us your GA4 question via our contact page, and we’ll check your AI channel setup with you within 24 hours.
Free website scan
Enter your website and get an automatic scan within minutes, with concrete technical and SEO improvements. No sales pitch.
We only use your details for your scan. No spam, unsubscribe anytime.