Measurement 6 min read

Measuring AI referral traffic in GA4

How to find visits from ChatGPT, Perplexity, Gemini and other assistants in GA4, give them a channel of their own and be clear about what stays hidden.

By · Published

Sooner or later someone asks how much traffic comes from ChatGPT. GA4 holds part of the answer, but in its default reports that answer is spread across several channels and mixed with everything else. A little setup brings it together, and a little honesty about the gaps keeps the number from being misread.

How assistant visits reach your site

When a person clicks a link in an assistant’s answer in a browser, the browser usually sends the assistant’s address as the referrer. Some assistants also add a UTM tag to the link. ChatGPT, for example, adds utm_source=chatgpt.com to many of its links. GA4 reads the tag when there is one and falls back to the referrer when there is not.

The hostnames you are most likely to see:

Assistant Source in GA4 Notes
ChatGPT chatgpt.com Older links may show chat.openai.com; many links carry a source tag
Perplexity perplexity.ai Sometimes with a www prefix
Gemini gemini.google.com Separate from Google Search traffic
Copilot copilot.microsoft.com Other Copilot surfaces can report other hostnames
Claude claude.ai Browser clicks usually pass a referrer
AI Overviews and AI Mode google Medium is organic, mixed with regular results

Hostnames change, and new assistants appear every few months. Before you build anything, open the Traffic acquisition report, set the dimension to session source and scan the full list for assistants you did not expect.

Where GA4 puts these visits by default

As of this writing, GA4’s default channel group has no channel for AI assistants, so each visit lands wherever its source and medium happen to fit.

  • Referral, when the visit carries a referrer and no tag.
  • Unassigned, when a tag names the source but GA4 records no medium, so no default rule matches.
  • Direct, when nothing identifies the source at all, which is common for desktop and mobile apps and for links copied into a new tab.

The result is that assistant traffic looks smaller and noisier than it is. A dedicated channel fixes the first part.

Build an AI assistants channel

GA4 lets you create custom channel groups next to the default one. The steps below keep your existing reports unchanged.

  1. In Admin, open Data display, then Channel groups, and copy the default group to create a new one. Copying keeps every standard channel in place.
  2. Add a channel named “AI assistants” with one condition: Source matches the regex below.
  3. Move the new channel above Referral. GA4 checks channels from top to bottom and assigns a session to the first one that matches, so a channel placed below Referral loses most assistant visits to it.
  4. Save the group. Custom channel groups also apply to past data, so you can compare earlier months straight away.
^(.*\.)?(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|grok\.com|chat\.deepseek\.com|meta\.ai|chat\.mistral\.ai)$

The pattern is anchored, so google.com and unrelated sites cannot slip in, and the optional prefix catches www and other subdomains. Edit the list to match what your own reports show, and review it each quarter.

To use the group, open Traffic acquisition and switch the primary dimension to your new channel group. It also appears as a dimension in Explorations.

Look at what those visits do

A channel total is a start. The useful questions are about behavior.

  • Landing pages. In an Exploration, break AI assistant sessions down by landing page. In the fictional sample on our AI traffic page, Northwind Payroll’s assistant visits land mostly on pricing and comparison pages, which is typical of visitors who arrive with a shortlist.
  • Engagement. Compare engagement rate and views per session with your organic and paid channels.
  • Key events. Mark demo requests, trial signups and purchases as key events, and compare their rate by channel.
  • Per assistant. Add session source as a second dimension to see each assistant on its own line.

Be careful with small numbers. A channel with a few dozen sessions and two leads can swing widely from month to month on chance alone. The arithmetic in our note on confidence intervals applies to conversion rates too.

What GA4 cannot show you

The counted channel is real, and it is a floor. Several kinds of AI influence never reach it.

AI Overviews and AI Mode. A click from either arrives as Google organic traffic, the same as a click on a regular result. Search Console counts these clicks inside the Web search type and, at the time of writing, has no filter to separate them. Our note on AI Overviews and AI Mode covers how to measure presence there.

Apps and copied links. Visits from assistant desktop and mobile apps often arrive without a referrer, and so do links that people copy into a new tab. They land in Direct with nothing to tell them apart.

Answers without a click. Most of the time a person reads the answer and moves on. In a 2025 study of how US adults browse, Pew Research Center found that Google searches showing an AI summary ended in a click on a result about 8% of the time. A buyer who reads your name in an answer and later types your address or searches your brand shows up as Direct or branded organic, with no trace of the assistant.

Crawlers and agents. AI crawlers rarely run your analytics tag, so their visits do not appear in GA4 at all; your server logs hold that record. Agents that drive a real browser can run the tag and look like ordinary visitors.

Consent. In markets where visitors can decline analytics, part of every channel is missing or modeled, and assistant traffic is no exception.

The question itself. No referrer carries the prompt. You can see that a visit came from ChatGPT, never what the person asked.

Report it honestly

A few habits keep AI traffic numbers credible with finance and leadership.

  1. Call counted visits a floor. Label the channel “counted AI referrals” in reports, so nobody reads it as total AI influence.
  2. Keep estimates apart. If you model wider influence from branded search, direct visits or survey answers, show it as a range in its own column. Never add it to the counted number.
  3. Ask buyers. Add AI assistants as an option to any “how did you hear about us” field. Those answers are imperfect, and still the best direct evidence of influence without a click.
  4. Log definition changes. Note the date whenever you edit the regex or the channel order, so a jump in the line is not mistaken for growth.
  5. Pair traffic with visibility. Visits tell you what happened after an answer. Sampled answers tell you how often you were named in the first place. Read the two together.

The AI traffic module adds an AI assistants channel group to GA4 and keeps its referrer list current as new assistants appear. It also follows those visits to leads and pipeline in your CRM, with counted and estimated credit kept in separate columns. For the questions to ask any vendor about attribution, see the buyer’s guide.

Sources

  1. Google users are less likely to click on links when an AI summary appears in the results

    Pew Research Center Study Published Check pending

Filed under Measurement. Examples use fictional brands. Product and protocol details were accurate when published and are reviewed as engines change.

A question about this note? We do not take comments. Ask the analyst and we reply by email.

All notes

Monthly brief

One brief a month onwhat changed in AI search

New engines, crawler changes, ad formats and measurement notes, each with what it means for your brand. Written for marketing and growth leaders.

Monthly. Unsubscribe any time. See the privacy policy.

Get started

Put this note to workon your own brand

Book a 30 minute demo. We walk through how answer engines describe your brand, where rivals win and the first fixes worth making.