To track AI traffic in GA4, create a custom channel group that groups visits from AI tools such as ChatGPT, Perplexity, Gemini, Copilot and Claude into one channel. The setup takes about 15 minutes and costs nothing. This guide gives the exact steps, the pattern to paste, a simple way to check your data, and the limits you should know about, because some AI visits never show up correctly.
Quick answer: In GA4, go to Admin, open Channel groups, create a new group called “AI Search”, add a rule where Source matches a pattern for AI domains, and drag the channel above Referral. Then open the Traffic acquisition report and use your new channel group to see AI visits. Treat the numbers as a minimum, not a full count.
Key takeaways
- AI visits arrive as normal referrals unless you group them yourself.
- Free-tier ChatGPT users often send no referrer, so some visits appear as Direct.
- Google AI Overviews traffic is counted with Google search, not as a separate GA4 source.

Why AI traffic is hard to see in GA4
When someone clicks a link inside an AI answer, GA4 usually records it as a referral from the AI tool’s domain. Without a custom setup, those visits sit among hundreds of other referral sources. ChatGPT is reported to add a utm_source of chatgpt.com to outbound links, and Perplexity shows up as perplexity.ai. Free-tier ChatGPT users, however, often do not send referrer data, so those visits are labelled Direct and look like someone typing your address.
Step-by-step: create an AI Search channel in GA4
Step 1: Open Channel groups
In GA4, click Admin (the gear icon), then find Channel groups under Data display. Menu names can change, so search “channel groups” if you cannot see it. You need Editor access or higher.
Step 2: Create a new channel group
Click Create new channel group. Name it “Default plus AI”. Using the default group as a starting point keeps your usual channels intact.
Step 3: Add an AI Search channel
Add a new channel named “AI Search”. Set the condition to “Source” and “matches regex”, then paste a pattern like this one, based on the list published by Ahrefs:
.*chatgpt\.com.*|.*perplexity.*|.*gemini\.google\.com.*|.*copilot\.microsoft\.com.*|.*openai\.com.*|.*claude\.ai.*
You can read the full method in Ahrefs’ guide to tracking AI traffic. Add other AI domains later as you find them in your reports.
Step 4: Put the AI channel above Referral
GA4 assigns traffic to the first rule that matches. Drag AI Search above Referral so that these visits are not swallowed by the general referral channel. Then save the group.
Step 5: View the report
Open Reports, then Acquisition, then Traffic acquisition. Change the primary dimension to the channel group you made. Add “Landing page” as a secondary dimension to see which pages AI tools send people to. Allow a day or two for data to build up, because custom channel groups usually apply from the moment you save them, not backwards.
A quick method without setup
If you only want a quick look, open Traffic acquisition, switch to Session source / medium, and search for chatgpt, perplexity, gemini, copilot and claude one at a time. If any appear, you are already receiving AI referrals.
What GA4 cannot show you
| Gap | What to do |
|---|---|
| Free ChatGPT visits labelled Direct | Accept the numbers as a minimum, and watch Direct for spikes after you publish |
| Google AI Overviews and AI Mode clicks | They count as Google search. Use the Search Console AI performance report for impressions |
| Citations that earn no click | Test your key questions by hand every month |
Turn the data into action
- List the landing pages that receive AI visits and refresh them first.
- Study what those pages have in common, such as direct answers, tables or fresh data.
- Compare engagement and conversions with other channels.
- Add the AI Search channel to your monthly report. Our guide to automated SEO reports shows how.
To grow this channel, see our steps to get indexed in ChatGPT search.
Frequently asked questions about tracking AI traffic in GA4
Does GA4 show ChatGPT traffic automatically?
It records visits from chatgpt.com as referrals, but it does not group them as AI traffic unless you set up a custom channel.
Why is some ChatGPT traffic labelled Direct?
Some users do not send referrer data, often on free plans, so GA4 cannot tell where they came from.
Can I see Google AI Overviews traffic in GA4?
Not separately. Those visits are counted as Google organic search. Use Search Console for AI impressions.
Will the custom channel change my old data?
Custom channel groups can apply to reports on past data in GA4’s reporting views, but check the date range and compare with the default group to confirm.
How often should I review AI traffic?
Monthly is enough for most sites. Look at trends, not single days.
Conclusion
You can track AI traffic in GA4 for free with one custom channel and one pattern. Set it up today, treat the results as a floor, and combine it with Search Console and your own question tests for the full picture. For the wider context, read what is replacing SEO in 2026.

