Skip to content
Kachi
Kachi Site navigation
AnalyticsGA4AI Search

How to Track AI Referral Traffic in GA4

KachiRuchi Soparkar
||10 min read
How to Track AI Referral Traffic in GA4

The Short Version

Google Analytics 4 is the first analytics platform built for the AI era. Mastering its predictive features is the only way to track how Google's own AI models interact with your site.

Key Takeaways

Predictive Metrics: AI-driven churn and purchase probability analysis.
Behavioral Modeling: Using AI to fill data gaps for cookie-less users.
Anomaly Detection: Automatic alerts when AI updates impact your traffic.
AI Channel Grouping: Customizing segments to isolate GPT, Perplexity, and Gemini.

The Invisible Traffic

Traditional analytics tools like GA4 often misclassify AI traffic. Bots might be ignored, or AI-referred visitors might be lumped into “Direct” or “Referral” without clear attribution.

Setting Up Custom Channels

To properly track AI traffic in GA4, you need to define custom channel groups.

  1. Identify Referrers: Look for chatgpt.com, perplexity.ai, bing.com (chat mode), etc.
  2. Create Custom Channel: Go to Admin > Data Settings > Channel Groups.
  3. Define Rules: Create a “AI Search” channel where Source matches regex (chatgpt|openai|perplexity|claude|anthropic).

Tracking AI Bots vs. Humans

Kachi handles this automatically, but doing it manually in GA4 requires server-side tagging.

Implementing AI-Native Tracking

To get the most out of Google’s AI capabilities, you need a technically perfect GA4 setup.

1

Enable Data Modeling

Maximize the value of your data by allowing GA4 to use AI to fill the gaps left by privacy-first browsing.
2

Configure Custom Channels

Don't let AI traffic stay hidden in "Other." Create specific buckets for the top 5 Answer Engines.
3

Leverage Predictions

Use GA4's "Predictive Audiences" to target users who are most likely to convert after viewing an AI citation.
The Comparison

Answers to Common Questions

Q.Why is my GA4 traffic dropping?

It might not be a drop in users, but a shift toward AI Overviews. You must track citations to see the full picture of your visibility.

Q.How does GA4 handle AI bots?

GA4 filters out known bot traffic automatically, but you should still use server-side tagging to ensure absolute accuracy for AI agents.

Summary

GA4 is a powerful tool, but it only shows half the story. By combining GA4 with Kachi’s AEO attribution, you get the complete picture of how AI is driving your brand’s growth.

Analyzing Conversion Rates

Surprisingly, we’ve found that AI-referred users often have a 2x higher conversion rate than traditional search. They are often further down the funnel, having already done research via the AI.

The Kachi Advantage

Kachi integrates directly with GA4 to inject this data. We segment your audience into:

  • AI-Referred: Humans coming from AI.
  • AI-Crawled: Bots indexing your content.
  • Traditional Search: Organic Google users.

Next Steps

Check your “Referral” traffic today. You might see bing or yahoo rise—dig deeper to see if it’s actually AI-driven.

Share this article