- ChatGPT, Perplexity, Claude, and Gemini all send standard HTTP referrer headers — the data exists and is readable.
- GA4 misclassifies almost all AI traffic as Direct/(none) due to referral exclusion logic and missing domain lists.
- AI-referred visitors convert at 2–4x the rate of organic search in early data — these are high-intent buyers.
- Proper AI traffic attribution requires capturing the referrer at session start and linking it to your payment processor server-side.
- Attrifast tracks AI engine traffic and ties each visit to Stripe revenue automatically — no custom code.

AI engines are sending traffic. Your analytics probably do not know it.
In January 2026, Similarweb reported that ChatGPT had surpassed 180 million monthly active users, with a growing share actively clicking through to external websites from AI-generated answers. Perplexity, which positions itself explicitly as a research engine with citations, generates outbound clicks as a core product feature. Claude and Gemini are following the same model.
For SaaS founders and ecommerce operators, this creates a specific problem: a new traffic channel with potentially high purchase intent is arriving at your site and your analytics tool is recording it as Direct traffic. You cannot optimize a channel you cannot see.
According to SparkToro research on AI referral patterns, sites in technical niches — developer tools, B2B SaaS, specialized equipment — are seeing AI engine referrals represent 5–15% of inbound traffic, and the share is growing month over month. For the average consumer site the share is lower, roughly 1–3%, but still non-trivial given the conversion quality.
Why AI-referred visitors convert differently
A user arriving from a Google search result may be researching broadly. A user arriving from a ChatGPT citation arrived because an AI explicitly recommended your product in response to a question like "what is the best analytics tool for Stripe businesses?" That recommendation narrows intent dramatically. Early adopter data from Attrifast users shows AI-referred visitors converting to paid customers at 2–4x the rate of organic search visitors.
AI engine referral share: who is sending the traffic
Estimated distribution of AI-originated web referrals, early 2026. Based on aggregated referrer data across Attrifast-tracked sites and corroborating Similarweb AI traffic reports.
ChatGPT dominates referral volume. Perplexity punches above its user-count because citations are a core product feature. Claude and Gemini are growing fastest quarter over quarter.
| AI engine | Referrer behavior | GA4 default classification | Capture method |
|---|---|---|---|
| ChatGPT (web) | chatgpt.com Referer header[4] | Direct / (none)[2] | Server-side capture works |
| ChatGPT (mobile app) | No Referer header sent[2] | Direct / (none) | Requires UTM param fallback[9] |
| Perplexity | perplexity.ai Referer header | Direct / (none) | Server-side capture |
| Claude (web) | claude.ai Referer header | Direct / (none) | Server-side capture |
| Gemini | gemini.google.com Referer | Sometimes "google"[6] | Domain pattern match needed |
AI engine referrer behaviors verified across our own traffic and corroborated by MarTech analysis[2] and MDN's referrer-policy spec[4].

Skip the manual setup
The manual GA4 workarounds above work — but they require custom JavaScript, monthly maintenance as AI engine domains change, and they still cannot tie visits to Stripe revenue without custom backend code. Attrifast tracks each AI engine automatically, with no custom code, and surfaces ChatGPT, Perplexity, Claude, Gemini, and Copilot as their own revenue lines from day one.
How AI traffic referrers actually work: the technical reality
When a user clicks a link inside an AI chat interface, the browser sends an HTTP Referer header to the destination server — the same mechanism that has powered web analytics since the mid-1990s. On the client side, your JavaScript can read this as document.referrer.
https://chatgpt.com/or chat.openai.com for older linkshttps://perplexity.ai/consistent across all citation typeshttps://claude.ai/present on all outbound clickshttps://gemini.google.com/distinct from google.com organicWhy referrers get lost: three common failure modes
1. Referrer-Policy headers set to same-origin
If the AI engine sets a Referrer-Policy of same-origin or no-referrer on its outbound links, the browser will not send the referrer header to cross-origin destinations. ChatGPT and Perplexity currently use unsafe-url or origin-when-cross-origin, which preserves the referrer. This can change at any time.
2. HTTPS → HTTPS with meta refresh redirects
Some AI engines route clicks through intermediate redirect pages for security or tracking. If that redirect page lacks a Referrer-Policy that passes the original referrer, the destination site sees the redirect URL as the referrer instead. This is the most common cause of Perplexity AI traffic appearing as Direct in some analytics tools.
3. GA4's referral exclusion and session stitching logic
GA4 maintains a list of 'referral exclusions' — domains that should not start new sessions. Google's own domains are excluded to prevent organic search sessions from being overwritten by subsequent Google clicks. AI engine domains are not on this list, but GA4's session model often fails to attribute the correct source when a user visits multiple pages within the same session, defaulting to Direct.
What you see in GA4 vs what is actually happening
The same 100 visitors, two different views. GA4 collapses everything into Direct. Proper AI traffic attribution breaks out each source and ties it to revenue.
AI traffic from ChatGPT, Perplexity, and Claude is invisible. You cannot act on data you cannot see.
Each AI source is visible with its own conversion rate and revenue contribution.
How analytics tools handle AI traffic: comparison
GA4, Plausible, Fathom, and Attrifast — how each handles AI engine referrers and revenue attribution.
No
No
All AI traffic appears as Direct/(none)
Yes
No
Shows referrer domain but no revenue data
Yes
No
Shows referrer domain but no revenue data
Yes
Yes
AI source → session → Stripe payment linked
How to track AI traffic revenue with Attrifast: step by step
Attrifast captures document.referrer at the start of every session and stores it server-side with a privacy-safe session token. When a Stripe payment completes, it joins the payment record back to that original session — including its AI engine referrer. Here is the full setup flow.
Add the Attrifast script tag
Paste a single 4 KB script tag into your site's <head>. No configuration needed — the tracker automatically reads document.referrer on every page load.
Connect Stripe via OAuth
One-click OAuth connection. Attrifast matches browser sessions to server-side payment events using a privacy-safe session token — no cookies, no PII stored.
See AI traffic in your dashboard immediately
ChatGPT, Perplexity, Claude, and Gemini referrals appear as distinct channels. Each row shows visitors, conversion rate, and revenue generated.
Filter revenue by AI source
Click any AI source to see the exact pages visitors landed on, their conversion rate versus your organic average, and total revenue attributed.
What you will see in your dashboard
Within 24 hours of installation, AI traffic sources appear as named channels: ChatGPT, Perplexity AI, Claude AI, Gemini. Each row shows sessions, conversion rate, revenue generated, and revenue per visitor. You can sort by revenue to immediately see which AI engine produces the highest-value customers for your business.
No consent banners are required. Attrifast is cookieless by design and GDPR-compliant without needing to ask users for permission — important for technical audiences who are most likely to dismiss consent dialogs.
Why tracking AI referrals now is a first-mover opportunity
SEO took years to become a mature discipline. Social media analytics tooling lagged platform growth by two to three years. The pattern repeats: new traffic channels emerge, attribution tooling follows slowly, and early adopters who build measurement infrastructure first gain durable advantages in understanding and optimizing their traffic mix.
AI-generated content optimization — sometimes called GEO (Generative Engine Optimization) — is emerging as a discipline precisely because traffic from AI engines behaves differently from traditional search. Knowing your current AI traffic baseline and which AI engines send the highest-value visitors gives you the data foundation to run structured experiments: which content formats get cited, which product pages earn AI recommendations, and which AI engines reward which types of businesses.
You cannot optimize what you do not measure. The businesses that set up AI traffic attribution analytics in early 2026 will have 12–18 months of historical data when the rest of the market starts paying attention.
ChatGPT monthly active users (Jan 2026)
Higher conversion rate vs organic search for AI referrals
Of traffic for B2B SaaS sites now from AI engines
Key takeaways
Frequently asked questions
Does ChatGPT send referrer data when it links to my website?
Yes. When a user clicks a link inside ChatGPT, the browser sends a standard HTTP Referer header containing "chat.openai.com" or "chatgpt.com". Perplexity sends "perplexity.ai", Claude sends "claude.ai", and Gemini sends "gemini.google.com". These referrers are readable via document.referrer in JavaScript, the same way Google referrals work.
Why does GA4 show AI traffic as Direct?
GA4 has a hard-coded referral exclusion list that strips referrers from known domains (like google.com) to avoid self-referrals. AI engine domains are not on GA4's "known referrers" list, so their traffic hits GA4's session-start logic without a recognized source. GA4 then classifies it as Direct/(none). GA4 also loses the referrer when a user clicks through a multi-page AI chat interface.
How much revenue is coming from AI engines in 2026?
Based on Similarweb data from late 2025 and early 2026, AI engine referrals represent 1–5% of total web traffic for the average SaaS or ecommerce site, up from near-zero in 2023. For developer tools and B2B SaaS, the share is higher — anecdotally 5–15% — because technical users are more likely to use AI assistants for product research.
Is Perplexity AI traffic trackable?
Yes. Perplexity sends clicks through with a "perplexity.ai" referrer intact. The main challenge is that Perplexity caches some pages inside its UI, which can strip referrer data for a small percentage of clicks. Direct click-throughs from Perplexity's answer citations are fully trackable via document.referrer.
How do I track which AI sources drive paying customers, not just visitors?
You need a tool that captures the referrer at session start and then links that session to a downstream payment event. Attrifast does this server-side using a session token: when a Stripe payment completes, it joins the payment record to the original session referrer without relying on cookies. GA4 cannot do this natively.
Does Claude AI send referrer data?
Yes, claude.ai sends a standard Referer header on outbound clicks. Attribution for Claude traffic works identically to ChatGPT attribution — capture document.referrer at page load and store it with the session. The domain to look for is "claude.ai".
Related reading
Indexed AI referral traffic growth (Sep 2024 = 100)
Source: Digiday — 'In Graphic Detail: The state of AI referral traffic in 2025', based on Conductor data
Sources
Every numbered citation in this article links to its primary source below.
- [1]In Graphic Detail: The state of AI referral traffic in 2025 — ChatGPT +52% YoY, Gemini +388% — Digiday (2025).
- [2]How GA4 records traffic from Perplexity Comet and ChatGPT Atlas — referer is stripped from native AI apps — MarTech (2025).
- [3]How to Track AI Referral Traffic from ChatGPT, Perplexity & Gemini — AI Advantage Agency (2025).
- [4]Referrer-Policy: HTTP — strict-origin-when-cross-origin behaviour and HTTPS→HTTP downgrade — MDN Web Docs (Mozilla) (2025).
- [5]A new default Referrer-Policy for Chrome — strict-origin-when-cross-origin since v85 — Chrome for Developers blog (2020).
- [6][GA4] Attribution models — data-driven, last-click, first-click, linear, position-based, time-decay — Google Analytics Help (2025).
- [7]Why "Direct Traffic" in GA4 Is More Confusing Than You Think — only 10–15% is genuinely direct — AdFixus (2024).
- [8]A Guide to GA4 Direct Traffic and How to Reduce It — OWOX (2024).
- [9][GA4] URL builders: Collect campaign data with custom URLs — utm_source / utm_medium / utm_campaign — Google Analytics Help (2025).
- [10]Mastering multi-touch attribution models — first-touch, last-touch, linear, U-shape, time-decay, data-driven — Matomo Analytics (2025).