Skip to main content
Ecwid → HubSpotIntegration guide

Connecting Ecwid to HubSpot

Ecwid is a store that embeds into someone else's website, which makes it the only ecommerce platform here where the checkout runs inside a widget on a page you do not fully control. 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 Ecwid 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

Ecwid orders into HubSpot as deals tied to the right contact

HubSpot only earns its place when someone works customers after the sale, such as wholesale or B2B buyers. Read hubspotutk on the host page and save it in an Ecwid order extra field. When the webhook reports the order paid, submit the buyer email with that hutk through HubSpot's form submission API, then create a deal for the order total.

HubSpot behind an Ecwid store is worth building when someone works the customer after the sale: wholesale accounts, custom orders, repeat B2B buyers. For a small consumer store it mostly adds contacts nobody reads. Check the Ecwid App Market for a HubSpot connector before building one, and confirm whether it creates deals or only contacts.

The HubSpot tracking code on the host page sees browsing, but the checkout happens inside the Ecwid storefront, so HubSpot never sees the purchase and never learns which visitor became which buyer. Read hubspotutk on the host page and write it into an order extra field alongside any click IDs. When the order webhook reports it paid, submit the buyer email with that hutk through HubSpot's form submission API, then create a deal for the order total in the store's currency.

Check that your portal's deal currency matches Ecwid's, or enable additional currencies, before amounts start arriving. Guest checkout is where duplicates come from: a buyer whose checkout email differs from the email on an earlier newsletter form becomes two contacts. A refund recorded on the Ecwid order should update the deal amount or move it to closed lost, not sit unchanged as booked revenue.

Ecwid → HubSpot · what breaks

Why this join usually fails — Ecwid → HubSpot

  1. 01

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

    The store runs inside an embedded widget, so the host page's scripts and the widget's own context are not the same environment. An identifier captured by the host page does not automatically reach the order, and a purchase inside the widget does not automatically fire the host page's tags.

  2. 02

    A checkout inside somebody else's page

    The host site and the store widget are two contexts. Tags installed on the host page routinely miss purchases entirely, and nobody notices because the site looks like it is working.

  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.

Ecwid → HubSpot · the fix

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

Ecwid → HubSpot · architecture

How Ecwid and HubSpot actually connect

  1. 1

    Ecwid holds the truth

    Ecwid is authoritative for the order. Because it embeds into WordPress, Wix, Squarespace and plain HTML sites alike, the surrounding page's own analytics frequently has no idea a purchase happened.

  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 Ecwid order.

  4. 4

    The event source decides reliability

    Send from your server when Ecwid reports the order paid. The widget's own client-side events depend on the host page still being open and the embed having initialized correctly, neither of which is guaranteed.

  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.

Ecwid → HubSpot · normal or broken

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

Normal, not a fault

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

  • Sent from the Ecwid 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 store runs inside an embedded widget, so the host page's scripts and the widget's own context are not the same environment. An identifier captured by the host page does not automatically reach the order, and a purchase inside the widget does not automatically fire the host page's tags.

  • Sent from the browser

    The host site and the store widget are two contexts. Tags installed on the host page routinely miss purchases entirely, and nobody notices because the site looks like it is working.

  • 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

Ecwid → HubSpot · diagnose

Diagnostic order — Ecwid → 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

    Open a recent Ecwid order and check its extra fields

    If the identifier is not on the order, the host page captured it and never passed it across the embed boundary.

  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.

Ecwid → HubSpot · prove

How it gets proven — Ecwid → HubSpot

Source of truth

Ecwid's order list for the same window, in the store's currency and timezone.

  • 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.
  • A purchase completed through the embedded widget, confirmed to report with the identifier attached.

Ecwid → 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
  • Open a recent Ecwid order and check its extra fields
  • Search for the test contact by email after sending
  • Read the match rate, not the success message

Checked against

Ecwid's order list for the same window, in the store's currency and timezone.

Get my free conversion tracking audit

Free30 minutesNo obligation

Ecwid → HubSpot · when not to buy

When you don't need this — Ecwid → 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 your Ecwid store is a small add-on to a content site with modest volume, the native integrations may be adequate — measure the order volume before commissioning anything.
  • 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.

Ecwid → HubSpot · what we deliver

What gets built — Ecwid → HubSpot

  • Identifier capture into Ecwid

    Capture the click identifier on the host page and pass it into the Ecwid order through its order-extra-fields or the storefront API, so it lands on the order record rather than staying on the page.

  • Event source: the Ecwid order webhook

    Send from your server when Ecwid reports the order paid. The widget's own client-side events depend on the host page still being open and the embed having initialized correctly, neither of which is guaranteed.

  • 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

    Ecwid records refunds and cancellations against the original order, so reversals can be wired properly.

Written guarantee

95%+ tracking accuracy

Measured against Ecwid's order list for the same window, in the store's currency and timezone.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Ecwid → HubSpot questions, answered

No. The HubSpot tracking code sees page views on the host site, but the purchase happens inside the Ecwid storefront. Send paid orders from the Ecwid webhook to HubSpot's API with the buyer's email and hubspotutk.

Free · 30 min

Get Ecwid and HubSpot joined properly

Free30 minutesNo obligation