Skip to content

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.

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.

Where does direct traffic come from?
CauseWhy there is no sourceCan you fix it?
Typed URL or bookmarkGenuinely no previous pageNothing to fix
Links in desktop and mobile appsMail apps, chat apps and PDFs open the browser with no referrerYes, tag the links you control with UTM parameters
Untagged email campaignsLinks opened from mail apps usually carry no referrerYes, tag every link in every email
Referrer stripped by a policyA page sets Referrer-Policy: no-referrer, or a link has rel="noreferrer"Partly, on links you control
HTTPS page linking to an HTTP pageBrowsers send no referrer on a downgradeYes, serve your site over HTTPS
Redirects that lose parametersA short link or redirect drops the UTM tags on the wayYes, check redirects keep the query string
AI assistants and messengersNative apps often send no referrer and no tagOnly if the assistant adds a tag itself
Tagging problemsThe Google tag fires late, or identity resets mid-visitYes, per Google’s tagging guidance
Bots that run your scriptAutomated browsers usually send no referrerPartly, 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:

How does GA4 give credit to direct traffic?
SessionHow they arrivedSession source / medium in GA4
1, 3 MarchClicked a Google adgoogle / cpc
2, 5 MarchTyped your addressgoogle / cpc, carried over
3, 9 MarchClicked your newsletter (tagged)newsletter / email
4, 14 MarchUsed a bookmark and boughtnewsletter / 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?

Direct vs organic traffic: what is the difference?
RowDirectOrganic search
Source dataNone: no referrer, no tagsA search engine’s referrer
Typical landing pagesHome page, app login, bookmarked toolsArticles, product pages, docs
What it says about youPeople already know you, or a source was lostPeople found you through a search
Shrinking it isUsually good: you recovered a real sourceUsually 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.

  1. 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.
  2. Serve everything over HTTPS, including old landing pages and redirect hosts.
  3. Check your redirects keep the query string. Click your own tagged short link and look at the URL you land on.
  4. Load the Google tag early, before other events, and use one installation method, as Google’s tagging guidance recommends.
  5. Set up cross-domain measurement if a visit moves between your own domains, for example from the site to a checkout host.
  6. 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-update

Then 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.

Guide questions. Straight answers.

What people ask after reading this.

  • It is the source and medium GA4 gives a session when it found no referrer, no UTM tags and no ad click ID, and had no earlier campaign for that user to carry over. Sessions with source (direct) and medium (none) or (not set) make up the Direct channel.

  • Usually because visits from untagged emails, links in apps, PDFs and messengers arrive without a referrer. Tagging problems, such as the Google tag loading late or two installations at once, and bots can add more. Check which landing pages receive direct visits: deep pages point to lost sources.

  • Some of it. Typed URLs and bookmarks are counted as direct, but so is every visit whose source was lost on the way. Treat direct as unknown rather than as typed.

  • Only when there is nothing else to credit. Google says all GA4 attribution models exclude direct visits unless the whole path to the key event was direct. Paid and organic last click, for example, credits the last non-direct channel the visitor came through.

  • Direct means GA4 found no source information at all. Unassigned means there was source information, such as a UTM medium, but it matched none of the default channel rules. Unassigned is usually fixed by using standard medium values like email, cpc or social.

Not answered here? Write to hello@crispstats.com

Go further

Free tools

  • Traffic source classifier

    Paste a referrer or a tagged link and see the channel and source a visit is filed under, with the rule that decided it.

  • UTM builder

    Build UTM-tagged links one at a time or in bulk from pasted rows, with presets, checks for capitals and spaces, CSV export and a channel preview.

  • CTR calculator

    Calculate click-through rate from clicks and impressions: CTR = clicks ÷ impressions × 100.

Use cases

  • CrispStats for SaaS

    See which channels bring paying customers, where trials stall in the funnel, and how your app performs for real users, from one cookieless script.

  • CrispStats for ecommerce

    Tie orders to the campaign, page and source they came from, find where checkout loses people, and watch page speed, without cookies.

  • CrispStats for agencies

    Run every client site from one account, share read-only dashboards by link, and send weekly reports, with no cookie banner to explain.

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.