AI Referrer

An HTTP referrer header indicating that a user clicked to your site from an AI engine like ChatGPT, Perplexity, Gemini, or Claude.

Updated 2026-04-17 · AEO glossary

Definition

An AI referrer is the source/medium signal in your web analytics indicating an AI engine drove the visit. Common AI referrer domains include chatgpt.com, perplexity.ai, gemini.google.com, claude.ai, and copilot.microsoft.com. Capturing AI referrers cleanly is harder than traditional referrers because (a) some AI engines strip referrer headers, (b) users often access AI engines through embedded interfaces that don't pass referrers, and (c) GA4's default channel grouping classifies many AI sessions as 'direct' or 'unassigned.'

Why it matters

AI referrer data is the foundation of session-level AEO attribution. Without clean AI referrer capture, you can't tell which traffic came from AI engines, let alone which AI citations drove which sessions.

Example

A user reads a Perplexity answer that cites your brand and clicks through. In GA4, that visit might appear as 'perplexity.ai / referral' (good) or as 'direct' (common, bad). Setting up AI Search as a custom channel group with explicit source matches catches the cleanly-attributed sessions.

FAQ

Common questions about ai referrer.

Why doesn't GA4 track AI referrers properly?
GA4's default channel grouping was built before AI engines were a major traffic source. ChatGPT, Perplexity, and Claude classify under 'referral' by default but often get filtered or hidden in the standard reports. Many AI sessions appear as 'direct' because the browser strips the referrer header at the HTTPS handshake or because the user opens your URL in a new tab.
Which AI referrers should I track?
At minimum: chatgpt.com, perplexity.ai, gemini.google.com, claude.ai, copilot.microsoft.com, you.com, phind.com. Set these as a custom channel group called 'AI Search' and configure custom dimensions to capture them in your standard reports.

Lantern measures this in production.

The terms in this glossary aren't theoretical — they're what Lantern's product calculates and reports every month for B2B SaaS teams. See yours in 7 days. 14-day free trial.

Join Waitlist