SEO BLOG
How to Track ChatGPT Traffic in GA4: Step-by-Step Setup [2026]
Ganesh Shanmugam9 min readLearn how to track ChatGPT traffic in GA4 step by step. Build an AI channel group with a tested regex, report Perplexity and Gemini visits, and spot hidden traffic.
![How to Track ChatGPT Traffic in GA4: Step-by-Step Setup [2026]](https://cdn.sanity.io/images/s5479b37/production/0162039cffa31d2ce011477089c2f735d0009754-1920x1080.png?w=1440&h=810)
Your sales team keeps hearing "I found you on ChatGPT", yet your analytics show almost nothing from AI assistants. Either the visits are not happening, or Google Analytics is filing them somewhere you are not looking.
Usually it is the second. If you want to know how to track ChatGPT traffic in GA4, the good news is that Google added a built-in AI Assistant channel in May 2026. The less good news is that it misses some assistants, and a large share of AI visits still arrive with no referrer at all.
This guide walks through the full setup: checking the built-in channel, building a custom channel group with a tested regex, creating an exploration for AI referral traffic in GA4, and understanding the limits honestly. It takes about 20 minutes, and the channel group works on your historical data too.
Key Takeaways
- GA4 now has an AI Assistant channel. Google added it on 13 May 2026, but its documentation names ChatGPT, Gemini, DeepSeek, Copilot and Grok, not Perplexity or Claude.
- A custom channel group fills the gaps. One regex on Session source catches ChatGPT, Perplexity, Gemini, Copilot, Claude and others.
- ChatGPT tags its links. OpenAI says ChatGPT adds utm_source=chatgpt.com to referral URLs from its search results.
- Custom channel groups work retroactively. Google says they can be applied to your reports for past dates.
- Much AI traffic still lands in Direct. App clicks and copied links often carry no referrer, so every AI report undercounts.
- Google's AI features are not in this channel. AI Overviews and AI Mode clicks count as Google organic search.
How to Track ChatGPT Traffic in GA4
Quick answer: To track ChatGPT traffic in GA4, first check the built-in AI Assistant channel in your Traffic acquisition report. Then create a custom channel group under Admin, Data display, Channel groups, add an "AI assistants" channel where Session source matches a regex covering chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com and claude.ai, and move it above Referral.
The rest of this guide explains each step, the regex to use, and how to read the results.
Where ChatGPT Traffic Shows Up in GA4 Today
Before changing anything, it helps to know where AI visits currently land. The same ChatGPT visit can appear in several places, depending on how it reached your site.
| How the visit arrived | What GA4 usually shows | Channel |
|---|---|---|
| Click from chatgpt.com in a browser, referrer passed | chatgpt.com / referral, or the ai-assistant medium | Referral or AI Assistant |
| Click on a link tagged with utm_source=chatgpt.com | chatgpt.com as the source; medium (not set) if no medium was added | Varies |
| Click from Perplexity | perplexity.ai / referral | Referral |
| Click from a mobile app that strips the referrer | (direct) / (none) | Direct |
| Link copied from an answer and pasted into a browser | (direct) / (none) | Direct |
| Click from Google AI Overviews or AI Mode | google / organic | Organic Search |
That table explains the confusion many teams report. ChatGPT traffic is real, but it is split across several rows unless you group it deliberately.
Step 1: Check the Built-In AI Assistant Channel
According to Google's Analytics release notes, on 13 May 2026 GA4 gained an AI Assistant channel in the Default Channel Group. Google's default channel group definitions say the channel matches when the medium is "ai-assistant", which GA4 sets when the referrer matches its list of AI assistants.
To see it, open Reports, then Acquisition, then Traffic acquisition, and look for "AI Assistant" in the Session primary channel group column.
However, Google's documentation names ChatGPT, Gemini, DeepSeek, Copilot and Grok as examples, and it does not name Perplexity or Claude. Search Engine Journal reported in July 2026 that Perplexity traffic was still landing in Referral. The built-in channel is a good start, but it is not complete.
Step 2: Build a Custom AI Assistants Channel Group
A custom channel group lets you define your own list. According to Google's custom channel group documentation, standard properties can have two custom groups, each with up to 50 channels, and custom groups can be applied to reports retroactively.
Follow these steps:
- Go to Admin, and under Data display, click Channel groups.
- Click Create new channel group and name it, for example "Channels with AI".
- GA4 copies the default channels into the new group. Click Add new channel and name it "AI assistants".
- Click Add condition group, choose the Source dimension, and set the match type to matches regex.
- Paste the regex from the next section, then save the channel.
- Click Reorder and move "AI assistants" above Referral, and ideally near the top of the list. Traffic lands in the first channel whose rule it matches, so order decides everything.
- Save the channel group.
Now return to the Traffic acquisition report, click the dropdown on the channel column, and choose your new group. Your AI assistants channel will appear, including past dates.
Step 3: Use This Regex for AI Referral Traffic in GA4
Here is a regex that covers the main assistants' referrer domains as of September 2026. It uses the Source dimension, which also holds the value "chatgpt.com" when a link carries ChatGPT's UTM tag.
.*(chatgpt\.com|openai\.com|perplexity|gemini\.google\.com|bard\.google\.com|copilot\.microsoft\.com|copilot\.com|claude\.ai|deepseek\.com|grok\.com|meta\.ai|mistral\.ai|you\.com).*A few notes on the choices:
- chatgpt.com covers the current ChatGPT domain and the utm_source value. openai.com catches the older chat.openai.com domain, although it will also catch occasional visits from OpenAI's other sites.
- perplexity has no suffix, so it matches perplexity.ai and its subdomains, which is how you track Perplexity traffic in GA4 without relying on Google's list.
- gemini.google.com is Gemini's web app. Google's own search features report as google / organic instead, so they will not match.
- The leading and trailing .* make the pattern work whether GA4 treats it as a full match or a partial match.
- Google says channel definitions are not case sensitive, so capital letters in a source will not break it.
Google's own help page offers a broader sample regex that includes patterns such as ".*gpt.*" and "^.*ai". Those are easy to paste, yet they can also catch unrelated sources that merely contain those letters. A named list is more precise, and you can add new assistants as they appear.
Step 4: Build an Exploration for AI Traffic
Channel groups show volume. An exploration shows what AI visitors actually do.
- Open Explore and start a Free form exploration.
- Add the dimensions Session source / medium, Landing page + query string and your custom channel group.
- Add the metrics Sessions, Engaged sessions, Engagement rate, Key events and, for ecommerce, Total revenue.
- Add a filter where Session source matches regex, and paste the same regex.
- Put the landing page in the rows and the source in the columns.
This view answers the questions leadership actually asks. Which pages do assistants send people to, which assistant sends the most engaged visitors, and do those visitors convert? Make sure your leads, sign-ups or purchases are marked as key events under Admin, otherwise the conversion columns will stay empty.
Does ChatGPT Add utm_source=chatgpt.com to Links?
Yes, for its search results. OpenAI's publishers and developers FAQ states that ChatGPT automatically includes utm_source=chatgpt.com in referral URLs, so publishers can track inbound traffic from ChatGPT search results.
Two cautions apply. First, OpenAI describes this for referral URLs from search results, and we could not confirm that every surface, such as links written inside a normal answer or links opened in the mobile apps, carries the tag. Second, the tag sets the source but not always a medium, which is why some properties show chatgpt.com / (not set). The regex above matches on source, so it groups these sessions either way.
The Limits: Why AI Traffic Is Always Undercounted
No GA4 setup captures every AI visit. It is better to know the gaps than to present a partial number as the whole truth.
- Missing referrers. Some apps and in-app browsers do not pass a referrer, so the visit lands in Direct with nothing to identify it.
- Copy and paste. Buyers often copy a brand name or URL from an answer and type or paste it later. That visit looks like Direct, or like a branded Google search.
- Google's AI features. Clicks from AI Overviews and AI Mode count as google / organic. Search Console's Generative AI performance report shows their impressions instead.
- Consent and blockers. Visitors who decline analytics cookies or use blockers may not be measured at all.
- Crawler visits are not visits. OpenAI's and Perplexity's crawlers fetch pages, but they generally do not run your analytics tag, so they do not appear as sessions.
A practical workaround is to watch Direct sessions landing on deep pages, such as long guide URLs that nobody would type from memory. A sustained rise there, alongside rising AI referrals, often signals hidden AI traffic. Treat it as a signal, not a precise count.
For the wider picture of which numbers to report alongside traffic, see our guide to AI search visibility metrics.
A Quick Setup Checklist
Work through these in order:
- Check the built-in AI Assistant channel in Traffic acquisition.
- Create a custom channel group with an "AI assistants" channel.
- Paste the regex and move the channel above Referral.
- Mark leads, sign-ups and purchases as key events.
- Build a free form exploration filtered to AI sources.
- Add Search Console's Generative AI report to the same monthly review.
If your AI referrals are close to zero even after this, the problem may be visibility rather than tracking. Our guide on why a website is not showing in ChatGPT covers the crawler and content issues that cause it.
Turning the Data Into Decisions
Traffic data tells you which pages assistants already trust. Those pages deserve the most care: keep them accurate, update their facts, and link them to your most important offers. That page-by-page work is the core of Billion Game's AEO services, which report AI referrals from your own GA4 every month.
It also tells you where you are missing. If Perplexity sends visitors but ChatGPT does not, check OpenAI's crawler access and your third-party mentions. Tracking tools help here; our comparison of the best AI visibility tracking tools covers the options with verified prices. For a full view of where you are cited and where competitors win, Billion Game's AI citation audit tests 100 prompts across four engines and pairs the results with your own GA4 and Search Console data.
Frequently Asked Questions
Can you see ChatGPT traffic in GA4?
Yes. Look for chatgpt.com in the Session source dimension of the Traffic acquisition report, or check the AI Assistant channel that Google added in May 2026. A custom channel group then combines ChatGPT with other assistants in one row.
GA4 launched an AI Assistant channel, so why is some AI traffic still missing?
Google's documentation names ChatGPT, Gemini, DeepSeek, Copilot and Grok, and Perplexity was still reported landing in Referral in July 2026. Visits with no referrer also land in Direct. A custom channel group fixes the first problem, but nothing fully fixes the second.
Why does GA4 show chatgpt.com / referral and chatgpt.com / (not set) as separate rows?
The rows reflect different medium values. A visit identified by its referrer shows as referral, while a visit from a link tagged with utm_source=chatgpt.com but no medium can show as (not set). Grouping by source, as the regex above does, brings them together.
Is referral traffic from ChatGPT real visits or bot visits?
Mostly real people. GA4 automatically excludes traffic from known bots, and AI crawlers generally do not run your analytics tag. Check the engagement rate: real visitors scroll, click and convert, whereas junk traffic tends to bounce immediately.
Is anyone else seeing UTM traffic from ChatGPT in GA4?
Yes, and it is expected. OpenAI says ChatGPT automatically adds utm_source=chatgpt.com to referral URLs from its search results, so those visits show chatgpt.com as the source.
How do you actually track AI traffic when GA4 undercounts it?
Combine a custom AI channel group, an exploration of landing pages, Search Console's Generative AI report, and a question on your lead forms asking how people found you. Together they give a far more honest picture than any single report.
Final Thoughts
AI assistants already send visitors to many sites. The problem is that GA4 scatters those visits across Referral, Direct and the new AI Assistant channel, so they are easy to overlook.
Check the built-in channel, add a custom group with the regex above, and build one exploration that ties AI visits to key events. Once that is in place, you will know how to track ChatGPT traffic in GA4 accurately enough to make decisions, while being honest about the visits no tool can see.
Share
Ready to Hire an AI SEO Expert?
Book a free 30 minute AI Visibility Audit. We analyze your search visibility across Google, ChatGPT, Perplexity AI and AI Overviews.
About the author

Ganesh Shanmugam
Ganesh Shanmugam is an SEO and AEO consultant based in Chennai, India, and the founder of Billion Game — a boutique agency serving clients across the US, UK, Australia, Canada, and Ireland. He previously held SEO roles at 7 Eagles and Digital Scholar before going independent, and brings 4+ years of hands-on experience
AI SEO insights in your inbox
For growth-stage brands: organic traffic, AI citations, and strategy notes. No spam—unsubscribe anytime.
By subscribing you agree to our Privacy Policy.
![Page with Redirect in Google Search Console: What It Means and When to Fix It [2026]](https://cdn.sanity.io/images/s5479b37/production/7de4ccc9a0e966a6ac06e06715a36861c975060e-1920x1080.png?w=800&h=450)
![Schema Markup for AI Search: What Helps, What Is Hype [2026]](https://cdn.sanity.io/images/s5479b37/production/9048f007bedfd48b23a6d1cac59a0efa4dcebdb0-1920x1080.png?w=800&h=450)
![Blocked by robots.txt: What It Means and How to Fix It [2026]](https://cdn.sanity.io/images/s5479b37/production/38dc10abf9ae2217a085bd156468b04d39eef1aa-1920x1080.png?w=800&h=450)