Skip to main content
Umbraco → HubSpotIntegration guide

Connecting Umbraco to HubSpot

Umbraco is a .NET CMS common in mid-market and enterprise European organisations, which means IT governance is usually the binding constraint rather than technology. 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 Umbraco Commerce 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

Umbraco to HubSpot: Forms integration plus Commerce orders

Post Umbraco Forms submissions to HubSpot forms, where an Umbraco integration supports your version, so the hubspotutk records original source. Send Umbraco Commerce orders from the order-finalized handler: upsert the contact by email, create a closed-won deal with total and currency, and store the deal ID on the order for refunds. Keep the token in environment configuration.

Umbraco publishes a HubSpot integration for Umbraco Forms that posts submissions to HubSpot forms; check it supports your Umbraco version before planning around it. Posting through HubSpot's forms route matters because it carries the hubspotutk, which is how original source gets recorded on the contact.

Umbraco Commerce orders are a separate job. Send them from the order-finalized notification handler in the application to HubSpot's API: create or update the contact by email, then create a deal with the order total and currency at a closed-won stage. Write the HubSpot deal ID back into the order's properties, so a later refund or cancellation updates that same deal instead of searching for it.

Two traps specific to Umbraco. HubSpot's tracking script is static and safe on CDN-cached pages, but any server-rendered personalization using HubSpot data will be cached and shown to everyone. And get the whole integration through change control in one release, with the HubSpot private app token stored in environment configuration rather than an appsettings file committed to source control, so rotating it later doesn't need another release.

Umbraco → HubSpot · what breaks

Why this join usually fails — Umbraco → HubSpot

  1. 01

    The contact identity — email, or the hubspotutk cookie never reaches Umbraco

    Output caching and CDN layers sit in front of most Umbraco deployments, and the deployment process itself frequently prevents quick iteration, which means getting the capture right the first time matters more here.

  2. 02

    Change control, not technology

    The build is straightforward and the release cycle is not. Scope the deployment process before committing to a timeline, because in this segment it is the schedule.

  3. 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.

  4. 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.

Umbraco → HubSpot · the fix

What working looks like — Umbraco → 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

Umbraco → HubSpot · architecture

How Umbraco and HubSpot actually connect

  1. 1

    Umbraco holds the truth

    You own the database. What you may not own is the release process — Umbraco sites in this segment often sit behind change control that adds weeks to any modification.

  2. 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. 3

    The identifier is the bridge

    The contact identity — email, or the hubspotutk cookie, captured at the visit and carried into the Umbraco Commerce order.

  4. 4

    The event source decides reliability

    Fire from the .NET notification handler rather than a view, which may be cached at the edge.

  5. 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.

Umbraco → HubSpot · normal or broken

Working vs. broken, side by side — Umbraco → HubSpot

Normal, not a fault

  • The contact identity — email, or the hubspotutk cookie present on the order

  • Sent from the Umbraco Commerce order-finalised notification

  • 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

    Output caching and CDN layers sit in front of most Umbraco deployments, and the deployment process itself frequently prevents quick iteration, which means getting the capture right the first time matters more here.

  • Sent from the browser

    The build is straightforward and the release cycle is not. Scope the deployment process before committing to a timeline, because in this segment it is the schedule.

  • 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

Umbraco → HubSpot · diagnose

Diagnostic order — Umbraco → HubSpot

  1. 01

    Count orders carrying the contact identity — email, or the hubspotutk cookie

  2. 02

    Follow one real conversion end to end

  3. 03

    Establish the deployment and change-control process first

    It determines the timeline more than any technical question here.

  4. 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.

  5. 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.

Umbraco → HubSpot · prove

How it gets proven — Umbraco → HubSpot

Source of truth

Umbraco Commerce's order records in your own database, at agreed order states.

  • 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.
  • Order data confirmed populated on an order placed through the CDN as an anonymous visitor.

Umbraco → 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
  • Establish the deployment and change-control process first
  • Search for the test contact by email after sending
  • Read the match rate, not the success message

Checked against

Umbraco Commerce's order records in your own database, at agreed order states.

Get my free conversion tracking audit

Free30 minutesNo obligation

Umbraco → HubSpot · when not to buy

When you don't need this — Umbraco → 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 the site is maintained by an internal IT team on a quarterly release cycle, plan the engagement around that rather than around the code.
  • 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.

Umbraco → HubSpot · what we deliver

What gets built — Umbraco → HubSpot

  • Identifier capture into Umbraco

    Capture the identifier and persist it to the order through a server-side notification handler in the application.

  • Event source: the Umbraco Commerce order-finalised notification

    Fire from the .NET notification handler rather than a view, which may be cached at the edge.

  • 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

    Order state changes to refunded or cancelled are recorded.

Written guarantee

95%+ tracking accuracy

Measured against Umbraco Commerce's order records in your own database, at agreed order states.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Umbraco → HubSpot questions, answered

Umbraco offers a HubSpot integration for Umbraco Forms; check version compatibility. Umbraco Commerce orders need custom code to reach HubSpot deals.

Free · 30 min

Get Umbraco and HubSpot joined properly

Free30 minutesNo obligation