How to Track ChatGPT and AI Traffic in GA4

How to Track ChatGPT and AI Traffic in GA4: featured image

To track ChatGPT traffic in GA4, you need to pull AI visits out of the Referral and Direct channels where GA4 puts them by default. It takes about ten minutes, and once it's set up, you can see visits from ChatGPT, Perplexity, Gemini and other AI assistants for any date range, including the past.

This guide covers three ways to do it, from a two-minute check to a permanent setup, plus what GA4 can't show you and how to explain AI traffic to clients.

Why AI traffic is worth tracking

People now ask ChatGPT and Perplexity the questions they used to type into Google: which accountant to hire, which running shoes to buy, how to fix a leaking tap. When an AI assistant cites a website, some of those people click through.

That makes AI traffic useful in three ways:

  • It answers the question clients keep asking. "Is ChatGPT sending us anyone?" deserves a real number, not a guess.
  • It shows which content gets cited. AI visits tend to land on specific pages, which tells you what AI assistants find useful on the site.
  • It shows a trend early. A small channel today can be a meaningful one next year. Tracking it now gives you the history to prove growth later.

Where AI traffic shows up in GA4 by default

GA4 doesn't have an AI channel. AI visits land in one of three places:

  • Referral. When an AI assistant passes along where the visitor came from, the session source shows as something like chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com or claude.ai. ChatGPT also adds utm_source=chatgpt.com to many links, which makes its visits easier to spot.
  • Direct. When no referrer is passed, for example from some apps or when someone copies a link, the visit looks like direct traffic and can't be identified.
  • Organic Search. Clicks from Google AI Overviews and AI Mode are counted as google / organic, so GA4 can't separate them from regular search clicks.

The methods below pull the Referral portion into view, which is the part GA4 can actually measure.

Method 1: Quick check in the Traffic acquisition report

Use this when you want an answer in two minutes.

  1. Go to Reports, then Acquisition, then Traffic acquisition.
  2. Change the primary dimension (the dropdown above the table) to Session source / medium.
  3. Click Add filter, choose Session source, set the match type to matches regex, and paste:
    .*(chatgpt|openai|perplexity|gemini\.google|copilot|claude\.ai).*
  4. Apply the filter and set your date range.

You'll see sessions, engagement and key events from each AI source. The filter isn't saved, so you'll repeat it each time, which is why Method 2 is better for ongoing reporting.

Method 2: Create an "AI Assistants" channel group (recommended)

A custom channel group gives AI traffic its own row in your standard reports, permanently.

  1. Go to Admin, then Data display, then Channel groups.
  2. Click Create new channel group. Copy the default group so you keep all the standard channels, and name it something like "Channels with AI."
  3. Click Add new channel and name it AI Assistants.
  4. Set the condition to Source matches regex and paste the same pattern:
    .*(chatgpt|openai|perplexity|gemini\.google|copilot|claude\.ai).*
  5. Move AI Assistants above Referral in the channel list. GA4 assigns each session to the first channel it matches, so if Referral sits above it, your new channel will stay empty.
  6. Save the group.

Now open Traffic acquisition and choose your new channel group from the primary dimension dropdown. AI Assistants appears as its own channel, and because custom channel groups apply to past data, you can see the trend right away.

Method 3: See which pages AI assistants send people to

Knowing the total is useful. Knowing which pages get the visits is what helps you act on it.

  1. Go to Explore and create a Free form exploration.
  2. Add the dimensions Session source and Landing page + query string.
  3. Add the metrics Sessions, Engaged sessions and Key events.
  4. Drag Landing page + query string into Rows and Session source into Columns or Rows.
  5. Add a filter: Session source matches regex with the same pattern as above.

The result shows exactly which pages each AI assistant is sending visitors to, and whether those visits convert. Those pages are your strongest signal of the content AI assistants trust on the site.

What GA4 can't tell you about AI

Even with all three methods in place, GA4 only shows part of the picture.

  • It undercounts. Visits without a referrer land in Direct, so the real number of AI-driven visits is higher than what you see.
  • AI Overviews stay hidden. Clicks from Google AI Overviews and AI Mode are reported as organic search, mixed in with regular results.
  • It only counts clicks. AI assistants often recommend a business by name without anyone clicking a link. That influence never shows up in GA4 at all.

The last point matters most. Traffic tells you how many people clicked through from AI answers. It doesn't tell you whether your client appears in those answers in the first place. For that, you need to track the prompts themselves: the questions your client's customers actually ask.

How to report AI traffic to clients

A few habits make this number land well in a client report:

  • Call it a floor, not a total. "At least 140 visits came from AI assistants this month" is accurate and still meaningful.
  • Show the trend, not just the month. A rising line over six months tells a clearer story than one small number.
  • Name the pages. "ChatGPT keeps sending people to your pricing guide" is more useful to a client than a source list.
  • Pair traffic with visibility. Traffic shows the clicks. Prompt tracking shows whether the business shows up in AI answers at all.
  • Explain it in one sentence in the report summary, so the client doesn't have to interpret it.

For what else belongs in a client report, see our guide to the monthly SEO report.

Track AI traffic and AI visibility automatically

If you'd rather not set this up for every client property, Report Falcon does both in every report:

  • AI assistant traffic shows which pages get visits from ChatGPT, Perplexity, Gemini and other AI assistants, pulled straight from GA4 with no channel setup needed.
  • AI visibility asks ChatGPT, Perplexity, Gemini and Google AI Overviews up to 10 prompts per client every month, taken from the client's top Search Console searches or written by you. The report shows how often the business is mentioned, how often its website is cited, and which websites AI cites instead, so you can show where it appears in AI answers, not just the clicks that followed.

Both sit in the same white label report as the client's Search Console and GA4 data, under a plain-language summary. See how GA4 reporting works in Report Falcon, or compare it with other options in our guide to the best SEO reporting tools. Building client reports in Looker Studio today? See the Looker Studio alternative.

Free during early access. Every feature included, no credit card.

Start free

AI traffic in GA4 FAQ

Does GA4 track ChatGPT traffic automatically?

Partly. GA4 records visits from ChatGPT as referral traffic when a referrer is passed, but it doesn't group them into their own channel. You need a filter or a custom channel group to see them clearly.

Why does some ChatGPT traffic show as Direct?

When a visit arrives without referrer information, for example from some apps or a copied link, GA4 can't tell where it came from and counts it as Direct.

Can GA4 show traffic from Google AI Overviews?

No. Clicks from AI Overviews and AI Mode are reported as google / organic, together with regular search clicks. Search Console also includes them in its overall search data.

Does the AI channel group work on past data?

Yes. Custom channel groups apply to historical data, so once you create one, you can look back at earlier months.

Which regex should I use for AI traffic in GA4?

This pattern covers the main AI assistants: .*(chatgpt|openai|perplexity|gemini\.google|copilot|claude\.ai).*. Check your own Session source report from time to time and add any new AI sources you spot.

Keep reading

Send better SEO reports with less work

Report Falcon turns Search Console and GA4 data into clean, branded reports with rankings and site audits. Free during early access.