Free Growth Assessment
SEO & AEO

How to Track ChatGPT and AI Referral Traffic in GA4

Six steps, one regex and one table to find out what AI search actually sends your site, and how much of it GA4 can never see.

By Rhett Collver Last updated: November 28, 2026 10 min read

To see ChatGPT traffic in GA4, open Traffic acquisition, switch to Session source / medium and search for chatgpt. Then build a custom channel group so every AI source lands in one row.

A law firm partner, phone in hand, tells a smiling IT company owner across a conference table how she found his firm
Some buyers ask an AI assistant who to hire, then click.

Your buyers are asking ChatGPT who to hire. Some of them click.

Whether GA4 shows you those clicks depends on a setup that many MSP and IT company sites never touched. Google added an AI Assistant channel in May 2026, which sounds like the end of the story. It isn’t. Part of the traffic still lands somewhere else, and part never arrives with a source at all.

This guide covers the configuration and nothing else. Six steps. One regex. One table. It sits inside our wider work on SEO, AEO and GEO for MSPs, where measuring comes after being visible in the first place.

Set aside an hour. You need the Editor role on the GA4 property.

Key Takeaways

The Short Version

GA4 now has an AI Assistant channel, but it is a starting point, not a count. Build a custom channel group on a source regex, put it above Referral, and the other AI sources join it, past data included.

Some visits will never be counted, because apps and in-app browsers send no source. A floor, not a ceiling. Judge the number by leads, not sessions.

Where ChatGPT Traffic in GA4 Actually Lands

Start with what Google built. Google’s help page on the default channel group defines AI Assistant as the channel for users who arrive from sources like ChatGPT, Gemini, Deepseek, Copilot or Grok. The rule is blunt. The session’s medium has to exactly match “ai-assistant”, and GA4 sets that medium itself when the referrer matches a list of AI assistants. The page points to the list without printing it, as far as I could find, so you can’t audit it from the help article.

Two details matter. Google’s own AI Overviews and AI Mode are left out of the channel and stay in Organic Search. And default channel groups can’t be edited, so you can’t add a missing source to this one. Google’s What’s new log dates the launch to May 13, 2026.

Now the part the launch note skips. In July 2026, Search Engine Journal reported that the native channel splits ChatGPT visits three ways, with chatgpt.com under the ai-assistant medium landing in AI Assistant, under a referral medium landing in Referral, and with no medium landing in Unassigned. The same report says the channel misses Perplexity and that visits from apps and in-app browsers fall into Direct. I haven’t tested your property, and Google may change its rules after this was written. Open your own report before you trust either account.

Here’s where each kind of AI visit lands, and whether the custom group in step three fixes it.

What you see in GA4Where it lands by defaultDoes a custom group fix it?
chatgpt.com / ai-assistantAI AssistantAlready counted. The custom group puts it in the same row as the rest
chatgpt.com / referralReferralYes
chatgpt.com / (not set)UnassignedYes
perplexity.ai / referralReferral, with the native channel reported to miss itYes
Google AI Overviews and AI ModeOrganic Search, by Google’s own definitionNo. Use Search Console instead
An AI app or in-app browser that sends no sourceDirectNo. There’s no source to match

Rows two, three and four are the work. Rows five and six are the limits. Nothing in GA4 pulls Google’s AI features out of Organic Search, and nothing recovers a visit that arrived with no source. Google Search Central says clicks from AI Overviews and AI Mode are counted in Search Console’s Performance report under the Web search type, so that’s where to look for them. For what each feature does to clicks, see our guide to AI Mode vs AI Overviews traffic.

Make Sure There Is Traffic to Track

A short detour, because it saves an afternoon.

OpenAI’s crawler documentation lists three agents with three jobs. OAI-SearchBot surfaces websites in ChatGPT’s search features. GPTBot is the training crawler. ChatGPT-User isn’t used to decide whether your content appears in search. A single blanket rule in robots.txt can block all three at once, and if yours does, no report in GA4 or anywhere else will ever show you traffic from a door you closed and forgot about.

Check that file first. Our template for robots.txt for AI crawlers shows how to split the three, and whether to allow training is a separate decision from whether to be found.

Set Up ChatGPT Traffic in GA4 in Six Steps

Do these in order. Use a 90-day date range in every report, so one quiet week doesn’t fool you.

1. Read What Google Already Built

Go to Reports, then Acquisition, then Traffic acquisition. Google’s help page for the report says its default dimension is Session default channel grouping. Look for a row called AI Assistant. No row means GA4 recognized none of those visits in your range, which is a finding in itself, because it tells you either that AI search isn’t sending you anything yet or that the visits are arriving under another name. Write down the sessions and key events next to it. That’s your baseline.

2. List the Raw Sources

Change the first column to Session source / medium, then use the search box above the table. Search chat, then perplexity, claude, gemini and copilot, one at a time. Write down every source and medium pair that is an AI tool. Write them all down. You’ll likely see one site under two or three mediums, which is the split from the table above.

You’ll also see lookalikes. A support-chat widget isn’t an AI assistant because its name contains the word chat.

3. Build the Custom Channel Group

In Admin, under Data display, open Channel groups and create a new one. Google’s help page on custom channel groups says you need the Editor role or higher on the property. If GA4 offers to copy the default channel group, take it, so Organic Search, Direct and the others keep their rows. Then add a channel called AI Tools, add a condition, choose Source, choose matches regex and paste this.

^(chatgpt\.com|chat\.openai\.com|(www\.)?perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|meta\.ai|chat\.mistral\.ai)$

The anchors and the escaped dots keep the pattern from catching lookalikes. The domains come from the trade guides, so add any AI source you found in step two and delete any that never appear in your data. Don’t shorten the pattern to a bare word like gpt or google. Search Engine Journal warns against exactly that, and the sample pattern on Google’s own help page uses broad wildcards such as .*gpt.*, which is a good reason to write a tighter one.

Then reorder. Google’s page says traffic joins the first channel whose definition it matches, in the group’s current order, so drag AI Tools above Referral. It also says you can place it above Organic Search, which is worth doing if one of your AI sources turns up as organic. Save, then apply.

Two facts make this cheap. A custom group is applied to your reports retroactively, so there’s no reason to wait for new data. And a standard property gets two custom groups, with up to 50 channels each, so don’t burn one on a one-off experiment.

4. Check It Before You Trust It

Back in Traffic acquisition, open the dropdown above the first column and choose your new group. The AI Tools row should hold sessions from the pairs you listed in step two, and nothing else. Open the row, switch to Session source / medium and read every line, because a row total can look right while one stray source quietly pads it, and you only catch that by reading the names.

One stray source means the pattern is too loose. A missing one means a typo or a hostname you didn’t list. Fix it now. Ten minutes here beats a quarter of reports built on a leaky filter.

5. See Which Pages the Visits Land On

Open Explore and start a free form exploration. Put Landing page plus query string in the rows, Sessions, Engaged sessions and Key events in the values, and filter Session source by the same regex. Now you have a list. It shows the pages AI tools send people to. Expect it to be short. Some of those pages may not be the ones you’d have guessed.

6. Put the Leads Next to the Visits

Visits don’t pay the bills. Make sure your contact form, your booking link and your click-to-call number are each marked as a key event, which you do in Admin under Data display, then Events, so that every view in this guide can show you what the visit did next. Then add the Key events column to each one.

Sessions answer whether they arrived. Key events answer whether it mattered.

Read ChatGPT Traffic in GA4 Against Leads

Expect a small number. I’d rather you hear that from me than from a sales pitch.

An office manager on the desk phone books a new caller while a sales lead waits across the reception counter
Sessions show who arrived. Key events show what it was worth.

Here are three readings.

  • Near zero, and Direct isn’t moving? AI search isn’t sending you visits yet. Don’t buy anything off that. Ask new buyers how they found you, and write the answer down.
  • Small but steady, with a lead or two. That’s worth protecting. Take the page list from step five and make those pages better.
  • Growing, with no key events. The AI tools are doing their job and your pages aren’t doing theirs. That’s a conversion problem, and it’s a bigger one than any AI problem.

Measure first. Decide second. A count of sessions isn’t a strategy. AI scales whatever system you already have, good or bad, so the real question is whether those visits meet a page, an offer and a follow-up that work, and if they don’t, what you’ve built is a leak with a label on it.

Crediting is its own subject. A buyer can ask an AI assistant for a recommendation, hear your name from a peer, and type your address a week later, and GA4 will keep one record of that while your sales rep keeps another. Our guide to marketing attribution for tech companies shows how to reconcile the two, including the form question that asks about AI assistants. The wider audit, with prompts to run and benchmarks, sits in measuring AI search visibility, and AI share of voice covers how often you appear in the answers at all.

If a sale is on your horizon, a buyer will ask where your pipeline comes from. That’s my reasoning, not a line from any deal checklist. But a source report you can explain in two minutes reads better than “we think it’s referrals.”

Where the Numbers Run Out

No setup recovers a visit that arrives without a source. Apps and in-app browsers often send none, GA4 files those sessions under Direct, and that means the AI count will always run low, no matter how clean your channel group is or how carefully you wrote the regex. Direct is the junk drawer. Search Engine Journal says the same about app and in-app traffic.

GA4 also doesn’t show the prompt. You see a source, a landing page and what the visitor did next. You never see the question that sent them. Consent banners and blockers thin the data further, and a session isn’t influence. A buyer can read an AI answer about your firm and never click.

Menu names move. I read the Google and OpenAI pages cited here and the Search Engine Journal report on November 28, 2026, and I didn’t test these steps in a live property for this guide, so check each button against what you see. I also couldn’t load OpenAI’s own page on the utm_source=chatgpt.com tag that guides say ChatGPT adds to its links, so I haven’t relied on it. Look at a landing page URL in your own report to see what yours carry.

This guide shares no C4 result, because no C4 figure on AI referral traffic has been cleared for publication. If a result surprises you and you’d like a second pair of eyes, book a growth strategy call and bring the list from step two.

What Owners Ask Once the Report Is Open

Does GA4 label ChatGPT traffic on its own now?

Some of it. Google added an AI Assistant channel to the default channel group in May 2026, and the visits it recognizes land there.

Visits that arrive under another medium, or with none, land in Referral, Unassigned or Direct instead, according to a July 2026 trade report. A custom channel group gathers the first two. Nothing gathers the third.

Why does the AI number look so small?

Because it is small, and because it’s incomplete.

Some AI answers satisfy the question without a click, and apps drop the source on the clicks that do happen. Judge the channel by the leads inside it, not by the session count.

Is a custom channel group worth the trouble if Google already has one?

For a quick look, no. For a count you can compare month to month, yes.

Google’s group can’t be edited, so a missing source can’t be added to it. Yours can grow the day a new assistant shows up in your source list, and it applies to past data too.

Can GA4 show which prompt sent the visit?

No. GA4 records the source, the landing page and what the visitor did, never the question typed into the assistant.

To learn what buyers ask, ask them on the first call. Then type those questions into an AI assistant yourself and read the answers.

Where do clicks from Google AI Overviews and AI Mode show up?

In Organic Search. Google’s channel definition keeps its own AI features out of the AI Assistant channel.

Search Console counts them in the Performance report under the Web search type, mixed in with ordinary web search traffic, so neither tool gives you a clean split.

Direct traffic keeps climbing. Is that AI?

Possibly. You can’t prove it from the report, because a source that never arrived can’t be recovered.

Count those visits as a guess, never a number. Ask buyers how they found you, record the answer on the deal, and watch whether Direct climbs alongside the AI Tools row.

READY TO ACT?

Know what AI search sends you

Talk to us about your analytics setup and what the numbers can and can’t tell you, so you decide on what AI search sends you instead of on a hunch.

Book a Growth Strategy Call