Connecting Saleor to HubSpot
Saleor is headless and GraphQL-first, which means the storefront and the commerce engine are separate applications and the identifier has to survive a boundary that traditional platforms do not have. HubSpot is where sales works, so a conversion that never reaches it is invisible to the people who decide what a lead was worth. The join between them succeeds or fails on one thing: whether the contact identity — email, or the hubspotutk cookie reaches the Saleor order before the conversion happens, because HubSpot can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Saleor to HubSpot: paid orders onto deals for B2B storefronts
HubSpot fits B2B or quote-led Saleor stores. From the paid-order webhook, look up or create the contact by order email, associate the company, and create a closed-won deal at net total or advance the quote deal. Write the browser-only hubspotutk into order metadata at checkout and pass it to HubSpot so original source survives. Reduce deals for refunds.
HubSpot fits Saleor stores that sell B2B or have account managers, such as wholesale portals or configurable products sold on quote, and fits pure DTC far less. The join is the paid-order webhook (check the event names for your Saleor version): look up or create the contact by the order's email, associate it with the company, and either create a deal at closed won with the net total or advance the existing quote deal.
Original source is the hard part in a headless build. HubSpot's tracking code runs in the storefront, not in Saleor's API, so the hubspotutk lives only in the browser. Write it into order metadata at checkout the same way you would a click ID, and pass it when you submit the contact to HubSpot through a route that accepts it, such as the forms submission API. Otherwise every customer the integration creates looks like an offline source.
Saleor supports several channels and currencies; set HubSpot deal amounts in the currency your portal reports in, or use HubSpot's multi-currency setup on purpose. Refunds and cancellations should reduce the deal amount or move it to a lost stage. Check Saleor's app store for an existing HubSpot app before building; its ecosystem is smaller than the big hosted platforms'.
Saleor → HubSpot · what breaks
Why this join usually fails — Saleor → HubSpot
- 01
The contact identity — email, or the hubspotutk cookie never reaches Saleor
The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.
- 02
A storefront that knows the click and an API that holds the money
Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.
- 03
Duplicate contacts
Two records for one person, each with half the history. Every downstream report is then wrong in a way that looks like a data problem rather than an integration problem.
- 04
Nothing reconciles afterwards
HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.
Saleor → HubSpot · the fix
What working looks like — Saleor → HubSpot
The contact identity — email, or the hubspotutk cookie on every order
Conversions arriving in HubSpot
The revenue or conversion lands on the contact record and its associated deal, where sales can see it and where HubSpot's own attribution reporting can use it.
Reconciled against the source
Saleor → HubSpot · architecture
How Saleor and HubSpot actually connect
- 1
Saleor holds the truth
In a headless setup the storefront is one of several possible clients. Attributing from it means measuring one channel of a system designed to have many.
- 2
HubSpot needs a click to match
HubSpot needs to resolve the incoming data to an existing contact or create one. Without an email or a hubspotutk it creates duplicates, and duplicate contacts break every report built on top of them.
- 3
The identifier is the bridge
The contact identity — email, or the hubspotutk cookie, captured at the visit and carried into the Saleor order.
- 4
The event source decides reliability
Send fully paid orders at their net total, sourced from the API.
- 5
Deduplication at the destination
HubSpot deduplicates contacts on email address. Events and property updates against the same contact are idempotent by design, but a second contact created for the same person is not detected, and merging them afterwards is manual work.
Saleor → HubSpot · normal or broken
Working vs. broken, side by side — Saleor → HubSpot
Normal, not a fault
The contact identity — email, or the hubspotutk cookie present on the order
Sent from the Saleor order webhook
Deduplicated correctly
HubSpot deduplicates contacts on email address. Events and property updates against the same contact are idempotent by design, but a second contact created for the same person is not detected, and merging them afterwards is manual work.
Reconciles with the source
Actually broken
The contact identity — email, or the hubspotutk cookie missing on most records
The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.
Sent from the browser
Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.
Counted twice, or not at all
Two records for one person, each with half the history. Every downstream report is then wrong in a way that looks like a data problem rather than an integration problem.
Nobody has reconciled it
Saleor → HubSpot · diagnose
Diagnostic order — Saleor → HubSpot
- 01
Count orders carrying the contact identity — email, or the hubspotutk cookie
- 02
Follow one real conversion end to end
- 03
Inspect order metadata on a live order for the identifier
Either it is on the order or the attribution is guesswork. There is no middle state.
- 04
Search for the test contact by email after sending
One record or two? Then check whether the properties landed on the contact or only on the form submission — they are different things and only the first is usable.
- 05
Read the match rate, not the success message
HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.
Saleor → HubSpot · prove
How it gets proven — Saleor → HubSpot
Source of truth
Saleor orders by payment status, read from the API rather than inferred from the storefront.
- The contact identity — email, or the hubspotutk cookie confirmed present on a live order.
- One contact record confirmed, not two, with the property visible on the contact rather than only on the submission.
- Paid orders reconciled from the API against imported conversions.
Saleor → HubSpot · free audit
What we check in the free audit
- Count orders carrying the contact identity — email, or the hubspotutk cookie
- Follow one real conversion end to end
- Inspect order metadata on a live order for the identifier
- Search for the test contact by email after sending
- Read the match rate, not the success message
Checked against
Saleor orders by payment status, read from the API rather than inferred from the storefront.
Free30 minutesNo obligation
Saleor → HubSpot · when not to buy
When you don't need this — Saleor → HubSpot
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the contact identity — email, or the hubspotutk cookie.
- If you run a single storefront and no other clients, the added complexity of headless attribution buys you nothing over a standard integration.
- HubSpot's native form and tracking code already handle the straightforward cases well. This is worth building when the conversion happens somewhere HubSpot's code cannot see.
Saleor → HubSpot · what we deliver
What gets built — Saleor → HubSpot
Identifier capture into Saleor
Capture in the storefront and write the identifier into order metadata through the API at checkout, so it lives on the order rather than in a session.
Event source: the Saleor order webhook
Send fully paid orders at their net total, sourced from the API.
Dispatch to HubSpot
The HubSpot API — contact create-or-update with the properties, or a custom behavioral event where you need the timeline entry rather than a property.
Reversals where they exist
Refunds and cancellations reverse.
Written guarantee
95%+ tracking accuracy
Measured against Saleor orders by payment status, read from the API rather than inferred from the storefront.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Saleor → HubSpot questions, answered
Check Saleor's app store and community apps. If none fits, Saleor webhooks plus the HubSpot API is a small server job; most of the work is identity and deal mapping.
Store the hubspotutk cookie value in Saleor order metadata at checkout and pass it when submitting the contact. Without it, HubSpot can't connect the order to the visitor's earlier page views.
Almost always because the contact identity — email, or the hubspotutk cookie never reached the Saleor order. The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there. Measure coverage before debugging the dispatch.
HubSpot resolves to a contact by email address, or by the hubspotutk cookie value which ties an anonymous visitor to their eventual contact record. Sending the hubspotutk with a form submission is what lets HubSpot stitch the pre-conversion page views to the contact, which is where the original source attribution comes from.
The Saleor order webhook. Send fully paid orders at their net total, sourced from the API.
HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.
More on Saleor → HubSpot
- Stripe → HubSpotConnecting Stripe to HubSpot
- Shopify → HubSpotConnecting Shopify to HubSpot
- WooCommerce → HubSpotConnecting WooCommerce to HubSpot
RELATED GUIDES
Where Saleor → HubSpot fits in the rest of your tracking
- nopCommerce → HubSpotConnecting nopCommerce to HubSpot
- OpenCart → HubSpotConnecting OpenCart to HubSpot
- Medusa → HubSpotConnecting Medusa to HubSpot
- Saleor → SalesforceConnecting Saleor to Salesforce
- Saleor → 6senseConnecting Saleor to 6sense
- Furniture ecommerceConversion tracking for furniture ecommerce, measured after delivery
- Swell → HubSpotConnecting Swell to HubSpot
- WooCommerce → HubSpotConnecting WooCommerce to HubSpot
Free · 30 min
Get Saleor and HubSpot joined properly
Free30 minutesNo obligation
