Sub topic 5
Why Some AI Visits Look Like Direct Traffic
Assume you know the GA4 interface, the purpose of a referrer, and the basics of UTM parameters. You also need Editor access if you plan to change channel settings. This chapter explains why a real visitor from an AI assistant may appear as Direct traffic instead.
How GA4 decides that a visit is Direct
When a user opens a page, the browser may send a document.referrer value. This value identifies the page that linked to the new page. GA4 uses that information, together with campaign parameters, to determine the visit’s source and medium.
A visit commonly appears as:
| Source | Medium | Typical meaning |
|---|---|---|
| `(direct)` | `(none)` | GA4 received no usable campaign or referrer signal |
| `chatgpt.com` | `referral` | The browser sent an AI assistant referrer |
| `example-ai` | `referral` | A known or unknown site referred the visitor |
| `newsletter` | `email` | A campaign parameter identified the visit |
A visitor who clicks a link in ChatGPT can therefore produce either chatgpt.com / referral or (direct) / (none). The difference depends on what reaches your site, not only on where the visitor first saw the link.
Why the referrer disappears
The browser does not guarantee that every outbound visit includes a referrer. Several conditions can remove or change it:
- The AI assistant opens the link in an in-app browser that applies its own privacy rules.
- A redirect removes the original referrer before the visitor reaches your page.
- The link passes through a tracking or security service.
- The user copies the URL and pastes it into a new tab.
- The user opens a saved link later.
- A browser extension, privacy setting, or network policy strips referrer data.
- The link has no UTM parameters and the final request contains no usable referrer.
If GA4 receives neither a recognized referrer nor campaign parameters, it has no reliable source to use. It records the session as Direct. Direct therefore means “no attribution signal was available,” not necessarily “the user typed the URL.”
A link can preserve attribution by including campaign parameters such as utm_source=chatgpt and utm_medium=ai_assistant. However, adding parameters changes the URL and requires a consistent naming scheme. Do not add them casually to some links and not others.
https://www.example.com/guide?utm_source=chatgpt&utm_medium=ai_assistant&utm_campaign=assistant_recommendationDirect versus Unassigned
Direct and Unassigned describe different problems.
Direct usually means that the visit had no usable source or campaign information. In the GA4 interface, this often appears as (direct) / (none).
Unassigned means that GA4 found source information but could not match it to a channel definition. For example, a custom medium such as ai_assistant may appear as Unassigned until you create a channel rule for it.
This distinction matters when you investigate AI traffic. Missing referrers create Direct traffic. Unrecognized values create Unassigned traffic. A custom channel group can solve the second problem, but it cannot recover a referrer that was never sent.
The path from click to GA4
The same assistant can produce different GA4 results across users, browsers, and links. Treat Direct traffic as a mixture of typed visits, bookmarks, copied links, missing referrers, and other unattributed visits.
What you can and cannot recover
You can identify AI visits when at least one signal remains:
- A referrer hostname, such as
chatgpt.com. - A campaign value, such as
utm_source=chatgpt. - A separate event or landing-page mechanism that your implementation recorded.
You cannot reliably reconstruct the source of a visit that arrived without all of these signals. Compare AI referral counts with landing-page behavior, conversions, and sudden changes in Direct traffic, but report the result as measured AI traffic rather than total AI-influenced traffic.
Exercise
A visitor clicks a Gemini answer, arrives through a privacy-focused browser, and the URL has no UTM parameters. GA4 records (direct) / (none). Can a channel rule later move this session into an AI Assistants channel?
Show answer
No. The session has no AI source or campaign value for the rule to match. A channel rule can classify existing signals, but it cannot restore a referrer that the browser never sent.