Integrations

Offline Sources in HubSpot: why Shopify orders have no source, and how to fix it

Shopify orders land in HubSpot as Offline Sources, even with the tracking code in the shop. Why it happens and how one retailer got from 3 to 63 percent of orders with a source.

November 20, 2026 8 min read

You run ads, the HubSpot tracking code runs in your Shopify store, and still almost every order shows up in HubSpot as Offline Sources, drill-down Integration. Ad spend is in HubSpot, revenue is in HubSpot, and nothing connects the two.

People have asked about this in the HubSpot Community since at least 2019. In a thread from 2025, one merchant reported that support had told them there was no workaround. There is one. HubSpot needs the browser cookie and the email address in the same request, and a Shopify checkout never sends them together. For a Swiss online retailer we closed that gap with a small script on the order confirmation that runs only with the buyer’s consent. In the first three and a half weeks, orders with a known source went from 3 percent to almost two thirds.

The short version

  1. Shopify sync apps create contacts through the HubSpot API. An API call carries no tracking data, so HubSpot files the contact under Offline Sources, and the deal inherits it.
  2. The tracking code in the shop records every visit, but the visits stay anonymous. HubSpot links them to a person only when cookie and email address arrive together.
  3. The Shopify checkout is not a HubSpot form, so that moment never comes.
  4. The fix: on the order confirmation, send the buyer’s email and HubSpot cookie to a hidden HubSpot form. No app, no server.
  5. HubSpot then rewrites the original source, even for contacts the sync created earlier, and the deal follows.
  6. At one retailer: 3 percent of shop orders with a source before, 63 percent after.
  7. It runs only with consent and will never reach 100 percent.

What does Offline Sources mean in HubSpot?

Offline Sources is the original source HubSpot gives a contact it could not see arrive on your website. It means the record was created by something other than a tracked visit, such as an import, an API call or an integration.

The two drill-down properties tell you what exactly. Original source drill-down 1 names the way in, for example INTEGRATION, API or IMPORT. For integrations, drill-down 2 holds the ID number of the app, not its name. The name is in a different property, Record source detail 1. A Shopify buyer created by Syncito therefore reads Offline Sources, INTEGRATION and a seven digit number, with Syncito named only in the record source. HubSpot sets the drill-downs itself, and they cannot be edited by hand (HubSpot knowledge base).

Why does the HubSpot Shopify integration create contacts as Offline Sources?

Because the contact is created by an integration, not by the buyer’s browser. HubSpot sets the original source from tracking data, and a sync app that writes through the API has no tracking data to pass on.

It affects every connector that writes Shopify orders through the API: HubSpot’s own Shopify app (Data Sync), Unific and Syncito alike. Unific explains it on its own blog. A HubSpot employee explained it in the community in 2019: contacts created this way get Offline Sources by default, and their deals take the same value. In 2025, merchants on the native data sync reported the same result. HubSpot’s knowledge base confirms that the source of a deal comes from its associated contacts. So once the contact is offline, the revenue is offline too.

At the Swiss retailer, a third party sync app had created 80 contacts from shop orders since 1 September. All 80 had the source Offline Sources. Not one had a single page view on record. In the 30 days before, the retailer spent about CHF 6,300 on Google Ads, and the ads tool in HubSpot showed two customers for it. Over the previous year, 90 percent of the shop revenue in HubSpot had no source at all.

Browser
01Ad clickHubSpot sets its cookie and notes the campaign
02VisitsRecorded under the cookie, still without a name
Shopify checkout
03Email at checkoutTyped into Shopify, not into a HubSpot form
04 · the fixPixel on the confirmationSends email and cookie to a hidden HubSpot form, only with consent
HubSpot
05Sync appData Sync, Unific or Syncito adds the order as a deal
06Source on the dealPaid Search instead of Offline Sources
Without step 4, cookie and email never meet, and HubSpot files the buyer under Offline Sources from integration.

Doesn’t the HubSpot tracking code in Shopify already track the source?

It records the visits, but they stay anonymous. HubSpot ties a browser’s visit history to a contact only when the cookie and the email address arrive in the same request, for example in a HubSpot form submission.

The Shopify checkout is Shopify’s own page, not a HubSpot form. The buyer types the email address there, Shopify keeps it, and the sync app later sends it to HubSpot without the cookie. HubSpot ends up with two halves that never meet: an anonymous visitor with a full history and a known contact with no history.

The usual advice in the community is to collect the email earlier with a HubSpot form, such as a newsletter signup or an account page. That helps for the buyers who fill in such a form. Most shop buyers never do. They click an ad, look around, and buy.

How big that hidden history is became visible once we connected the two halves at the retailer. One buyer of a larger order had visited the shop 17 times over two months, with 80 page views, before buying. All of it had been recorded. None of it was attributed.

If your shop orders look the same, book a call. We look at your setup together in 30 minutes, with no obligation.

How do you fix Offline Sources for Shopify orders?

You send HubSpot the two things it needs at the one moment you have both: the order confirmation. At that point the buyer’s browser holds the HubSpot cookie, and Shopify knows the email address.

Shopify lets you add your own scripts to the checkout under Customer events, called custom pixels. We added one that waits for a completed checkout, reads the email address and the HubSpot cookie, and sends both to a HubSpot form. The form has a single email field and is embedded nowhere. It exists only to receive this one request. HubSpot treats it like any form submission: it finds or creates the contact, attaches the visit history behind the cookie, and sets the original source from the first tracked visit.

The sync app does its usual job a few seconds later and attaches the order as a deal to the same contact. The deal now inherits Paid Search or Organic Search instead of Offline Sources. No extra app, no server and no middleware are involved, and the checkout itself is untouched.

Three checks before you switch it on saved us trouble at the retailer:

  • Is the HubSpot tracking code really running in the shop? Without it there is no cookie to send.
  • Which other pixels already report purchases, for example to Google Ads? You do not want the same purchase counted twice once HubSpot also sends conversions.
  • Which workflows react to form submissions? A workflow that starts on any form would now start on every purchase.

One side effect we accepted: when the pixel arrives before the sync app, the form creates the contact as a lead, and the sync sets it to customer seconds later. In the lifecycle history that shows up as a short lead phase.

If you are planning HubSpot with a shop attached, this belongs in the test plan. We describe how we test the whole process with real records in our guide to HubSpot implementation.

How many Shopify orders get a source after the fix?

Shop orders with a known source went from 3 percent to 63 percent. The first order through the pixel arrived on the morning it went live and came in as Paid Search from a Google Shopping campaign.

Shop ordersBefore: 90 days to 27 Oct 2026After: 27 Oct to 20 Nov 2026
Orders11571
With a known source445
Share3 %63 %

A known source means anything other than Offline Sources, including Direct traffic, in both columns. The after column leaves out 18 older orders the sync app delivered late in one batch, because those were placed before the pixel existed.

The case that convinced us was a contact the sync app had created the day before, as Offline Sources. When that person then placed an order with the pixel live, HubSpot changed the original source to Paid Search, with campaign and search term, and dated the first visit two months back. The deal took over the new source. The record source still names the sync app as creator, which is correct: only the answer to where the buyer came from changed. So the fix also repairs existing contacts, as soon as they place their next order.

For the retailer the practical change is in the ads tool in HubSpot: Google Ads campaigns now show shop customers and revenue next to their spend. One caveat we gave them: HubSpot shows the deal value, not the margin.

Example · Contact record of a shop buyer
Order #1042, CHF 640Same buyer, same order. The only difference is the pixel on the order confirmation.
Sync app only
Original sourceOffline Sources
Drill-down 1INTEGRATION
Page views0
Deal sourceOffline Sources
Sync app plus pixel
Original sourcePaid Search
Drill-down 1Google Shopping
Page views23 since first visit
Deal sourcePaid Search
Example data. The visits were in HubSpot all along. The pixel connects them to the buyer, and the deal takes the source over.

Why do some orders still show Offline Sources?

Because the pixel only sees buyers whose browser lets it. Every order without consent, with an ad blocker or with an expired cookie stays without a source.

The main reasons, in the order we expect them to matter:

  • No consent. The pixel loads only when the buyer has accepted marketing and analytics cookies. That is intended (see the next section).
  • Ad blockers and privacy browsers that block HubSpot’s tracking script or the request to HubSpot.
  • Safari limits cookies set by scripts to seven days. A buyer who clicked an ad two weeks ago and comes back directly looks like a new visitor.
  • Orders that do not go through the online checkout at all, such as draft orders your team creates by hand.

In the first two days at the retailer, two of seven orders came in without a source. One was paid with Klarna, one on invoice. Both went through the normal checkout, so missing consent or a blocker is the likely reason. We cannot prove which. That is why we never promise a fixed rate up front, and why we report the share every month instead of a single success story.

Is tracking Shopify purchases in HubSpot GDPR compliant?

It follows the same rules as the HubSpot tracking code and the HubSpot forms you probably use already. A HubSpot form also sends the email address together with the cookie, which is exactly what the pixel does. In the EU, and in Germany under section 25 TDDDG, that tracking needs consent anyway. The pixel loads only after the buyer has accepted marketing and analytics cookies, and Shopify enforces that for custom pixels (Shopify pixel privacy).

One difference is worth a sentence in your privacy policy: the buyer never sees a HubSpot form. The email address typed at checkout is passed on in the background, to measure which channels bring buyers. Name that purpose in the privacy policy next to HubSpot. In Switzerland the data protection commissioner expects consent when cookie data is linked with address data for marketing (summary of the FDPIC guidelines), which the consent setup above covers.

This is how we handle it in projects, not legal advice.

FAQ

Does this affect Syncito, Unific and HubSpot’s own Shopify app?

Yes. All three create contacts from Shopify orders through the API, so all three produce Offline Sources from integration. The fix works next to any of them, because the pixel talks to HubSpot directly and does not touch the sync. We built it with a third party sync app.

Can I change the original source in HubSpot manually?

Yes, HubSpot made the property editable. For shop orders that means guessing, and HubSpot clears the drill-down properties when you change the source by hand. We would only do it for a few known cases, never as a fix for the shop.

Does the fix change past orders?

No. It works from the day it goes live. Existing contacts get their source corrected when they place their next order, including visits from months before.

Will the hidden form trigger workflows or emails?

Only if a workflow is set to start on any form submission. Check that before you go live. The form itself sends no notification and has no captcha, because no person ever sees it.

Can HubSpot send Shopify purchases to Google Ads as offline conversions?

HubSpot can report lifecycle changes to Google Ads as conversions. With a shop, decide first which system reports the purchase, or Google counts it twice. A common split: the Shopify purchase pixel reports the purchase, and HubSpot reports the steps Shopify cannot see, such as a qualified sales opportunity.

How we work

We implement HubSpot for B2B companies and retailers that sell both online and through a sales team. When a shop is part of the setup, the source check is in our test plan: one real order, checked on the contact, the deal and the ads tool. We write down how many orders had a source before we start, so you can see the difference in numbers afterwards.

Your ad spend is in HubSpot but your shop revenue sits under Offline Sources? Book a call and we look at your situation together, with no obligation.

First call

Where does your HubSpot setup get stuck?

We talk for 30 minutes about how your team works today and where the process and the system drift apart. Afterwards you know whether a blueprint is the right next step.