What is referral traffic?
Short answer
Referral traffic arrives through links on other websites or apps. GA4 assigns a session to Referral when its rules match a medium such as referral, app or link. Recognized search engines, social platforms and AI assistants have their own channel rules, even though visitors also reach you by clicking a link.
Choose a page and date range before calculating its channel shares. A visit that comes through a newspaper link and one that follows a social post can be separated here. A scheduled Organic Viral Traffic campaign adds a known source of visits to compare with that baseline.
A GA4 session keeps 1 source: a new source seen mid-session is stored with its events and leaves the session's source unchanged, per Google's help on campaigns.
What does the Referer header carry?
Short answer
Referer is the spelling used in HTTP. The 2022 HTTP standard RFC 9110 describes a field that can identify where a browser found a link. It may contain only part of the originating address. Under the default cross-origin policy, a destination on another origin usually gets the origin and no path to the referring article.
RFC 9110 names analytics and logging among the uses of a referrer, and it requires the browser to leave out the referring page in 2 cases:
- A typed address or a bookmark: the browser must omit the header or send
about:blank. - A request over unencrypted HTTP from a page loaded over HTTPS: the browser must not send the header.
The W3C Referrer Policy Editor's Draft of March 20, 2026 names strict-origin-when-cross-origin as the default policy.
| Link target | Referer sent | What GA4 can use |
|---|---|---|
https://example.com/not-page.html | https://example.com/page.html | The full previous page |
https://not.example.com/ | https://example.com/ | The linking origin, not the linking page |
http://not.example.com/ | None | Nothing, so an untagged session is processed as direct |
How does GA4 assign a session to a channel?
Short answer
GA4 matches source, medium and campaign to its default channel rules. A tagged landing URL can supply the identifying information directly. Without tags, a usable referrer can supply it. Each session receives one source. An event later in the session can carry new source information without replacing that original session source.
Google's help page on the default channel group lists 19 channels and uses Unassigned for a session that matches no rule. Analytics detects organic search traffic by matching the referrer's hostname and query parameter against a list of known search engines.
| Channel | Rule | Google's description |
|---|---|---|
| Direct | Source (direct), medium (none) or (not set) | A saved link or a typed URL |
| Organic Search | Source on the search list, or medium organic | Non-ad search results, including AI Overviews and AI Mode |
| Organic Social | Source on the social list, or a medium such as social | Non-ad links on social sites such as Facebook |
| AI Assistant | Medium ai-assistant | Sources such as ChatGPT, Gemini, DeepSeek, Copilot, or Grok |
| Referral | Medium referral, app, or link | Non-ad links on other websites or apps |
Why does Direct hold more than typed addresses?
Short answer
Direct often means that GA4 could not identify the source of a visit. Someone may have typed the address, but an untagged link in a PDF, a redirect that dropped its tags or an ad blocker can yield the same label. Check for missing attribution before interpreting a rise in Direct as brand demand.
Direct traffic therefore rises when tags or referrers are lost, with no change in how many people type the address. Google advises checking marketing links, email campaigns, and social media posts for correct UTM tags.
The reverse can happen as well. Google's documentation says a later direct visit does not override an existing referrer. A reader who first arrived from search and later types the address can still appear under Organic Search. See how returning visitors are counted.
How do you track AI referral traffic in GA4?
Short answer
Since May 13, 2026, GA4's default grouping has included AI Assistant. Google says a recognized assistant referrer gets the medium ai-assistant and the campaign (ai-assistant). Visits from Google's own AI Overviews and AI Mode stay in Organic Search. Check which report contains the traffic before comparing the two.
Google's announcement names ChatGPT, Gemini, and Claude, and the channel definition names ChatGPT, Gemini, DeepSeek, Copilot, and Grok. Neither the announcement nor the channel definition names Perplexity. To check perplexity referral traffic, open the Traffic acquisition report, set the primary dimension to session source / medium, and search for perplexity. The medium after the slash shows whether GA4 filed those sessions as ai-assistant or referral.
A release note of June 11, 2026 adds a Source Group field with built-in grouping for emerging sources such as ChatGPT (OpenAI) and Perplexity. Google says Source Group is populated retroactively, so it covers earlier dates too.
Google's help on custom channel groups gives the steps for a channel of your own:
- Create a custom channel group, or edit an existing one.
- Add a channel such as AI assistants, with a Source matches regex condition, for example
chatgpt|perplexity|claude|copilot|gemini. - Move the channel above Referral, because GA4 puts a session in the first channel whose definition it matches.
- Save. The group applies to your reports retroactively, and a standard property can have 2 custom groups.
The 2025 remedies opinion in US v. Google records a Google document saying pages cited as corroborating links in AI Overviews get more clicks than they would as a traditional blue link. GA4 counts those clicks in Organic Search, and the guide to AI Overview citations covers how pages get cited.
What does a natural source mix look like?
Short answer
Use the page's own history as a reference. GA4 specifies how to classify a session but sets no ideal proportion for Referral, Search, Social or Direct. Pick a period without a campaign, then record each channel's count and share. A percentage can move even when the underlying count stays put.
| Channel | The share changes with |
|---|---|
| Organic Search | Positions and search demand for the page's queries |
| Organic Social | New posts that link to the page |
| Referral | New links and the traffic of the linking pages |
| AI Assistant | How often chatbot answers link to the page |
| Direct | Visitors who know the address, and links that lose their source |
Start with a quiet reference period such as the 28 days before a change. For that landing page, export the count for each session default channel group and its share of the total. If only one channel grows, all the others lose share even when their counts stay constant.
How does the referral mix relate to the organic traffic curve?
Short answer
A traffic curve shows when sessions arrived. Its channel split helps explain where they came from. Organic Viral Traffic schedules social, direct and search visits over 7 to 14 days. GA4 classifies each session it receives according to the same source rules it uses for your other visits.
The purpose of a visit plays no part in those rules: the source, medium, and campaign a session carries decide its channel. The article on the organic traffic curve covers how curves ramp, plateau, and decay.
The 2025 remedies opinion says 2 exhibits suggest Google's popularity signal is based on Chrome visit data and the number of anchors. The court said it could say no more. The 2024 leak shows a site-level field, chromeInTotal, described only as site-level Chrome views, and the guide to the 2024 Google leak covers its limits. No court record or leaked module cited here describes a role for social or direct visits, or for a curve's shape.
Export the baseline before the campaign begins. Record the planned channel mix and daily volume, checking the entry sources if necessary. Use the delivery ledger and billing rules for reconciliation. Use GA4 to answer the separate question of which channel labels your visitors received.
A later visit from a known source is a return visit, recorded separately from the first entry.