Free · Runs in your browser · Nothing is sent anywhere
See ChatGPT traffic in GA4
Tick the assistants, copy the regex, and give AI visits their own channel in Google Analytics instead of leaving them buried in Referral.
.*(chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com).*
Wrapped in .* on both sides, so it matches whether GA4 compares the whole value or part of it, and with or without www..
A channel for AI assistants
Best option. Works in every standard report and on past data.
- 01Go to Admin, then under Data display open Channel groups.
- 02Create a new channel group. GA4 starts it as a copy of the default one, which is what you want.
- 03Add a new channel called
AI assistants. Condition:Sourcematches regex, then paste the regex above. - 04Save, then drag
AI assistantsaboveReferralin the list. GA4 uses the first rule a visit matches, so below Referral it would never catch anything. - 05In Reports, open Traffic acquisition and switch the channel dimension to your new group.
A quick look, no setup
For a one-off check. Menu names can differ slightly between accounts.
- 01Open the Traffic acquisition report and set the primary dimension to
Session source / medium. - 02Add a filter (or use the search box above the table) on session source with the condition
matches regexand paste the regex. - 03For which pages they land on, build a free-form Exploration with Landing page as the row and the same regex as a filter on Session source.
What this can't see
Google AI Overviews and AI Mode. A click from either arrives as google / organic, exactly like a normal search result. No regex can separate them, and anyone selling you a GA4 setup that does is guessing.
Answers nobody clicked. Most people read what ChatGPT says and stop there. Your analytics only ever shows the small share who click through, so a low number doesn't mean you're not being mentioned.
Where the labels come from
Assistants that open links in a normal browser tab pass a referrer, and GA4 records it as the session source. ChatGPT also adds utm_source=chatgpt.com to many of the links it shows, so those visits keep their label even when the referrer is stripped.
Clicks from inside an app, or from a browser that hides the referrer, often show up as (direct). Expect the real number to be somewhat higher than what you see. For the setup behind each rule, see Google's help on custom channel groups.
Questions
Why does ChatGPT traffic show up as referral in GA4?
GA4's default channel rules don't have a slot for AI assistants, so a click from chatgpt.com lands under Referral next to every other website that links to you. A custom channel group with a rule placed above Referral pulls those visits out into their own line.
Can I see traffic from Google AI Overviews or AI Mode?
Not in GA4. Clicks from AI Overviews and AI Mode arrive as google / organic, the same as an ordinary search result, and nothing in the visit tells them apart. Search Console counts them inside its normal web search figures too.
Does the channel group change my past data?
Custom channel groups apply to past data as well as new visits, which is one reason to use one instead of a filter that only works from the day you set it up. Your default channel group stays as it was.
Why are the numbers so small?
Most people read the AI answer and never click. A few dozen AI visits a month is normal for a small business, even one that's named often. Use the number for trend and for which pages those visitors land on, not as a measure of how often AI mentions you.
More free tools
These tools check one thing at a time. Renown checks what AI says about you, every two weeks.
It asks ChatGPT, Claude, Gemini and Perplexity the questions your customers ask, shows you the answers, and lists what to fix when you're not named. The tools stay free. Renown is how we pay for them.