On this page
- What you are trying to measure
- Step 1: Know where each kind of AI visit lands in GA4
- Step 2: Check what the native AI Assistant channel catches
- Step 3: See whether one source is split across channels
- Step 4: Build one custom channel group that matches on source
- Step 5: Look at what these visitors do
- Step 6: Report it honestly
- A 15-minute checklist
- Questions and answers
Key takeaways
- GA4 added a default "AI Assistant" channel in May 2026, but it only labels referrers Google recognizes, and the list of recognized tools has changed since launch.
- One source such as chatgpt.com can appear in three channels at once: AI Assistant, Referral and Unassigned. Reading only the AI channel undercounts it.
- A custom channel group that matches on source, and ignores medium, pulls the pieces back together, and Google applies custom groups to past data.
- Some AI influence cannot be measured in GA4: Google's AI Overviews and AI Mode count as organic search, and many app visits arrive with no referrer.
- Write down a monthly baseline and judge the trend, not one month.
The short answer. In GA4, open the traffic acquisition report, add "Session source / medium", and look for AI domains such as chatgpt.com. You will probably find them spread across the AI Assistant, Referral and Unassigned channels. Build one custom channel group that matches on source and ignores medium, put it above Referral, and use it as your AI total. Then accept that Google's own AI features and some app visits stay hidden, and track the number monthly as a baseline.
What you are trying to measure#
Visits from AI tools are visitors who clicked a link inside an answer from ChatGPT, Gemini, Claude, Perplexity, Copilot or a similar tool. This is only one part of AI visibility. Many buyers read your name in an answer and never click. Our guide to how to measure AI visibility covers being named. This guide covers the clicks, which are the part your analytics can see.
The volume is usually small, so set expectations first. In a study of 97 B2B websites, AI sources sent about 0.5% of visits. [Orbit Media, 2026] Microsoft Clarity found AI referrals were under 1% of traffic on its publisher sites. [Microsoft Clarity, 2025] Small does not mean unimportant: the same Orbit Media study found those visitors were about 3x more likely to become leads. Our analysis of that gap explains how to read it.
Step 1: Know where each kind of AI visit lands in GA4#
GA4 assigns each session to a channel using its source and medium together. That is why the same tool can end up in different places. This table summarizes what Google's documentation and recent write-ups report.
| Kind of visit | Where GA4 usually puts it | Can you separate it? |
|---|---|---|
| Click from a recognized AI tool in a browser, referrer passed | AI Assistant channel (medium "ai-assistant") | Yes, natively |
| Same click, before the channel reached your property or from a tool Google does not recognize | Referral | Yes, with a custom channel group |
| Click from an app or in-app browser that strips the medium | Source kept, medium "(not set)", channel Unassigned | Yes, with a custom channel group |
| Click from an AI app with no referrer, or a pasted link | Direct | No |
| Click from Google AI Overviews or AI Mode | Organic Search | No |
Sources: [Search Engine Journal, 2026] [Search Engine Journal, 2026] [Orbit Media, 2026]
The last two rows are the limit of what any channel setup can fix. Say so when you report the number.
Step 2: Check what the native AI Assistant channel catches#
Google added an "AI Assistant" channel to the default channel group on 13 May 2026. When GA4 sees a referrer it recognizes as an AI assistant, it sets the medium to "ai-assistant", groups the session under "AI Assistant", and labels the campaign "(ai-assistant)". It reached most properties by early June 2026. [Search Engine Journal, 2026]
Three cautions follow from how it works:
- The recognized list moves. At launch Google named ChatGPT, Gemini and Claude. According to Search Engine Journal's author, by June the live documentation listed ChatGPT, Gemini, DeepSeek, Copilot and Grok, and Perplexity was not on it. [Search Engine Journal, 2026] Check Google's default channel group definitions on the day you report, not from memory.
- It only counts forward. The channel starts from the date it switched on for your property, so a date range reaching back into spring 2026 compares tagged traffic with untagged traffic.
- It does not see what has no referrer. Visits without a referrer stay in Direct. [Search Engine Journal, 2026]
Step 3: See whether one source is split across channels#
This takes five minutes and shows whether you have a problem.
- In GA4, go to Reports, then Acquisition, then Traffic acquisition.
- Change the primary dimension to "Session source / medium".
- Look for AI domains: chatgpt.com, perplexity, gemini.google.com, copilot.microsoft.com, claude.ai.
- Note each one's medium. If chatgpt.com appears as "chatgpt.com / ai-assistant", "chatgpt.com / referral" and "chatgpt.com / (not set)", it is split across AI Assistant, Referral and Unassigned.
Search Engine Journal's author found exactly this split in a real account. Google's rules explain the third row: when the medium comes through as "(not set)", no channel rule catches it, so it falls into Unassigned. [Search Engine Journal, 2026] If you see the split, reading the AI Assistant channel alone will undercount.
Step 4: Build one custom channel group that matches on source#
A custom channel group lets you write your own rule. Match on source and ignore medium, and the three versions of one tool collapse into a single line. Google documents this method, with an "AI assistants" example. [Google Analytics Help]
To build it:
- Go to Admin, then Data display, then Channel groups. You need the Editor role or above at property level.
- Click "Create new channel group" and name it.
- Add a channel called "AI assistants".
- Add a condition: Source, "matches regex", and paste a pattern (see below).
- Click "Reorder" and drag "AI assistants" above Referral, and above Organic Search if you want it to claim those sessions first. GA4 puts a session in the first channel whose definition it matches.
- Save the group. Use it as the primary or secondary dimension in the Traffic acquisition report.
Google applies custom channel groups to your reports retroactively, so this also rescues past sessions that sat in Referral. [Google Analytics Help] Standard properties can have two custom channel groups, so this may use one of your two slots.
A safer pattern than a bare keyword
Google's published example regex contains short bare tokens such as "ai" and "gpt". Short tokens can match sources that have nothing to do with AI. Search Engine Journal's author recommends tying each entry to a recognizable domain and warns against adding a bare "google", because that would swallow ordinary Google organic traffic. Here is a shorter pattern adapted from the one in that article, tested against sample sources before publishing:
.*(^|[/.:@?&=])(chatgpt\.com|perplexity|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|deepseek\.com|grok\.com)([/.:@?&#=]|$).*It matches chatgpt.com, www.perplexity.ai and gemini.google.com, and does not match google, bing.com or mychatgpt.com. Review it every quarter, because tools and domains change. Google says the same about its own example: update the regex when URLs or the list of assistants change. [Google Analytics Help]
Step 5: Look at what these visitors do#
A count of visits is not enough. Check what they did.
- Define your key events first. Mark contact form submissions, demo requests, scheduled meetings and phone-call clicks as high intent. Keep newsletter sign-ups and downloads separate as low intent. Orbit Media sorted events this way and called it the most judgment-dependent step in its analysis. [Orbit Media, 2026]
- Add landing page to the report. In Explore, build a free-form exploration with landing page and your AI channel as rows, and sessions and key events as values.
- Compare with Google organic. Put the AI channel next to Organic Search and compare the key-event rate.
- Check your sample size. Orbit Media only used sites with at least 100 AI-referred sessions. Below that, the rate is too noisy to read.
Orbit Media also found the homepage was a common landing page for AI visitors in its examples. If it is on your site too, that page is doing the job of confirming what the AI said, so check that it states plainly what you do, for whom, and with what proof.
Step 6: Report it honestly#
State three things next to the number:
- What it includes: the AI domains in your regex, and the date you last reviewed it.
- What it leaves out: Google AI Overviews and AI Mode clicks, no-referrer app visits and pasted links.
- What it cannot show: buyers who read your name in an answer and did not click.
That last group is large. In a 2026 Semrush survey of B2B buyers who use AI at work, 63% said they search for a company on Google after an AI tool recommends it, which analytics will record as organic search. [Semrush, 2026] For Google's own AI features, the Generative AI performance report in Search Console is the closest view. See how to see AI Overviews in Search Console.
Then keep a monthly baseline. With a moving list of tools and a hidden slice, the trend over several months tells you more than any single month. Pair it with counts of how often you are named, as in AI share of voice, so you can see whether more mentions lead to more visits.
A 15-minute checklist#
- Open Traffic acquisition with "Session source / medium" and note every AI domain and its channel.
- Check Google's default channel group page for the current AI Assistant list.
- Build the source-based custom channel group and put it above Referral.
- Mark high-intent key events.
- Record sessions, key events and landing pages for the AI group, and the date.
- Add a line to your report for what is not captured.
- Add "How did you hear about us?" to your forms, with an option for AI tools.
- Repeat on the same day each month.
Want to know what AI says before the click?
Send me your top ten buyer questions. I will run them on ChatGPT, Gemini, Claude and Perplexity, tell you whether you are named, and which pages a click is most likely to land on.
- I use your buyer questions
- I split results by AI tool
- I record the method so you can repeat it
Sources: Google Analytics Help, custom channel groups · Google Analytics Help, default channel group · Search Engine Journal, GA4's AI Assistant channel undercounts your AI traffic (July 2026) · Search Engine Journal, Google Analytics adds AI Assistant as default channel group (May 2026) · Orbit Media, AI traffic conversion rates (July 2026) · Microsoft Clarity, AI traffic converts at 3x the rate of other channels · Semrush, how AI shapes B2B buying
Questions and answers
Does GA4 track ChatGPT traffic automatically?
Partly. Since May 2026 GA4 has a default AI Assistant channel for referrers Google recognizes, including ChatGPT. But Search Engine Journal found chatgpt.com split across the AI Assistant, Referral and Unassigned channels in a real account, so the default channel alone can undercount. (Search Engine Journal, 2026)
Why does some ChatGPT traffic show as direct?
Links opened inside apps and in-app browsers often pass no referrer, and pasted links never do. GA4 has no source to read, so it files the visit as Direct. (Search Engine Journal, 2026) You cannot recover these with a channel rule.
Are Google AI Overviews and AI Mode clicks counted as AI traffic?
Not in GA4. They are recorded as Organic Search, and Google keeps them out of the AI Assistant channel. Orbit Media makes the same point: you cannot separate those clicks from ordinary search clicks. (Orbit Media, 2026) Use the Generative AI performance report in Search Console for Google's AI features.
Is Perplexity included in GA4's AI Assistant channel?
Check the current definition. Search Engine Journal's author reported that Perplexity was not on Google's recognized list in mid-2026 and landed in Referral. (Search Engine Journal, 2026) A source-based custom channel group includes it whatever the list says.
How many custom channel groups can I have in GA4?
Google lists two custom channel groups for standard properties and five for 360 properties, with up to 50 channels in each group. (Google Analytics Help) You can make a custom group your property's primary channel group from the same Channel groups page.
Will this tell me how often AI names my company?
No. It only counts clicks. Many buyers read an answer and never click, and AI answers vary from run to run. To count how often you are named, ask your buyer questions repeatedly and record the results, as in our guide to how to check if ChatGPT recommends your brand.
Should I add UTM parameters to get better AI tracking?
Not to links you do not control. AI tools build the links in their answers, so you cannot add parameters to them. Where you do control a link, such as one in your own post or email, use your normal campaign tagging. For the AI clicks you cannot tag, rely on source matching and a form question.
B2B marketers who build tools to measure how ChatGPT, Gemini, Claude and Perplexity talk about companies. About us


