A year ago, most businesses could ignore traffic from AI assistants because there was so little of it. That is changing. People now ask ChatGPT for a contractor, Perplexity for a software comparison and Gemini for a dentist, then click through to the businesses those answers name.
The trouble is that Google Analytics 4 (GA4) wasn't built with these visitors in mind. Some are filed under Referral next to directory listings, some under Direct, and some under Unassigned. This guide shows you where AI visits end up, how to put them in one clearly labelled channel, and how to judge whether they bring in business.
You can't improve your visibility in AI answers if you can't see the visitors those answers send you.
Why AI traffic is hard to see in GA4
GA4 sorts every visit into a channel, such as Organic Search, Referral or Direct, using the visit's source. The source comes from the referring website, or from a utm_source tag on the link. AI assistants don't send that information consistently, so the same tool can land in three different channels depending on how someone clicked.
Where a click from an AI answer ends up
-
ChatGPT, Gemini and others on the webThe browser passes the referring siteAI AssistantIf GA4 recognizes the assistant. Otherwise Referral
-
Link tagged utm_source=chatgpt.comNo referrer, so no medium is setUnassignedShows as chatgpt.com / (not set). A custom group catches it
-
AI mobile and desktop appsMany app clicks send no referrer at allDirectMixed in with bookmarks and typed visits
-
Google AI Overviews and AI ModeClicks come from google.comOrganic SearchNo way to separate them in GA4
ChatGPT adds utm_source=chatgpt.com to many of the links in its answers, which helps. But a tag with no medium falls outside GA4's default rules, so those visits can end up in Unassigned, the channel most people never look at.
Step 1: Check what GA4 already sees (2 minutes)
Before you change anything, find out how much AI traffic is already in your reports.
- Open Reports → Acquisition → Traffic acquisition and set the date range to the last 90 days.
- Look at the default channel list for a row called AI Assistant. If it's there, your property already has the new channel.
- Change the primary dimension to Session source / medium.
- Type
chatgptinto the search box above the table, then tryperplexity,gemini,claudeandcopilot.
Note the sessions and key events for each one. That's your starting point, and it often answers the first question a business owner asks: is AI sending us anyone at all?
Step 2: Use the AI Assistant channel
In May 2026, Google began rolling out an AI Assistant channel in GA4's default channel group. Visits from AI assistants that GA4 recognizes are now filed there instead of under Referral. You don't need to set anything up, though the change rolled out gradually, so not every property got it on the same day. Google's default channel group documentation names ChatGPT, Gemini, DeepSeek, Copilot and Grok as examples, and says the channel excludes Google's own AI Overviews and AI Mode.
The new channel is a real improvement, but it has three limits:
- It only knows the assistants on Google's list. Check how your Perplexity and Claude visits are filed, along with any newer AI tool, because anything GA4 doesn't recognize still lands in Referral
- It can't catch app visits that arrive with no referrer, because GA4 has nothing to go on
- It doesn't include Google's own AI Overviews or AI Mode, which stay in Organic Search
So use it as your headline number, and build your own group for the full picture.
Step 3: Build a custom AI channel group (10 minutes)
A custom channel group lets you write your own rule for AI traffic while keeping all of GA4's other channels. You need the Editor role on the property.
- Go to Admin → Data display → Channel groups and click Create new channel group. GA4 starts it with a copy of the default channels.
- Name the group something clear, such as Channels with AI.
- Click Add new channel and name it AI assistants.
- Add one condition: Source, matches regex, and paste the pattern below.
- Save the channel, then move it to the top of the list. GA4 checks channels in order and files each visit under the first rule it matches.
- Save the group. In Traffic acquisition, open the dimension menu above the table and choose your new group.
.*(chatgpt|openai|perplexity|claude\.ai|gemini\.google|copilot\.microsoft|deepseek|grok\.com|meta\.ai|mistral\.ai).*
The pattern matches any source that contains one of those names, so chatgpt.com, chat.openai.com and perplexity.ai are all caught, whether the source came from a referrer or from a UTM tag. Add new tools to the list as they appear in your source report.
Custom channel groups apply to your past data as well, so you can compare AI traffic month by month from the day your property started collecting data, not only from today.
Step 4: Connect AI visits to leads
A visit from ChatGPT is only worth something if it turns into a call, a booking or a sale. Make sure your contact form, phone clicks and bookings are marked as key events in GA4, then build one simple exploration:
- Go to Explore and start a Free form exploration.
- Add your custom channel group and Landing page as dimensions, and Sessions, Engaged sessions and Key events as metrics.
- Filter to the AI assistants channel and put Landing page in the rows.
The result tells you two things. First, whether AI visitors convert better or worse than the rest of your traffic. Someone who arrives from an AI answer has usually already compared options, so the difference can be large in either direction. Second, which pages AI tools send people to. Those pages are the ones being cited, so they show you what kind of content earns AI visibility on your site. Our guide on how ChatGPT chooses sources explains why some pages get picked over others.
What GA4 still can't see
Even with a perfect setup, a share of your AI visibility won't show up as AI traffic. Plan for these four gaps:
- App clicks with no referrer. They land in Direct. If Direct visits to deep pages such as a pricing page or a specific service page start rising, AI apps are a likely reason.
- Google AI Overviews and AI Mode. Their clicks count as Organic Search. Search Console's Generative AI performance report shows impressions, but not clicks. Our guide to Google AI Mode covers what it reports.
- Mentions without a click. An assistant may recommend you by name, and the person searches for you later or simply calls. That shows up as branded search or Direct, if at all.
- AI crawlers. Bots such as GPTBot and ClaudeBot don't run your analytics code, so GA4 never records them. Use your server or CDN logs, and make sure you aren't blocking them by accident. Our guide on whether to block AI crawlers explains how to check.
A simple monthly AI traffic report
Put these six numbers side by side once a month. Together they give a far more honest picture than any one of them alone.
| What to track | Where to find it | What it tells you |
|---|---|---|
| AI assistant sessions and key events | GA4, your custom channel group | How many visits and leads AI answers send you |
| Top landing pages from AI | GA4, your exploration | Which pages AI tools cite and link to |
| AI Overviews and AI Mode impressions | Search Console, Generative AI report | How often Google's AI features show your pages |
| Branded search clicks | Search Console, queries with your name | Whether more people are looking you up by name |
| "How did you hear about us?" | Your contact form or CRM | The AI recommendations analytics can't attribute |
| Answers to your key questions | A monthly check in ChatGPT, Perplexity and Gemini | Whether you're mentioned, and who is mentioned instead |
The last row is the one most businesses skip, and it's the most revealing. Our AI visibility audit guide walks you through running it.
Mistakes to avoid
- Judging AI traffic only by session counts. A handful of AI visits that turn into leads can beat hundreds of casual visits
- Matching on the referrer alone, which misses tagged links that arrive with no referrer
- Leaving your new AI channel below Referral or Unassigned, where those rules claim the visits first
- Reading a sudden drop as lost visibility. AI tools change how they tag links, and a tagging change can move traffic to Direct overnight
- Adding
?utm_source=tags to your own internal links, which overwrites the real source of the visit
Want to know what AI says about your business?
Digital Relevance helps U.S. and Canadian businesses get cited and recommended by ChatGPT, Perplexity, Gemini and Google's AI features, and we set up the tracking to prove it. Start with a free AI Search Snapshot, or see what our AI Search plan covers.
Get My Free AI Search SnapshotFrequently Asked Questions
Does GA4 track ChatGPT traffic automatically?
Partly. Visits from ChatGPT that pass a referrer are recorded, and since Google began rolling out the AI Assistant channel in May 2026 they can be grouped under their own channel. Visits from the ChatGPT apps often arrive without a referrer and are counted as Direct, and tagged links with no referrer can land in Unassigned.
What is the AI Assistant channel in GA4?
It is a channel in GA4's default channel group that collects visits from AI assistants Google recognizes. Google's documentation names ChatGPT, Gemini, DeepSeek, Copilot and Grok as examples. It needs no setup, but it only covers assistants on Google's list and does not include Google AI Overviews or AI Mode.
Why does ChatGPT traffic show up as Direct in GA4?
When someone clicks a link in an AI app, or copies it into a browser, the visit often arrives without a referrer. With no referrer and no UTM tag, GA4 has no source to go on and files the visit as Direct.
Can I see traffic from Google AI Overviews in GA4?
No. Clicks from AI Overviews and AI Mode come from google.com and are counted as Organic Search. Search Console's Generative AI performance report shows how often your pages appear in these features, but not the clicks.
What regex should I use to track AI traffic in GA4?
Create a channel with the condition Source matches regex .*(chatgpt|openai|perplexity|claude\.ai|gemini\.google|copilot\.microsoft|deepseek|grok\.com|meta\.ai|mistral\.ai).* and move it to the top of your custom channel group. Add new AI tools as they appear in your source report.