Why AI Referrals Look Like Direct Traffic and How to Fix It

Why AI referral traffic shows up as direct in your analytics, how to diagnose the gap with landing pages and server logs, and which fixes recover attribution.

Hardal
6 min read
Agentic Commerce

AI referral traffic looks like direct traffic when the visit arrives without a referrer and without UTM parameters. That happens when links open from assistant apps, when people copy a link out of a chat, or when a redirect strips the header. You cannot recover every visit, but server-side data can measure the gap and recover part of it.

AppsFlyer, Stape and Littledata have all pointed out that AI answers often get credited to direct. This post goes into the specific mechanisms, and into two diagnostics most guides skip: landing page analysis of direct traffic and matching AI fetcher requests to the visits that follow them.

How the referrer gets lost

A browser sends the Referer header when a person follows a link, subject to the page's referrer policy. AI referrals lose it in several common ways:

CauseWhat happensFixable by you?
App to browser handoffA link tapped in a desktop or mobile assistant app opens the browser with no referring pageNo, but UTMs added by the assistant can survive
Copy and pasteThe person copies a URL from the answer into a new tabNo
Referrer policyThe linking page or link uses a policy or rel="noreferrer" that limits or removes the headerNo for the source, yes for your own redirects
Redirect chainsYour own redirects, link shorteners or consent pages drop query stringsYes
Tag never loadsConsent declined, blocker, or the visitor leaves before the tag firesPartly, through server-side collection where consent allows

The Referrer-Policy reference on MDN explains how policies limit what is sent, and rel noreferrer removes it entirely. GA4's AI Assistant channel depends on the referrer, as Google's channel definitions show, so every lost referrer becomes Direct.

Step 1: Keep what does arrive

Before estimating anything, stop losing signals you already receive.

  1. Preserve query strings through redirects. Test your HTTP to HTTPS, trailing slash, locale and consent redirects with a URL that carries utm_source=chatgpt.com and check it arrives intact.
  2. Store the raw landing URL server-side on the first request of every session, before any script runs. If an assistant added a UTM, you have it even when the browser tag did not load.
  3. Store the raw referrer server-side too. A server-side collector on your domain sees the request header directly.
  4. Classify AI sources with a table you can update, not a regex inside a tag, so new assistants can be added and history reclassified. Our ChatGPT referral tracking guide shows which markers ChatGPT sends.

Step 2: Look at where direct traffic lands

Real direct traffic, from bookmarks and typed URLs, mostly lands on the homepage and a few well known pages. AI answers link to specific pages: a comparison, a guide, a pricing page, a product variant.

Pull direct sessions by landing page for the last few months and compare with the period before you started appearing in AI answers. A rising share of direct sessions landing on deep content pages, especially pages that AI assistants fetch often, is a sign of hidden AI referrals. It is not proof, because email clients, messaging apps and internal tools also produce direct visits to deep pages.

Step 3: Match AI fetches to visits

When someone asks ChatGPT or Perplexity a question, a live fetcher such as ChatGPT-User or Perplexity-User may request your page to build the answer. OpenAI's bots documentation describes ChatGPT-User as acting on user requests, not crawling automatically. If the person then clicks the citation, a human visit to the same URL follows.

Join your server-side bot log with session starts:

  • the fetcher request to a specific deep URL
  • a human session landing on the same URL shortly after, with no referrer and no UTM

Pick a short window, such as a few minutes, and test different windows to see how sensitive the result is. Use the share of direct sessions that match as a rough lower bound of hidden AI referrals for those pages. A crawler that does not run JavaScript only appears in server or CDN logs, so this diagnostic requires server-side data. Hardal AI Visibility records fetcher requests next to your analytics events for this kind of join.

Step 4: Ask people

Add an optional "How did you hear about us?" field to signup, demo request or post-purchase forms, with AI assistant options such as ChatGPT, Perplexity, Gemini and Claude. Self-reported data is imperfect, but it catches the copy and paste and cross-device journeys no tracking can see. Store the answer on the lead or order next to the tracked source, and report both. Where the two disagree, for example a tracked direct visit with a self-reported ChatGPT answer, you have found exactly the gap this post is about, and those records are worth reviewing by hand.

Step 5: Report a floor and an estimate, separately

Keep two numbers and never merge them:

  • Measured AI referrals: sessions with an AI referrer or AI UTM, joined to orders and leads. This is your floor.
  • Estimated hidden AI influence: from landing page patterns, fetch to visit matches and survey answers. Label it as an estimate and show the method.

Do not move direct revenue into an AI channel in your main attribution report. It makes every other channel's numbers less reliable too.

What no tool can fix

Research in an assistant on Monday and a purchase from a typed URL on Friday leaves no trail to connect. Neither does a conversation on a phone followed by a purchase on a work laptop without login. These are the same limits as dark social, and claims of exact AI attribution for them are modeling.

Hardal is the first-party data and agentic analytics platform. We collect raw referrers, landing URLs, AI fetcher requests and orders on one server-side pipeline, so you can keep the signals that arrive and measure the ones that do not. For the bigger picture, see our guide to AI crawler traffic for marketers, or book a demo.

FAQs
4 Questions

Frequently Asked Questions

Why AI assistant visits lose their referrer, how to estimate the gap, and what you can recover.

Why does ChatGPT traffic show up as direct?
The referrer is lost on the way. Common causes are links opened from a mobile or desktop app, links copied out of a chat and pasted into a browser, referrer policies that strip the header, and redirects that drop it. With no referrer and no UTM, analytics tools classify the visit as direct.
Can I recover AI referrals that arrived as direct?
Not with certainty. You can recover some by keeping UTMs that assistants add, by storing raw landing URLs server-side, and by asking customers how they found you. Beyond that, you can estimate hidden AI influence with landing page patterns or tests, and label it as an estimate.
Is all unexplained direct traffic from AI?
No. Direct traffic also comes from bookmarks, typed URLs, email clients, messaging apps, QR codes and broken tracking. Reclassifying all of it as AI invents a channel that may not be there.
What is a fetch to visit match?
It is a diagnostic where you look for a live AI fetcher request, such as ChatGPT-User, to a deep page followed shortly by a direct human visit landing on the same page. It suggests, but does not prove, that the visit came from an AI answer.