Guides

Updated December 6, 2026 · 5 min read

How to see ChatGPT and Perplexity traffic in Google Analytics 4

GA4 now has a built-in AI Assistant channel. Where to find it, what it leaves out, and a regex and custom channel group for the assistants it does not recognise.

Google Analytics 4 now sorts most visits from AI assistants into a channel of its own. Its default channel group includes AI Assistant: when the referrer is on Google's list of AI assistants, GA4 sets the medium to ai-assistant and files the session there, not under Referral. Google names ChatGPT, Gemini, DeepSeek, Copilot and Grok as examples, but does not publish the full list.

So start with the built-in channel. Use a regular expression and a custom channel group only for what it misses: an assistant GA4 does not recognise yet, or a breakdown it does not give you.

Start with the built-in channel

  1. In GA4, open Reports, then Acquisition, then Traffic acquisition.
  2. Make sure the primary dimension is Session default channel group, and find the AI Assistant row.
  3. To see which assistants send the visits, add Session source as a secondary dimension. To see where they land, open the Landing page report and filter on the same channel.

Two limits to know:

  • Google AI Overviews and AI Mode are not in it. Google counts their clicks as Organic Search, in GA4 and in Search Console, so they cannot be separated from other Google clicks this way.
  • The list of assistants is Google's. A newer or smaller assistant can still arrive as a plain referral until Google adds it.

The referrers to look for

To check for assistants the channel misses, or to build your own definition, these are the session sources to look for:

Assistant Session source in GA4 Notes
ChatGPT chatgpt.com ChatGPT adds utm_source=chatgpt.com to links it sends, so the source is set even when the browser drops the referrer
Perplexity perplexity.ai or www.perplexity.ai
Gemini gemini.google.com
Copilot copilot.microsoft.com
Claude claude.ai
Grok grok.com

Older ChatGPT traffic may appear as chat.openai.com, the app's previous address. It is worth keeping in the pattern if you look at historical data.

The regex

^(chatgpt\.com|chat\.openai\.com|(www\.)?perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|grok\.com)$
  • The ^ and $ anchor the whole value, so claude.ai matches but an unrelated site containing that text does not.
  • The dots are escaped (\.) so they match a literal dot.
  • If an assistant shows up in your Referral report instead of AI Assistant, add its source to the pattern with another |.

Quick look: an exploration

An exploration is the fastest way to see how much AI traffic you get and where it lands.

  1. In GA4, open Explore and start a Free form exploration.
  2. Under Dimensions, add Session source and Landing page + query string. Under Metrics, add Sessions, Engaged sessions and your Key events.
  3. Drag Session source into Rows, and the metrics into Values.
  4. Under Filters, add Session source, choose matches regex, and paste the pattern above.
  5. Add Landing page + query string as a second row dimension to see which pages each assistant sends people to.

Set the date range to at least the last 90 days; AI traffic is often small, and short ranges are noisy.

As a segment

If you want to compare AI visitors with everyone else across several explorations, build a session segment instead: in the exploration, add a segment, choose Session segment, and set the condition Session source matches regex with the same pattern. You can then apply it next to an "All users" comparison.

Permanent: a custom channel group

Explorations are for analysis. If you want a channel that also counts the assistants GA4 does not recognise, create a custom channel group with your own definition.

  1. Go to Admin, then Data display, then Channel groups.
  2. Choose Create new channel group. GA4 starts you with a copy of the default channels.
  3. Choose Add new channel, name it AI assistants, and set the condition Session source matches regex with the pattern above. Save the channel.
  4. Reorder the channels so AI assistants sits above Referral and above the built-in AI Assistant channel. GA4 assigns each session to the first channel whose conditions it matches, so the visits GA4 does not recognise, which still arrive as referrals, would otherwise be counted under Referral.
  5. Save the group. In the Traffic acquisition report, switch the primary dimension to your new channel group.

The default channel group stays as it is, so nothing you report today changes.

What the numbers mean, and what they miss

Measured AI traffic is a floor, not the total:

  • Some visits arrive with no referrer and show up as Direct. That can happen when people copy a link out of an answer, or when an app opens it without passing the source.
  • Many AI answers send no click at all. A buyer can read that ChatGPT recommends you, then search your name on Google later. That visit shows up as branded search, not as AI.
  • Google's AI features are folded into Organic Search, as above.

So use the AI channel for trends and for comparing pages, not as a full count of what AI answers are worth to you. A rise in branded search alongside more AI referrals is often part of the same story.

What to do with it

  • Find the pages AI already sends people to. These are usually being cited. Keep them current: prices, dates, the direct answer at the top.
  • Compare key events by channel. If AI visitors convert better or worse than other referrals, that tells you how much to invest.
  • Check the trend after you ship a change. A change to a page should show up in that page's AI referrals over a few weeks. Compare it with pages you did not change, so a site-wide rise is not mistaken for a win. Proving lift with a control group explains how.

Referral traffic tells you where AI is already sending people. It does not tell you which answers name you, or which pages decided them. For that you have to track the answers themselves, as described in measuring AI search visibility and how to get recommended by ChatGPT. ShipCite connects both: it finds what decides the answer, ships the fix, and measures the lift (against a control group on Growth and Agency).