Attribution in the Age of AI

How to Track Traffic from ChatGPT, Perplexity, Gemini & AI Overviews

Every AI platform leaves a different fingerprint in your analytics — and some leave none at all. A platform-by-platform comparison, a copy-paste GA4 setup, and the proxy metrics for the influence that never becomes a click.

July 2026·15 min read·Vendor-neutral guide

The three layers of AI traffic

“Traffic from AI” is actually three distinct things, and conflating them is the most common mistake in AI-era reporting:

  1. 1AI referral traffic — a human read an AI answer, clicked a cited link, and landed on your site. This is real, measurable, human traffic — if your analytics recognizes the referrer.
  2. 2AI crawler traffic — bots (GPTBot, ClaudeBot, PerplexityBot…) fetching your pages for training or for real-time answering. Not human, invisible to JavaScript analytics, visible only in server logs and CDN dashboards.
  3. 3AI-influenced traffic — a human was told about you by an AI and arrived later via branded search or a typed-in URL. The largest layer by most estimates, and structurally invisible to click tracking. Measurable only by proxy.

This guide covers how to capture layer 1 precisely, monitor layer 3 honestly, and read layer 2 for what it is: a leading indicator, not an audience. For where AI-influenced journeys break attribution models themselves, see our attribution models comparison.

Platform-by-platform comparison

Each assistant handles outbound links differently, which is why AI traffic looks inconsistent in analytics. Here is the fingerprint each major platform leaves (behavior as of mid-2026 — platforms change this without notice, so re-verify quarterly):

How AI platforms appear in web analytics
PlatformTypical referrerUTM behaviorAppears in GA4 by default asNotes
ChatGPTchatgpt.com (legacy: chat.openai.com)Frequently appends utm_source=chatgpt.com to outbound linksReferral — or its own source when the UTM is presentThe cleanest signal of the majors thanks to the auto-UTM. Mobile-app clicks can still arrive referrer-less (direct).
Perplexityperplexity.aiNo consistent UTM taggingReferralCitation-forward UI produces relatively high click-out rates per user compared with chat-first assistants.
Google Geminigemini.google.comNoneReferralDistinct referrer, unlike Google's search-embedded AI surfaces (see next section).
Google AI Overviews / AI Modegoogle.com — indistinguishable from classic organicNoneOrganic SearchThe big one: no separate referrer. Search Console blends AI Overview clicks and impressions into normal search data.
Microsoft Copilotcopilot.microsoft.com; some paths via bing.com / edgeservicesInconsistentReferral (or Organic Search when routed via bing.com)Fragmented across Windows, Edge, and Bing integrations — expect multiple sources.
Claudeclaude.aiNoneReferralWeb-search-enabled answers cite sources; desktop/mobile app clicks often arrive as direct.
Grokgrok.com; x.aiNoneReferralTraffic also arrives via x.com when answers are surfaced inside X.
Meta AImeta.ai (in-app usage often passes no referrer)NoneReferral / DirectHeavily app-based usage means a large referrer-less share.
DeepSeekdeepseek.comNoneReferralWorth including in filters for global or developer-heavy audiences.
Key takeaway
Practical consequence: without deliberate setup, your AI traffic is scattered across Referral, Organic Search, and Direct — three buckets nobody reads as “AI.” The fix is one custom channel group and twenty minutes, covered below.

The AI Overviews / AI Mode problem

The largest AI answer surface on the internet is also the one you cannot isolate. Clicks from Google's AI Overviews and AI Mode arrive with a standard google.com referrer, so they land in Organic Search alongside classic blue-link clicks. Google Search Console counts AI Overview impressions and clicks inside regular search totals and offers no segment for them.

What you can observe is the aggregate symptom: since AI Overviews rolled out broadly, independent studies have repeatedly measured significantly lower click-through rates on informational queries where an Overview appears. In practice, many sites see impressions holding steady or rising while clicks decline — a widening impressions-to-clicks gap is often the fingerprint of AI Overviews absorbing your former traffic.

  • Monitor the ratio, not just the totals: in Search Console, watch CTR trends on your top informational queries specifically — those are Overview-exposed. Falling CTR at stable position is the tell.
  • Segment branded vs. non-branded queries: AI-influenced buyers often return via branded search, so branded impression growth alongside non-branded CTR decline is a consistent AI-era pattern.
  • Accept the limit: any tool claiming to give you exact AI Overview referral counts from analytics data is modeling, not measuring. Visibility inside the Overviews themselves is measurable — by monitoring the answers, not the clicks (see AI visibility tools compared).

GA4 setup: a dedicated AI channel in ~20 minutes

GA4 has no native “AI” channel, but custom channel groups solve it cleanly. The goal: every session whose source matches a known AI platform gets classified into an “AI” channel you can trend, segment, and report on.

  1. 1In GA4: Admin → Data settings → Channel groups. Don't edit the default group — create a copy (e.g. “Channels incl. AI”) so you keep a clean baseline.
  2. 2Add a new channel, name it “AI Assistants”, and drag it above Referral and Organic Search in the evaluation order — channel groups apply the first matching rule.
  3. 3Set the condition: Source matches regex with a pattern like the one below.
.*chatgpt\.com.*|.*chat\.openai\.com.*|.*perplexity\.ai.*|
.*gemini\.google\.com.*|.*copilot\.microsoft\.com.*|
.*claude\.ai.*|.*grok\.com.*|.*x\.ai.*|.*meta\.ai.*|
.*deepseek\.com.*|.*edgeservices\.bing\.com.*|.*mistral\.ai.*

(Written as one alternation, on one line, in the GA4 field. GA4 regex here is a full match, hence the .* wrappers; escape the dots as shown. Because ChatGPT appends utm_source=chatgpt.com, matching on source catches both its referrer and its UTM variants.)

  • Caveats: custom channel groups are not retroactive in some reporting surfaces, so build this now even if AI volume is small — you're creating your future baseline.
  • For historical analysis, an Exploration filtering session source on the same regex works on past data.
  • Re-check the regex quarterly. New assistants appear, domains change (chat.openai.com → chatgpt.com is the canonical example).
  • Expect the volumes to be small — commonly low single-digit percentages of sessions — but watch two things: the growth rate and the conversion rate. Many teams find AI-referred visitors convert meaningfully better than average, which makes sense: they arrive pre-researched, often having already compared you with alternatives inside the assistant.

Dark traffic: what still slips through

Even a perfect channel setup undercounts AI referrals. The main leaks:

  • Native apps: clicks from AI mobile and desktop apps frequently pass no referrer and land in Direct. Given how much assistant usage is app-based, this is a structural undercount, not an edge case.
  • Copy-paste behavior: assistants often present URLs users copy into a browser rather than click. Direct again.
  • Referrer stripping: privacy settings and browser policies can strip cross-origin referrers.
  • Consent declines: in consent-strict markets, a slice of all traffic — AI included — never reaches GA4 at all.

The honest posture for client reporting: treat measured AI referrals as a floor, never the total. An unexplained rise in Direct traffic that coincides with rising AI referrals and rising branded search is usually the same story told three ways.

Bonus layer: AI crawlers in your server logs

Before an assistant can cite you, it has to read you. AI crawler activity is measurable in server logs or CDN analytics (Cloudflare and others now ship AI-crawler dashboards) by user agent:

Notable AI user agents (check vendor docs for current lists)
User agentOperatorPurpose
GPTBotOpenAITraining-data collection
OAI-SearchBotOpenAISearch indexing for ChatGPT search
ChatGPT-UserOpenAIReal-time fetch when a user's query needs your page
PerplexityBot / Perplexity-UserPerplexityIndexing / real-time fetch
ClaudeBot / Claude-UserAnthropicCrawling / user-triggered fetch
Google-ExtendedGoogleRobots token controlling AI training use (not a separate crawler)
Meta-ExternalAgentMetaAI-related crawling
Amazonbot / Applebot-Extended / CCBotAmazon / Apple / Common CrawlVarious AI/training uses

Two practical uses. First, on-demand fetchers (ChatGPT-User, Perplexity-User, Claude-User) are a real-time signal that assistants are consulting your pages to answer live user questions — trending which URLs they hit tells you which content is doing invisible saleswork. Second, robots.txt policy is now a measurement decision: blocking AI crawlers may be a defensible content-rights position, but understand that it also removes you from consideration in a growing research channel. That trade-off belongs in client strategy conversations, not in a default robots.txt template.

Measuring the influence you can't see

Most AI influence never becomes a click, so the measurement stack needs proxies. The four that work, in rough order of practicality:

  1. 1Self-reported attribution: add “an AI assistant (ChatGPT, Perplexity…)” as an explicit option in your “how did you hear about us?” field. The gap between this number and your AI-referral sessions is your dark-AI multiplier — and it's often large.
  2. 2Branded search volume: assistants create demand that resolves via Google. Trend branded impressions in Search Console against your AI-visibility efforts.
  3. 3Direct-traffic trends segmented to new visitors on desktop (where app-based, referrer-less AI clicks concentrate).
  4. 4Share of voice in AI answers: monitor the answers themselves — how often, and how favorably, assistants mention a brand across a prompt set. This is upstream of all click data; we compare the tooling in AI visibility monitoring tools compared.
Key takeaway
A reporting pattern that works well for agencies: a single “AI influence” dashboard section combining (1) AI referral sessions and conversion rate, (2) AI crawler hits, (3) branded search trend, (4) self-reported “AI” percentage, and (5) answer share-of-voice. No single number is conclusive; the five together tell a defensible story.

Frequently asked questions

Why does my ChatGPT traffic show up as Direct?+

Clicks from ChatGPT's mobile and desktop apps often pass no referrer, so analytics classifies them as Direct. Users also copy URLs from answers instead of clicking. Browser-based ChatGPT clicks usually do carry a chatgpt.com referrer and frequently a utm_source=chatgpt.com parameter — so your measured AI referral number is a floor, with an unknown additional share hiding in Direct.

Can I see AI Overviews traffic separately in Google Analytics or Search Console?+

No. Clicks from AI Overviews and AI Mode arrive with a standard google.com referrer and are blended into Organic Search; Search Console includes their impressions and clicks in normal search totals without a separate filter. The observable symptom is falling CTR on informational queries at stable rankings. Presence inside the Overviews can be measured — but by monitoring the answers with AI visibility tools, not from analytics.

How much of my traffic should be coming from AI assistants in 2026?+

For most sites, measured AI referrals are still low single digits of total sessions — but growing fast year over year, and typically converting above site average because visitors arrive pre-researched. The more meaningful questions are the trend line and the conversion rate, plus the invisible layer: self-reported attribution regularly suggests AI influence several times larger than referral counts.

Should I block AI crawlers like GPTBot in robots.txt?+

It's a genuine trade-off, not a default. Blocking asserts control over content reuse and may reduce server load, but pages AI systems can't read are less likely to be cited or recommended in a channel where buyers increasingly do research. Many publishers now differentiate: blocking training crawlers (e.g. GPTBot) while allowing search/user-triggered fetchers (e.g. OAI-SearchBot, ChatGPT-User). Decide per client, deliberately.

Do UTM parameters work for tracking AI traffic?+

Only ChatGPT systematically adds its own (utm_source=chatgpt.com). You can't add UTMs to organic AI citations because you don't control which URLs assistants cite — they typically cite clean page URLs. UTMs remain useful for links you do control that AI systems might reproduce, but the core setup is referrer-based channel classification, not tagging.

Is AI referral traffic higher quality than search traffic?+

Frequently yes, on conversion metrics. An AI-referred visitor has usually articulated a specific need, seen a comparative recommendation, and chosen to click through — the assistant did the qualifying. Many teams report AI-referred sessions converting well above search averages. Small volumes and measurement gaps warrant caution, but the pattern is consistent enough to take the channel seriously before the volume alone justifies it.

Stay informed on life in Europe as an expat. The Local delivers daily news, guides and essential info across 9 European countries. Sign up for the free newsletter at thelocal.com/free-newsletter