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.
Example: when the visitor link is lost, most of the real channel data collapses into Offline Sources. Numbers are illustrative.
- Ad clickVisitor arrives with UTMs or gclid
- Landing pageTracking code sets hubspotutk
- Form submithutk not sent, or form posts via API
- HubSpot contactCreated with no visit history
- 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
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).
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.
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.
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.
Check the cookie
In browser DevTools, open Application > Cookies and confirm
hubspotutkexists on your domain before you submit. If it is absent, the tracking code is not running or consent is blocking it.
| Cause | What you see | Fix |
|---|---|---|
| Tracking code missing or blocked | No hubspotutk cookie, no page views on contact | Install the code, check consent settings |
| Non-HubSpot form without hutk | Contact created, no page views | Pass hutk in the Forms API call or use a HubSpot form embed |
| Contacts created by API or Zap | Record source shows API or Integration | Include the tracking context or accept the limit and set source yourself |
| Cookie consent denied | Leads from EU visitors are Offline, others fine | Review the cookie banner and HubSpot consent setup |
| Form on another domain or iframe | Cookie not available to the form | Install 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.
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).
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.
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).
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.
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.
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
}
})
});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.
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.
Install HubSpot's app or add the code
Use the HubSpot app, or add the tracking script to theme.liquid before the closing head tag.
Check customer sync
Contacts created by the store sync may show an integration source. Use a custom property for web channel reporting.
Add a Custom HTML tag with the HubSpot code
Trigger it on All Pages, or on consent granted if you use Consent Mode. Check it fires in Preview mode.
Avoid duplicates
Make sure the code is not also hard-coded in the theme.
Add the code in Project Settings
Go to Project Settings > Custom Code > Head code and paste the HubSpot snippet, then publish.
Replace native forms or connect them
Webflow native forms do not send hutk by default. Use a HubSpot embed form, or send the submission through the Forms API with hutk.
Add the HubSpot code to funnel or site tracking settings
Paste it in the Header tracking code area of the funnel or website, then publish.
Check how leads reach HubSpot
Workflow webhooks or integrations create contacts without a visit. Pass hutk where possible or store the source in a custom property.
Add the code under Settings > Custom Code
Paste the HubSpot script, apply to all pages, place in Head.
Check Wix forms
Wix native forms may not pass hutk. Use a HubSpot form embed on the page.
Add the code in Settings > Advanced > Code Injection
Paste the HubSpot script in the Header field.
Prefer HubSpot embeds
Squarespace forms with a HubSpot connection may not carry visit data. Embed a HubSpot form in a code block instead.
Load the tracking script site-wide
Place the HubSpot script before the closing head tag of every template.
Send hutk on every submission
Read the hubspotutk cookie and include it in the context of your Forms API call, as shown in the code above.
How to confirm it's fixed
- 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.
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
- 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.
Related issues
- TRK-267HubSpot tracking code missingFix guide
- TRK-268HubSpot form submissions not linked to tracked visitor (hutk missing)Fix guide
- TRK-270UTMs not written to CRM contact fieldsFix guide
- TRK-271gclid/fbclid not written to CRMFix guide
- TRK-277Lead source field overwritten on later visitsFix guide
- TRK-278Hidden UTM fields present but emptyFix guide