
You check your GA4 referral report and see a few sessions from chatgpt.com, but you know that's not the full picture. AI traffic gets misattributed to direct when someone clicks from a mobile app, grouped with random backlinks when it comes from chat.openai.com instead of chatgpt.com, and completely invisible when privacy browsers block the referrer header. You can't compare how AI visitors convert versus Google organic because half of them aren't tagged properly. I'll show you how to set up custom channel groups with detailed regex filters, use GA4 explorations to segment AI sessions, and spot hidden AI traffic masquerading as direct by filtering for deep content page landings that nobody would ever bookmark.
TLDR:
GA4 treats AI traffic as generic referrals by default, hiding ChatGPT and Perplexity clicks.
Set up a custom channel group with regex filters to track AI sources separately from other traffic.
Direct traffic hides most mobile AI clicks; filter by landing page to spot AI visitors on deep content.
AI visitors convert 4.4x higher than organic search but need quality tracking beyond volume metrics.
Maintouch automates AI traffic tracking and finds zero volume queries to rank in both Google and ChatGPT.
Understanding What Counts as AI Referred Traffic
AI referred traffic is any visit from an AI search engine or chatbot like ChatGPT, Perplexity, Claude, Gemini, or Microsoft Copilot.
AI traffic accounts for 1.08% of all website visits right now. That might sound small, but it's growing roughly 1% month over month. If you're not tracking it separately, you're missing a channel that's already bigger than some paid campaigns.
GA4 lumps AI traffic into generic referrals by default. You can't see how AI visitors behave differently from social referrals, news sites, or backlink traffic.
Tracking AI traffic separately gives you clean data on where your content shows up in AI search results and how those visitors convert compared to Google organic.
Why AI Traffic Attribution Is Broken in GA4 by Default
GA4 doesn't recognize ChatGPT or Perplexity as their own channels. It treats them like any other referral source.
When someone clicks through from ChatGPT, GA4 tags it as referral traffic and groups it with every other site that sent you a visitor. You're manually hunting for domains like chatgpt.com or perplexity.ai.
Direct traffic is worse. GA4 uses direct as a catch-all for sessions it can't attribute. That includes AI apps, privacy-blocked referrers, and cross-device journeys where the referrer header gets stripped.
If someone asks ChatGPT a question on mobile, clicks your link, and their browser blocks the referrer, GA4 calls it direct.
This breaks ROI calculations. You can't compare AI performance to Google organic or paid if half your AI traffic is hiding in direct or generic referrals.
Create a Custom Channel Group for AI Traffic

Go to Admin in GA4, then Data Display > Channel Groups. Click "Create new channel group."
Name it "AI Traffic Tracking" or whatever helps you remember.
Add a new channel called "AI Search." Set the condition to match referral source using regex. Paste this:
Here's where people screw up: move your AI Search channel above the default Referral channel. GA4 processes top to bottom. If Referral comes first, it grabs your AI traffic before your custom channel sees it.
Save and apply. Your AI traffic now lives in its own bucket.
Use GA4 Explorations to Segment AI Visitors
Custom channel groups are great for top-level reporting. Explorations let you dig into how AI visitors actually behave once they land.
Go to the Explore tab in the left nav. Create a new Free Form report.
Under Segments, click the plus icon. Choose "Create custom segment." Pick "Session segment."
Add a condition: Session source / medium matches regex. Use the same pattern from your channel group:
Name it "AI Sessions" and save.
Drag Landing Page into Rows and Sessions, Engagement Rate, and Conversions into Values. Apply your AI Sessions segment.
You can see which pages AI tools cite most often and whether those visitors convert differently than Google organic.
Track Hidden AI Traffic in Direct and Unassigned Sources

Direct traffic is where AI referrals go to die.
Mobile apps strip referrers by default. ChatGPT on iOS doesn't pass chatgpt.com as the source. Privacy browsers block tracking headers. Cross-device journeys lose attribution when someone switches from app to desktop.
GA4 calls all of this direct. You're left guessing how much is real direct versus hidden AI clicks.
How to spot it: filter your direct traffic report by landing page. Sort by sessions.
Real direct traffic lands on your homepage, pricing page, or login. People type your domain or use a bookmark.
AI traffic lands on blog posts, glossary entries, and comparison pages. Nobody bookmarks "/blog/how-to-track-ai-traffic" and types it in later.
If you see spikes in direct sessions landing on deep content pages, that's AI traffic masquerading as direct.
Monitor AI Traffic Quality vs. Volume
Volume doesn't matter if nothing converts.
AI visitors convert 4.4x higher than organic than organic search. You don't need thousands of AI clicks. You need the right ones.
Go to Reports > Engagement > Pages and screens in GA4. Add a comparison for your AI Sessions segment versus Google organic.
Check average engagement time per session. AI visitors spending 3+ minutes are considering your product. If they bounce in 10 seconds, your content got cited but didn't match intent.
Filter by goal completions or key events to see conversion rate. If AI traffic converts at 2% and Google organic at 0.5%, you're onto something. If it's flipped, chatbots are citing the wrong pages.
Pages per session shows if people dig through your site. One page? They got their answer and left. Three or more? They're considering you.
Returning users is the sleeper metric. If 15-20% come back within 30 days, they're in a buying cycle.
Identify AI-Influenced Traffic That Shows as Branded Search
AI tools don't always send direct traffic. Someone asks ChatGPT for advice, sees your name, then searches for you on Google two days later.
GA4 logs that as branded organic search. Looks like SEO. But the AI mention is what started it.
Pull your branded search traffic from GA4. Filter by sessions where source is Google and medium is organic. Add a secondary dimension for search query if Search Console is linked.
Export 90 days. Look for spikes. Did branded searches jump the week after you started showing up in Perplexity? Compare the timing to when your content appeared in AI citations.
Branded search lifts that line up with AI visibility spikes are the signal. That's your hidden AI influence.
Set Up Regex Filters for Full AI Source Capture
The basic regex I showed earlier misses subdomain variations. ChatGPT passes chat.openai.com half the time and chatgpt.com the other half. Gemini sometimes shows as gemini.google.com, other times bard.google.com.
Your filter needs to catch both.
Here's the full pattern that accounts for variations:
This covers primary domains, legacy names like Bard, and Bing's chat interface which routes through bing.com/chat instead of the Copilot domain.
Add this to your custom channel group and exploration segments. Test it by checking your referral report for the last 30 days and filtering by source containing "chat" or "ai". If anything shows up that your regex missed, append it.
Compare AI Traffic Across Multiple Platforms
Go to Reports > Acquisition > Traffic acquisition in GA4. Apply your AI Sessions segment. Add Session source as a secondary dimension.
You'll see chatgpt.com, perplexity.ai, and claude.ai broken out separately. Pull sessions, engagement rate, and conversions for each.
I've seen Claude visitors spend twice as long on technical docs compared to ChatGPT users. Perplexity sends fewer clicks but converts 3x higher because it surfaces comparison content to buyers already researching options.
AI Source | Typical Traffic Volume | Avg. Engagement Time | Conversion Rate | Primary Content Type | Geographic Strength |
|---|---|---|---|---|---|
ChatGPT | High | 2-3 minutes | Baseline (1x) | Blog posts, how-to guides | US, Global |
Perplexity | Low-Medium | 3-4 minutes | 3x higher | Comparison pages, research | US, Tech-savvy users |
Claude | Low | 4-6 minutes | 2x higher | Technical docs, deep content | Developer communities |
Gemini | Medium | 2-3 minutes | 1.5x higher | General content, FAQs | Android users, Global |
Microsoft Copilot | Medium | 2-3 minutes | 1.2x higher | Enterprise content, tools | Enterprise markets |
You.com | Low | 3-4 minutes | 1.8x higher | Privacy-focused content | Europe, Privacy-conscious |
Geography matters too. Add Country as a dimension. ChatGPT dominates in the US. You.com picks up share in Europe where privacy matters more.
Check which landing pages each source prefers. If Perplexity only cites your comparison pages and ChatGPT spreads across blog posts, you know where to focus optimization.
How Maintouch Automates AI Traffic Analysis and GEO Strategy
You can set all this up manually, or you can skip it.
We built Maintouch to track AI referral traffic automatically. When you connect GA4, we pull AI sessions into your dashboard alongside Google organic. No regex filters. No custom channel groups. No hunting for subdomain variations when ChatGPT changes its referrer structure next month.
The bigger win is optimization. Tracking AI traffic tells you what happened. Our zero volume query discovery tells you what to write next.
We scrape Search Console for queries longer than 10 words with one or two impressions. Those are the questions people ask ChatGPT and Perplexity before they search Google. We turn them into content that ranks in both places. Our context components pull first-party data from your sales calls, product docs, and competitor research. That's what makes AI tools cite you.
You get AI traffic numbers and a roadmap for getting more of it.
Final Thoughts on AI Traffic Attribution
Your current setup is probably hiding half your AI clicks in direct traffic. Setting up AI traffic tracking correctly takes 20 minutes and saves you from guessing which content AI tools actually cite. The filters I gave you work today, but subdomain variations break them next quarter. If you want attribution that stays accurate without monthly regex updates, grab 15 minutes and I'll walk through how we handle it.
FAQ
How do I set up AI traffic tracking if I'm not technical?
Go to Admin > Data Display > Channel Groups in GA4, create a new channel called "AI Search," paste the regex pattern for AI domains, and move it above your default Referral channel - that's it, no coding required.
What's the difference between tracking AI traffic in custom channels versus explorations?
Custom channel groups show you top-level traffic splits in your standard reports, while explorations let you dig into behavior metrics like engagement time, conversions, and which specific pages AI tools cite most often.
When should I investigate my direct traffic for hidden AI referrals?
Check it now if you're seeing spikes in direct sessions landing on blog posts or deep content pages - real direct traffic hits your homepage or pricing, not "/blog/how-to-track-ai-traffic."
Can I track which specific AI tool sends the highest quality traffic?
Yes, add Session source as a secondary dimension in your Traffic acquisition report with your AI segment applied - you'll see chatgpt.com, perplexity.ai, and claude.ai broken out with their individual conversion rates and engagement metrics.
How long does it take to see meaningful AI traffic data after setting this up?
You need 30-90 days of data to spot patterns - AI traffic is still small volume, so weekly spikes don't tell you much, but monthly trends in engagement and conversion rates give you real signal.