Traffic
What is direct traffic in Google Analytics, and how do you shrink it?
Direct traffic in GA4 is sessions with no referrer, no UTM tags and no ad click ID. What ends up there, how GA4 credits it, and how to shrink it.
The CrispStats team · · 8 min read
In short
Direct traffic in Google Analytics is sessions whose source is (direct) and medium is (none) or (not set): GA4 found no referrer, no campaign tags and no ad click ID. It includes people who typed your address or used a bookmark, but also many visits whose real origin was lost, such as links in apps, untagged emails and stripped referrers. GA4 also hands a direct session to the visitor’s earlier campaign when it knows one, and no GA4 attribution model credits a conversion to direct unless every visit before it was direct.
On this page · 7 sections
Sections
Direct is the channel analytics tools use when they cannot tell where a visit came from. Google describes it as people arriving through a saved link or by typing your URL, and some of it is exactly that. The rest is traffic from somewhere else that lost its label on the way. Knowing which part is which is the difference between “our brand is strong” and “our email links are untagged”.
This guide is about how GA4 in particular defines direct, carries it over between sessions and credits it. For the causes of direct traffic in any analytics tool, see what is direct traffic.
What is direct traffic in Google Analytics?
In GA4’s default channel group, a session is Direct when its source exactly matches (direct) and its medium is (none) or (not set). A session starts that way when its first event carries no referrer, no UTM parameters and no ad click ID such as gclid.
There is a twist that most explanations miss. Google’s page on traffic-source dimensions says sessions started by a direct entrance are attributed to the campaign values already known for that user. So a returning visitor who came from an email last week and types your address today is usually reported under email, not Direct. A session stays in the Direct row mainly when GA4 knows no earlier source for that browser: a first visit, a visitor whose cookies were cleared, or one who has only ever arrived directly.
It is not the same as Unassigned. Google uses Unassigned when the session has source data but none of the channel rules match, for example a utm_medium value GA4 does not recognise. Direct means there was nothing to read at all. See the direct traffic glossary entry for the short definition.
Where does direct traffic come from?
From real direct visits, and from visits that arrived without their label. The second group is usually larger than people expect.
| Cause | Why there is no source | Can you fix it? |
|---|---|---|
| Typed URL or bookmark | Genuinely no previous page | Nothing to fix |
| Links in desktop and mobile apps | Mail apps, chat apps and PDFs open the browser with no referrer | Yes, tag the links you control with UTM parameters |
| Untagged email campaigns | Links opened from mail apps usually carry no referrer | Yes, tag every link in every email |
| Referrer stripped by a policy | A page sets Referrer-Policy: no-referrer, or a link has rel="noreferrer" | Partly, on links you control |
| HTTPS page linking to an HTTP page | Browsers send no referrer on a downgrade | Yes, serve your site over HTTPS |
| Redirects that lose parameters | A short link or redirect drops the UTM tags on the way | Yes, check redirects keep the query string |
| AI assistants and messengers | Native apps often send no referrer and no tag | Only if the assistant adds a tag itself |
| Tagging problems | The Google tag fires late, or identity resets mid-visit | Yes, per Google’s tagging guidance |
| Bots that run your script | Automated browsers usually send no referrer | Partly, see bot filtering |
The browser rules come from the referrer policy every modern browser uses by default. As web.dev explains, Chrome, Firefox and Edge default to strict-origin-when-cross-origin: a link to another site sends only the origin, and a link from an HTTPS page to an HTTP page sends nothing. The tagging problems come from Google’s own page on tagging best practices, which lists late initialisation of the Google tag, inconsistent cookie prefixes and late cross-domain linking as causes of direct, unassigned and (not set) traffic.
How does GA4 give credit to direct traffic?
Even less than you might think. Google’s attribution help says all of GA4’s attribution models exclude direct visits from credit unless the path to the key event consists entirely of direct visits. The paid and organic last click model, also called last non-direct click, gives full credit to the last channel the customer clicked through; the data-driven model shares credit among the channels that were not direct. Marketing attribution models explained walks through each model on one journey.
A worked example. A visitor buys after four sessions in two weeks:
| Session | How they arrived | Session source / medium in GA4 |
|---|---|---|
| 1, 3 March | Clicked a Google ad | google / cpc |
| 2, 5 March | Typed your address | google / cpc, carried over |
| 3, 9 March | Clicked your newsletter (tagged) | newsletter / email |
| 4, 14 March | Used a bookmark and bought | newsletter / email, carried over |
Two of the four visits were typed or bookmarked, yet none shows as Direct in the session reports, and under paid and organic last click the purchase goes to newsletter / email. Only a visitor whose every session was direct shows up, and converts, as Direct. That is why the Direct row in GA4 is a floor on unlabelled arrivals, not a count of them.
Direct vs organic traffic: what is the difference?
| Row | Direct | Organic search |
|---|---|---|
| Source data | None: no referrer, no tags | A search engine’s referrer |
| Typical landing pages | Home page, app login, bookmarked tools | Articles, product pages, docs |
| What it says about you | People already know you, or a source was lost | People found you through a search |
| Shrinking it is | Usually good: you recovered a real source | Usually bad: you lost search visibility |
The two overlap in one way: a search visit can turn into direct if the referrer is dropped, for example from some search apps. Organic search itself is defined by the referrer, as the organic search entry explains, and Search Console still counts such clicks, one reason Search Console and Analytics never match.
How do you reduce direct traffic in GA4?
You cannot make it zero, and you should not try. You can recover the visits that had a source.
- Tag every link you send. Emails, newsletters, PDFs, app notifications, QR codes, social bios. The UTM builder shows which channel a tagged link lands in before you send it.
- Serve everything over HTTPS, including old landing pages and redirect hosts.
- Check your redirects keep the query string. Click your own tagged short link and look at the URL you land on.
- Load the Google tag early, before other events, and use one installation method, as Google’s tagging guidance recommends.
- Set up cross-domain measurement if a visit moves between your own domains, for example from the site to a checkout host.
- Exclude internal and bot traffic so your own visits and automated browsers do not swell the direct row. See how to filter bot traffic.
A tagged email link looks like this:
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=november-updateThen check the trend. If direct falls while email rises by a similar amount after you start tagging, you found where the direct visits came from.
Is a lot of direct traffic bad?
Not on its own. A known product with returning users has a lot of genuine direct traffic: people open the app from a bookmark every morning. What deserves a look is a sudden rise in direct traffic to deep pages, which usually means a campaign went out untagged, a redirect started dropping parameters, or tracking broke on some pages. Use the traffic source classifier to test how a referrer and URL would be classified.
How CrispStats classifies direct traffic
CrispStats uses a similar rule: a session is direct when its first pageview has no referrer and no utm_source. If utm_source is missing, it also reads ref, source or via from the landing URL, so a link like ?ref=newsletter gets a source without full UTM tags. A referrer from your own hostname counts as direct, so moving between pages of one site never shows up as a referral.
Two differences from GA4 are worth knowing. Each session is classified by its own first pageview: a direct session is reported as direct, not handed to an earlier campaign. And revenue attribution credits payments to the first touch known for the visitor, so a customer who first came from search and later returned directly is credited to search. AI assistants that add a utm_source such as chatgpt.com are filed under their own channel; clicks from apps that send neither a referrer nor a tag still land in direct, as they do everywhere. More in tracking AI traffic.