Skip to content
FunnelGuard

Fix guide by FunnelsGuard

HubSpot original source showing Offline for web leads: fix

TRK-269Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

Original Source is a HubSpot contact property. It records how a contact first found you, such as Organic Search, Paid Search, Paid Social or Direct Traffic. HubSpot sets it once, when the contact is created, and it does not change afterwards.

Offline Sources is the value HubSpot uses when a contact is created by something other than a tracked website visit. Typical examples are an import, a manual entry, a CRM integration or an API call. If your real web leads show this value, HubSpot did not connect them to the visit that produced them.

The link between a form submission and a visit is the hubspotutk cookie. The HubSpot tracking code sets it in the browser. The form must then pass its value to HubSpot as hutk (the tracking cookie field) in the submission. Without it, HubSpot has a contact but no visit history.

Why it costs you leads or sales

Your reports lie. Leads from Google Ads, Meta or SEO get bundled into one 'Offline' bucket, so you cannot see which channels produce customers. You may cut spend on a channel that works, or keep funding one that does not.

It also breaks things that rely on source data: attribution reports, lead routing by source, lists, workflows, and ad platform audiences or offline conversion imports built from HubSpot properties.

Lead sources in HubSpot reportsExample numbers
Lead sources in HubSpot reports (example)Paid Search (tracked): 10 % of new contacts; Organic Search (tracked): 8 % of new contacts; Paid Social (tracked): 7 % of new contacts; Offline Sources (should be web): 75 % of new contacts02958108775Paid Search (tracked)Organic Search (track…Paid Social (tracked)Offline Sources (shou…% of new contacts

Example: when the visitor link is lost, most of the real channel data collapses into Offline Sources. Numbers are illustrative.

Where the source gets lost
  1. Ad clickVisitor arrives with UTMs or gclid
  2. Landing pageTracking code sets hubspotutk
  3. Form submithutk not sent, or form posts via API
  4. HubSpot contactCreated with no visit history
  5. Original SourceOffline Sources

The visit is tracked, but the form submission does not carry the cookie, so HubSpot cannot connect them.

How to check if your site has it

Confirm the problem in HubSpot
  1. Build a contact report

    In Contacts, filter by Create date (last 30 days) and add the columns Original Source, Original Source Drill-Down 1 and Create source (the property is called 'Record source' in some accounts).

  2. Look at the pattern

    If contacts you know came from a web form show Offline Sources, check their Record source. Values such as Integration, API or CRM UI point to how they were created.

  3. Open one contact's activity timeline

    A healthy web lead shows a page view and a form submission before creation. A broken one shows no page views at all.

  4. Submit a test lead

    Open your site in a private window with ?utm_source=test&utm_medium=cpc, submit the form with a test email, then check the new contact. It should show Paid Search or similar, not Offline.

  5. Check the cookie

    In browser DevTools, open Application > Cookies and confirm hubspotutk exists on your domain before you submit. If it is absent, the tracking code is not running or consent is blocking it.

Common causes of Offline Sources on web leads
CauseWhat you seeFix
Tracking code missing or blockedNo hubspotutk cookie, no page views on contactInstall the code, check consent settings
Non-HubSpot form without hutkContact created, no page viewsPass hutk in the Forms API call or use a HubSpot form embed
Contacts created by API or ZapRecord source shows API or IntegrationInclude the tracking context or accept the limit and set source yourself
Cookie consent deniedLeads from EU visitors are Offline, others fineReview the cookie banner and HubSpot consent setup
Form on another domain or iframeCookie not available to the formInstall tracking code on the form's page too

How to fix it

The right fix depends on how the form sends data to HubSpot. Start with the tracking code, then handle the form.

Fix the visitor link
  1. Install the HubSpot tracking code on every page

    Including landing pages, thank-you pages and any subdomain that hosts a form. Check that it loads in the page source (look for js.hs-scripts.com).

  2. Check consent handling

    If your cookie banner blocks HubSpot until consent, expect visitors who decline to arrive without a tracked visit. Make sure HubSpot loads after consent is given and that the banner is connected to it.

  3. Use a HubSpot form or pass hutk

    HubSpot embedded forms pick up the cookie automatically. For other forms, send hutk in the submission context (see the code below).

  4. Review automations that create contacts

    Zaps, webhooks or custom code that create contacts through the CRM API do not carry a visit. Use the Forms API instead, with hutk, where you can.

  5. Fix old contacts if needed

    Original Source cannot be edited by normal means in the interface for existing contacts. Use a custom property, such as 'Lead source (web)', to store the correct value for reporting.

Submit a custom form to HubSpot with the tracking cookie (Forms API v3)javascript
const hutk = document.cookie.split('; ').find(c => c.startsWith('hubspotutk='))?.split('=')[1];

fetch('https://api.hsforms.com/submissions/v3/integration/submit/PORTAL_ID/FORM_GUID', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    fields: [
      { name: 'email', value: 'lead@example.com' },
      { name: 'firstname', value: 'Test' }
    ],
    context: {
      hutk: hutk,
      pageUri: window.location.href,
      pageName: document.title
    }
  })
});
Platform specifics
  1. Use the official HubSpot plugin or add the code

    Install the HubSpot plugin and connect your account, or paste the tracking code into your theme header. Do not do both, or the code loads twice.

  2. Check form plugins

    If a form plugin (Gravity Forms, WPForms, Contact Form 7) sends data to HubSpot, check its HubSpot add-on passes the tracking cookie. Otherwise switch to a HubSpot form embed.

How to confirm it's fixed

Confirmation checks
  • The hubspotutk cookie is set on your landing page before you submit.
  • A test lead with ?utm_source=test&utm_medium=cpc shows Paid Search (or the matching source) as Original Source.
  • The new contact's timeline shows page views before the form submission.
  • Original Source Drill-Down 1 shows your test campaign or source value.
  • Contacts created over the next few days stop appearing as Offline Sources unless they are real offline leads.
  • Test again from an EU-style consent flow: accept cookies and check the source.
Contact record before and after

Before

  • Original Source: Offline Sources
  • No page views on the timeline
  • Record source: API or Integration
  • Channel reports show mostly Offline

After

  • Original Source: Paid Search, Organic Search, etc.
  • Page views listed before the form submission
  • Drill-Down shows the campaign or keyword
  • Channel reports match your ad platforms

How to prevent it happening again

Prevention habits
  • Re-test with a UTM-tagged lead after any change to forms, themes, consent banner, or integrations.
  • Keep one clear route from form to HubSpot, and document whether it passes hutk.
  • Review the share of Offline Sources among new contacts every week.
  • Store a separate 'web lead source' custom property so reporting survives edge cases.
  • Check that new landing pages and subdomains include the tracking code before launch.

How FunnelGuard handles this

FunnelGuard detects this issue only partly. When a robot visitor runs your lead form, it can look up the test lead in HubSpot, so it can tell whether the contact was created. It does not check the Original Source value on that contact, so it will not tell you that the source says Offline Sources.

To cover the rest by hand: after a FunnelGuard test run, find the test contact in HubSpot (test traffic is marked with utm_source=funnelguard and fg_test=1) and look at its timeline for page views. Then run the manual test from the check section with your own UTM-tagged visit, and review Original Source on new contacts weekly.

FunnelGuard is a synthetic monitoring service: a robot visitor runs your real customer journeys on a schedule and alerts you once, after a second-region re-check, with a screenshot and a likely cause. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.

Questions people ask

Why is my HubSpot original source showing Offline Sources for web form leads?

HubSpot sets Offline Sources when a contact is created without a tracked website visit attached. For web forms this usually means the tracking code is missing or blocked, or the form did not send the hubspotutk cookie as hutk. Contacts created through an API, import or integration also get this value.

How do I fix HubSpot Offline Sources on new contacts?

Install the HubSpot tracking code on every page, make sure consent settings do not block it, and use a HubSpot embedded form or pass hutk in your Forms API submission. Then submit a UTM-tagged test lead and check the Original Source. The fix applies only to new contacts.

Can I change Original Source on existing HubSpot contacts?

Original Source is set at creation and is not meant to be edited in normal use. For old contacts, create a custom property such as 'Lead source (web)' and fill it with the correct value for reporting. Check HubSpot's current documentation for what your account allows.

What is hutk in HubSpot and why does it matter?

hutk is the value of the hubspotutk cookie, which identifies a visitor tracked by the HubSpot code. When a form submission includes it, HubSpot links the new contact to that visitor's page views and traffic source. Without it, the contact has no visit history.

Why do only some of my HubSpot leads show as Offline?

A mixed result usually points to a specific path. Common examples are visitors who decline cookies, one form that does not pass hutk, or an automation that creates contacts via API. Compare Record source and the timeline of Offline contacts to find the shared route.

Does cookie consent cause HubSpot Offline Sources?

Yes, it can. If the HubSpot tracking code is blocked until a visitor accepts cookies, visitors who decline are not tracked. Their form submissions may still create contacts, but without a visit, so the source can show as Offline.

Can FunnelGuard tell me if HubSpot Original Source is Offline?

Only partly. FunnelGuard can look up the test lead in HubSpot, but it does not check the Original Source value. You can check that by hand on the test contact after a run.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: HubSpot lookup exists, source not checked.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.