Why HubSpot shows so much Direct traffic, and how to fix it
Direct traffic in HubSpot is any visit where HubSpot finds no referrer and no tracking parameters. A high Direct share in B2B is rarely people typing your URL. It usually means UTMs and referrers are lost before the HubSpot tracking code reads them: in forms, redirects, cross-domain hops, consent banners, blocked scripts or untagged links.
By Vladimir Cvetkoski · Last updated
The 8 most common causes, and how to check each one
- →Embedded or iframe forms drop the UTMs. See HubSpot form UTMs missing.
- →Redirects and link shorteners strip the query string. Also covered in HubSpot form UTMs missing.
- →Cross-domain hops start a new visit with no source. See HubSpot cross-domain tracking.
- →The tracking code is missing or loads late on some templates.
- →The consent banner blocks the cookie on the landing page. See Consent Mode v2.
- →Safari deletes the cookie before the buyer comes back.
- →Ad and script blockers stop the tracking script.
- →Links clicked in apps, PDFs and webmail arrive with no referrer and no UTMs.
- 01
Embedded or iframe forms lose the page context
When a form loads inside an iframe or on a separate domain, the submission can be tied to the iframe URL instead of the landing page, and the UTMs on the landing page never reach the contact record. The full diagnosis is on HubSpot form UTMs missing.
How to check- 01Open a landing page with
?utm_source=test&utm_medium=auditadded to the URL and submit the form with a fresh email address. - 02In HubSpot, open the new contact and check Original Source and the first page in the activity timeline.
- 03If the source is Direct Traffic or the first page has no UTMs, the form is losing context.
- 01Open a landing page with
- 02
Redirects and link shorteners strip query parameters
A 301 from
httptohttps, from non-www to www, or through a link shortener can drop everything after the?if it is not configured to pass it through. The visitor arrives with no UTMs and no referrer.How to check- 01Take a tagged ad URL and run it through
curl -sIL "<url>"or a redirect checker. - 02Check that the final URL still has every UTM and click ID.
- 03Repeat for each ad platform, since each one builds final URLs differently.
- 01Take a tagged ad URL and run it through
- 03
Cross-domain hops break the session
Visitors who move from your marketing site to an app, booking tool or checkout on another domain can start a new session there with no source. If the conversion happens there, HubSpot sees a Direct visit. The setup and tests are on HubSpot cross-domain tracking.
How to check- 01List every domain and subdomain a buyer can pass through before converting.
- 02Confirm each one is added in HubSpot under Settings > Tracking & Analytics > Tracking code > Advanced tracking.
- 03Click from the main site to the other domain and check whether the
__hstccookie value stays the same.
- 04
Tracking code missing or late on some templates
One landing page template, a subdomain, or a page built in a different tool without the HubSpot tracking code means visits there are never recorded with their source.
How to check- 01Open each template type and subdomain and look for
js.hs-scripts.com(orjs-eu1.hs-scripts.com) in the network tab. - 02Check it loads on the first page view, not after a scroll or click.
- 01Open each template type and subdomain and look for
- 05
The consent banner blocks the cookie, and the source is never recovered
With an opt-in banner, HubSpot only records page views after the visitor accepts cookies. The first page view, the one with the UTMs, is not recorded, so a visitor who accepts on page two can start without a source. A visitor who never accepts and then submits a form is recorded as Direct Traffic.
How to check- 01In a private window, land on a tagged URL and do not touch the banner. Check whether
__hstcandhubspotutkare set. - 02Accept consent on a second page, submit a form, and check the new contact's Original Source.
- 01In a private window, land on a tagged URL and do not touch the banner. Check whether
- 06
Safari limits cookie lifetime
Safari's Intelligent Tracking Prevention deletes cookies set by JavaScript after 7 days without the visitor interacting with your site, and caps them at 24 hours when the visitor arrives from a link-decorated URL. A buyer who comes back after the cap looks like a new visitor, often with no source.
How to check- 01In HubSpot, compare the share of Direct contacts by browser where you have the data.
- 02Look at the gap between first visit and conversion for your typical buyer. Longer than a week means ITP matters.
- 07
Ad and script blockers
Blockers that stop the HubSpot tracking script mean no page views are recorded until the form submission. The contact gets created with little or no source data.
How to check- 01Install a common blocker (for example uBlock Origin) and walk through your funnel with a tagged URL.
- 02Check what source the resulting contact gets.
- 08
Untagged links in apps, PDFs and webmail
A link clicked in a desktop app such as Slack or Teams, or inside a PDF, usually arrives with no referrer. HubSpot also classifies a visit referred by a webmail domain as Direct Traffic. Without UTMs on those links, sales emails, newsletters sent from other tools and shared decks all show up as Direct.
How to check- 01Send yourself the same landing page link twice by email, once with UTMs and once without, and click each in a fresh private window.
- 02Submit a test form after each click and compare the Original Source of the two contacts.
- 03Check the Direct Traffic drill-down (entrance URL) for pages you mostly share in emails or decks.
Checklist
- 01Pick one landing page per paid channel and add test UTMs to each URL.
- 02Run every tagged URL through a redirect checker and confirm the parameters survive.
- 03Submit each form type once (embedded, pop-up, booking tool) with a new email address per test.
- 04Check each test contact's Original Source, Original Source Drill-Down 1 and first page seen.
- 05Repeat one test in Safari and one with an ad blocker enabled.
- 06Repeat one test while declining, then accepting, the consent banner.
- 07List every domain in the journey and confirm each one is in HubSpot's tracking settings.
- 08Write down which tests came back as Direct Traffic. Those are your leaks.
When to get help
If the tests show more than one leak, or the leak is in custom code, a booking tool or a consent setup you cannot change yourself, start with the Attribution Audit. It is the diagnostic: every entry point tested, each leak mapped with evidence, and a fixed-price plan. The Fix then closes the leaks it finds.
From the blog
HubSpot 'tracking URL creation failed': what to check and how to fix it
HubSpot shows 'tracking URL creation failed' without saying why. What to check first, the Bitly limit case, the builder requirements and a test to run.
Read more →10 min readWhy HubSpot shows 60%+ Direct traffic (and how to find the leak in 30 minutes)
High Direct traffic in HubSpot is almost always a tracking leak, not real direct visits. A 30-minute test plan to find which of the usual causes is yours.
Read more →11 min readHow to read HubSpot attribution reports: contact create, deal create and revenue
How to read HubSpot's contact create, deal create and revenue attribution reports: what each counts, the data it needs, and how to spot a bad report.
Read more →11 min readHubSpot Original Source vs Latest Source: what each records, plus the drill-downs
What HubSpot Original and Latest Source record, what drill-down 1 and 2 hold for each source, what Offline Sources means, and how to report on both.
Read more →Common questions
Direct Traffic is the source HubSpot gives a visit with no referrer and no tracking parameters, and also a visit referred by a mail domain or RSS reader. It is HubSpot's "no source found" bucket, so it mixes real typed-in visits with every visit whose source was lost on the way.
Both, for different reasons. A contact whose first tracked visit had no source keeps Direct Traffic as Original Source. A returning visitor who types your URL gets Direct Traffic as Latest Source, even if they clicked an ad the day before. HubSpot Original Source vs Latest Source explains how each one is set and what the Direct Traffic drill-down shows.
Yes. Bookmarks, typed URLs and links from apps that send no referrer are real Direct visits. The problem is when Direct is one of your biggest sources while you run paid campaigns, because paid visitors almost never arrive without a source.
Yes, but carefully. HubSpot lets you edit Original Source on a single record, in bulk or with a workflow, but editing it clears the drill-down values and First Referring Site, so you lose the detail you would need to audit it later. A separate custom source property, or a documented backfill from your own data, is usually the better route.
Only part of it. Server-side tracking helps with blockers and cookie lifetime, but it does not fix forms that drop UTMs or redirects that strip them. Those need to be fixed where they happen.
Services that fix this
Attribution Audit
A fixed-scope audit of how your ad clicks, forms and CRM connect. You get a written report of every leak, ranked by cost, and a fix plan.
Read more →ServiceThe Fix
A one-time engagement to fix specific attribution problems, scoped and priced before any work starts. You get a working fix and written notes on what changed.
Read more →ServiceServer-Side Tracking
Tracking that keeps working when browsers block your data. Server-side GTM for GA4, Google Ads, Meta and LinkedIn, added to the GTM you already have.
Read more →Not sure which of these it is?
Connect your stack read-only and I monitor it free for 14 days. Tracking breaks get flagged before they hit your reports.
- →14 days from connection, no card required
- →Read-only access only, nothing is changed in your accounts
- →Alerts by Slack or email