NEWv1.15: Compare & Filters
AI Traffic Analytics
GA4 AI Traffic
ChatGPT Traffic
Perplexity Referrer
Claude Traffic
Track AI Referrals
AI Referrer Patterns
Dark Traffic

How to track AI Traffic on Google Analytics?

Nicolas Ilhe9 min read
How-to Guides

Set up GA4 to measure visitors from ChatGPT, Perplexity, Claude and other AI platforms. Includes referrer patterns, regex filters, and traffic quality analysis.

Your Google Analytics data contains a hidden traffic source most marketers completely miss.

When users click links in ChatGPT, Perplexity, or Claude responses, they land on your site - but GA4 buries these visits under generic "Referral".

In this article you will learn:

  • How many visitors came from ChatGPT last month?
  • Which AI platform sends the highest-quality traffic?
  • What content do AI platforms actually drive traffic to?

This guide provides the patterns, regex filters, and workflows to properly track AI traffic and measure your GEO ROI.

The 6 AI Referrer Categories

Based on referrer header patterns, here are the 6 categories ranked by tracking reliability:

PlatformTracking ReliabilityWhy It Matters
Perplexity
Very High
Always sends clean referrer headers
Claude
High
Web interface referrers are reliable
ChatGPT Web
High
Desktop/web traffic tracks well
Copilot
Medium
Enterprise proxies sometimes strip referrers
ChatGPT Mobile
Low
iOS/Android apps often show as Direct
AI Overview
Very Low
Indistinguishable from google.com organic

Google AI Overview clicks are essentially untrackable as AI traffic at the moment - they appear as standard google.com referrals mixed with organic search.

Complete AI Referrer Patterns

When someone clicks a link in an AI response, here's what appears in your GA4 referrer data. Use these patterns to build your tracking configuration.

ChatGPT (OpenAI)

chat.openai.com
chatgpt.com

These are the primary web referrers. Mobile app traffic (ios-app://com.openai.chat) rarely preserves referrer headers and typically appears as Direct.

Perplexity

perplexity.ai
www.perplexity.ai

Perplexity is the most reliable AI referrer. Their web interface consistently passes referrer data, making it the best benchmark for AI traffic analysis.

Claude (Anthropic)

claude.ai

Claude web traffic tracks reliably. As Claude usage grows, this referrer is becoming increasingly significant in analytics data.

Microsoft Copilot

copilot.microsoft.com
bing.com/chat
edgeservices.bing.com

Copilot traffic comes from multiple Microsoft properties. Enterprise users behind corporate proxies may not pass referrer data.

Google Gemini

gemini.google.com
bard.google.com

Gemini traffic is trackable, but represents a small portion of Google AI interactions. Most Google AI traffic comes through AI Overview, which is not separately trackable.

Combined Regex Pattern

Use this regex in GA4 to capture all major AI referrers in one filter:

(chat\.openai\.com|chatgpt\.com|perplexity\.ai|claude\.ai|copilot\.microsoft\.com|gemini\.google\.com|bing\.com/chat)

This pattern works in GA4's "Source matches regex" condition and captures the primary AI platforms while excluding their mobile apps (which don't reliably pass referrers anyway).

Is my brand visible in AI search?

Track your mentions across ChatGPT, Claude & Perplexity in real-time. Join 1,500+ brands already monitoring their AI presence with complete visibility.

Check Now

GA4 Channel Configuration Workflow

Setting up AI traffic tracking requires creating a custom channel group. Here's the systematic approach:

Step 1: Access Channel Groups

Navigate to Admin → Data display → Channel groups. Click "Create new channel group" and name it something clear like "Default + AI Channels."

GA4 channel groups setup for AI traffic tracking

Step 2: Add AI Assistants Channel

Click "Add new channel" and configure:

  • Channel name: AI Assistants
  • Condition: Source matches regex
  • Value: (chat\.openai\.com|chatgpt\.com|perplexity\.ai|claude\.ai|copilot\.microsoft\.com|gemini\.google\.com|bing\.com/chat)

Step 3: Set Channel Priority

This is critical. Drag "AI Assistants" above "Referral" in the channel list. GA4 evaluates channels top-to-bottom. If Referral appears first, it captures AI traffic before your custom channel can match.

Step 4: Apply to Reports

Go to Reports → Acquisition → Traffic acquisition. Click the channel dropdown and select your new channel group. AI traffic now appears as its own line item.

Per-Platform Tracking (Optional)

For granular analysis, create separate channels for each AI platform:

Channel NameRegex Pattern
ChatGPT
chat\.openai\.com|chatgpt\.com
Perplexity
perplexity\.ai
Claude
claude\.ai
Copilot
copilot\.microsoft\.com|bing\.com/chat
Gemini
gemini\.google\.com

This lets you compare traffic quality across platforms and identify which AI sources drive the most valuable visitors.

Quick win: Start with the combined "AI Assistants" channel. Once you have baseline data, split into per-platform channels to identify your highest-value AI traffic sources.

The Dark Traffic Problem

Not all AI traffic shows referrers. Several factors cause AI visits to appear as "Direct" traffic:

CauseImpactAffected Platforms
Mobile apps
High
ChatGPT iOS/Android, Copilot mobile
Privacy browsers
Medium
All platforms via Brave, Firefox strict
Enterprise proxies
Medium
Copilot, corporate ChatGPT
HTTPS→HTTP
Low
All platforms (if your site has HTTP pages)

Why this matters for measurement: If you only track visible AI referrers, you underestimate actual AI traffic by 30-50%. Dark traffic analysis is essential for accurate GEO ROI calculation.

Detecting Dark AI Traffic

Look for these signals in your Direct traffic that suggest hidden AI visits:

Pattern 1: Correlation with AI Visibility

Track your AI mention rate alongside Direct traffic trends. If mentions increase and Direct traffic spikes without other explanation, you've found dark AI traffic.

You can track if mention increase on Google Search Console.

Pattern 2: Long-tail Landing Pages

Nobody types yoursite.com/complete-guide-to-choosing-the-best-crm-software-2025 manually. Direct traffic to long-tail content URLs likely comes from AI citations.

Pattern 3: Mobile Direct Surges

If mobile Direct traffic increases without corresponding mobile campaigns or app installs, mobile AI apps are a likely source.

Estimating True AI Traffic

Use this formula to estimate total AI traffic including dark traffic:

Estimated AI Traffic = Visible AI Referral × (1 / Platform Reliability Rate)

For a rough estimate, multiply visible AI traffic by 1.5-2x to account for mobile app dark traffic. Refine this multiplier over time by correlating with AI visibility data.

Measuring AI Traffic Quality

Volume alone doesn't tell the full story. AI traffic typically exhibits different engagement patterns than other referral traffic.

AI traffic quality metrics dashboard

Key Quality Metrics

MetricWhy It MattersExpected AI Performance
Engagement rate
Do visitors interact?
Higher than average referral
Pages per session
Exploration depth
Varies by content type
Conversion rate
Business impact
Often higher than organic
Bounce rate
Content relevance
Lower when AI cites relevant pages

Why AI traffic converts well: Users clicking from AI responses have already:

  1. Defined their problem (asked the AI a question)
  2. Received your brand as a recommendation
  3. Made an intent-driven click to learn more

This is fundamentally different from discovery traffic. AI visitors are closer to purchase decisions - similar to branded search or bottom-funnel paid traffic.

Is my brand visible in AI search?

Track your mentions across ChatGPT, Claude & Perplexity in real-time. Join 1,500+ brands already monitoring their AI presence with complete visibility.

Check Now

Building a Comparison Report

Create a GA4 Exploration to compare AI traffic quality:

GA4 exploration report configuration

  1. Navigate to Explore → Free form

    GA4 free form explorer interface

  2. Rows: Session source/medium

  3. Metrics: Sessions, Engagement rate, Conversions, Revenue (if applicable)

  4. Filter: Source matches your AI regex OR Source = (other key channels)

  5. Compare AI Assistants performance against Organic Search, Referral, Direct

This report reveals whether AI traffic deserves dedicated optimization effort based on actual conversion performance, not just volume.

Key insight: Small AI traffic volume with high conversion rate may be more valuable than large organic volume with low conversion. Measure quality, not just quantity.

Connecting Traffic to AI Visibility

AI traffic tracking becomes powerful when combined with AI visibility monitoring. The correlation reveals actionable insights.

Visibility → Traffic Analysis

When AI platforms mention you more, traffic should increase. Track these correlations:

Visibility ChangeExpected Traffic Impact
New query mentions your brand
Traffic to related content pages
Mention rate increases
Proportional referral increase
Competitor mentions decrease
Your traffic share grows

If visibility increases but traffic doesn't, investigate:

  • Are mentions including links?
  • Is cited content relevant to user intent?
  • Are mobile apps stripping referrers (dark traffic)?

Traffic → Content Optimization

Traffic data reveals which AI citations actually drive clicks:

Traffic PatternWhat It MeansAction
High traffic pages
Strong AI citations
Protect and expand this content
Low traffic despite mentions
Weak citations or link issues
Improve content structure
Traffic to unexpected pages
AI citing different content than expected
Investigate and optimize

How Qwairy Automates AI Traffic Tracking

Manual GA4 configuration works but requires ongoing maintenance as new AI platforms emerge. Qwairy automates the entire workflow:

  • Automatic referrer detection identifies all AI traffic sources including emerging platforms
  • Dark traffic estimation correlates visibility data with Direct traffic patterns
  • Quality benchmarking compares AI traffic conversion against other channels
  • Visibility-to-traffic correlation connects mention data to actual site visits

No regex maintenance. No manual channel updates. No guessing about dark traffic.

Qwairy referral analytics dashboard

Referral analytics is available on all plans on Qwairy.

Key Takeaways

  1. AI traffic hides in plain sight - Default GA4 groups it with generic referrals or misattributes it as Direct

  2. Custom channels are essential - Create an "AI Assistants" channel with the combined regex pattern and prioritize it above Referral

  3. Dark traffic is significant - Mobile AI apps strip referrers; estimate 30-50% of AI traffic appears as Direct

  4. Quality beats volume - AI traffic typically shows higher engagement and conversion than average referral traffic

  5. Correlation reveals truth - Connect AI visibility data with traffic trends to identify dark traffic and measure true GEO ROI

What's Next

Tracking AI traffic is step one. To actually improve AI-driven acquisition:

  1. Find high-potential prompts - Use GSC data to identify queries worth optimizing for AI
  2. Monitor AI visibility - Track when AI platforms mention your brand
  3. Ensure crawler access - Verify AI crawlers can index your content
  4. Optimize for AI citation - Structure content so AI platforms cite it with links

AI traffic tracking closes the measurement loop for GEO. Without it, you're optimizing blind - unable to prove whether AI visibility actually drives business results.

Start tracking AI traffic with Qwairy - automatic referrer detection, dark traffic estimation, and visibility correlation in one dashboard.

Start Monitoring Today

Is Your Brand Visible in AI Search?

Track your mentions across ChatGPT, Claude, Perplexity and all major AI platforms. Join 1,500+ brands monitoring their AI presence in real-time.

Complete AI Monitoring
Track every mention in real-time
Competitor Intelligence
See what AI recommends
Proven Results
87% see improvements in 30 days
Start Free Trial

Free trial • No credit card required • Complete platform access