Measurement

How to Track AI Traffic in GA4 (ChatGPT, Perplexity and Gemini)

A step-by-step setup for separating AI-assistant referrals from the rest of your traffic in Google Analytics 4 — plus the limits you should know before you report the numbers.

November 17, 20267 min readSS By Search Signal Cloud Team
SEARCH SIGNAL CLOUD / INSIGHTSMeasurementAI SEARCH • AEO • GEO

You cannot argue for budget with a feeling. If AI assistants are sending people to your site, that should be a line in your reporting — and in Google Analytics 4 it takes about twenty minutes to set up.

Where AI traffic actually shows up

Most assistant referrals arrive as ordinary referral traffic with a recognizable hostname. Some arrive with no referrer at all and land in direct traffic, which is the main reason the numbers you build will be a floor rather than a full count. Set expectations on that before you present anything.

Step 1: build an AI channel from referrer hostnames

In GA4, go to Admin, then Data display, then Channel groups, and create a custom channel group. Add a new channel — call it AI Assistants — and define it by Page referrer containing the hostnames you care about.

  • chatgpt.com and chat.openai.com
  • perplexity.ai
  • gemini.google.com
  • claude.ai
  • copilot.microsoft.com and bing.com/chat

Order matters inside a channel group — put your AI channel above Organic Search and Referral so those rules do not claim the sessions first. Custom channel groups apply to data going forward and historically in most reports, but confirm in your own property rather than assuming.

Step 2: add an exploration you can actually read

  1. Create a free-form exploration.
  2. Set the dimension to your new channel group, and add Landing page as a second dimension.
  3. Pull in Sessions, Engagement rate, and whichever conversion you care about.
  4. Filter to the AI Assistants channel and save it as a shared exploration so it is not buried in your own workspace.

The landing page breakdown is the part worth watching. It tells you which pages assistants are actually sending people to, which is usually a short and surprising list — and a good signal about which pages are being read and quoted.

Step 3: judge the traffic on quality, not volume

AI referral volume is small for most sites. The interesting question is whether those sessions behave differently. Compare engagement rate, pages per session and conversion rate against organic search. People who arrive after an assistant has already explained your category often arrive further along, and that shows up in the behavior rather than the headcount.

The limits to state out loud

  • Referrers are missing or stripped in some apps and in-app browsers, so part of this traffic is permanently invisible as AI traffic.
  • Hostnames change. New assistants launch. Review your channel definition quarterly or it silently decays.
  • Referral traffic only counts the people who clicked. Someone who read about you in an answer and typed your name into a browser the next day is a win your channel group will never show.
  • This measures clicks to your site, not whether you were recommended. Those are different questions and need different instruments.

What this does not tell you

That last point is the big one. GA4 can tell you how many people arrived from an assistant. It cannot tell you how often you were named in an answer, whether you were recommended or merely mentioned, or which competitors appeared alongside you. For that you have to test buyer questions directly and record the outcome.

Frequently asked questions

Why does AI traffic sometimes appear as direct?

Because no referrer was passed. That happens in some native apps, some in-app browsers, and when a link is copied and pasted. It is a known gap, not a configuration mistake on your side.

Should I use UTM parameters instead?

You cannot tag a link that an assistant generated from your own public page, so UTMs do not help here. They are still worth using for links you place yourself, including any you add to profiles and directory listings.

Is a custom channel group better than a segment?

A channel group puts AI traffic into your standard acquisition reports, which means other people see it without being taught a new workflow. That is usually worth more than the flexibility of a one-off segment.

The takeaway

Set up the channel group, save one exploration, and report it as a floor rather than a total. It is the cheapest way to turn an argument about whether AI matters into a number you can watch — as long as you pair it with direct testing of the questions your buyers actually ask.

Better AI visibility starts with clear information, credible signals and consistent measurement. Focus on what you can improve, and measure it again.

SS
Search Signal Cloud Team

Insights and practical guidance from the Search Signal Cloud team.