AI assistants are changing how people discover content online. Users now ask ChatGPT, Perplexity, and Claude for recommendations—and those AI systems are sending traffic to websites they cite. But here's the problem: Google Analytics 4 doesn't automatically categorize this traffic as "AI."

Why AI Traffic Matters

AI-referred traffic is growing rapidly. According to recent studies, some websites are seeing 5-10% of their traffic coming from AI platforms. This traffic is often:

  • •High-intent: Users asking AI for specific recommendations are often ready to act

  • •Growing: As AI adoption increases, so will AI-referred traffic

  • •Unmeasured: Most analytics setups miss or miscategorize this traffic

The Challenge with GA4

GA4's default channel groupings don't include an "AI" category. Traffic from ChatGPT might show up as:

  • Referral - if it comes with a referrer header

  • Direct - if the referrer is stripped (common with some AI apps)

  • Unassigned - if GA4 can't categorize it

💡 Pro Tip: The referrer domain is your key to identifying AI traffic. Look for patterns like chatgpt.com,perplexity.ai, orclaude.ai in your referral reports.

Method 1: Manual Detection via Referrer Reports

The quickest way to spot AI traffic is through GA4's Traffic Acquisition report. Navigate to Reports, then Acquisition, then Traffic acquisition. Change the primary dimension to "Session source" and use the search box to filter for AI platform names like chatgpt, perplexity, claude, gemini, or copilot. From there you can review sessions, engagement, and conversion data for each source.

This method works but requires searching for each platform individually, which becomes tedious when you're tracking a dozen or more AI sources.

Method 2: Create a Custom Channel Group

For ongoing tracking, create a custom channel group that automatically categorizes all AI traffic in one place. Go to Admin, then Data display, then Channel groups. Click "Create new channel group" and add a new channel called "AI Traffic." Set the condition so that Source matches regex, then paste in this pattern:

chat\.openai\.com|chatgpt\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|you\.com|phind\.com|poe\.com|meta\.ai|mistral\.ai|kagi\.com|character\.ai|huggingface\.co|jasper\.ai|copy\.ai|writesonic\.com
chat\.openai\.com|chatgpt\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|you\.com|phind\.com|poe\.com|meta\.ai|mistral\.ai|kagi\.com|character\.ai|huggingface\.co|jasper\.ai|copy\.ai|writesonic\.com
chat\.openai\.com|chatgpt\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|you\.com|phind\.com|poe\.com|meta\.ai|mistral\.ai|kagi\.com|character\.ai|huggingface\.co|jasper\.ai|copy\.ai|writesonic\.com
chat\.openai\.com|chatgpt\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|you\.com|phind\.com|poe\.com|meta\.ai|mistral\.ai|kagi\.com|character\.ai|huggingface\.co|jasper\.ai|copy\.ai|writesonic\.com

This regex covers 17 AI platforms including ChatGPT, Claude, Perplexity, Gemini, Copilot, and more. Copy and paste it directly into your GA4 channel group settings.


CampaignPilots

Marketing Intelligence

Share