Skip to main content
PrestaShop → HubSpotIntegration guide

Connecting PrestaShop to HubSpot

PrestaShop is self-hosted open source with a large module ecosystem, which means the store's behaviour depends heavily on which modules are installed. 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 PrestaShop 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

PrestaShop orders into HubSpot deals at the right order state

For PrestaShop stores with trade accounts, match the customer to a contact on email and create a deal on the status change to your paid state, not at validation, since bank-wire orders validate unpaid. Write hubspotutk to the customer through a hook, and reduce deals for credit slips.

HubSpot is worth connecting to PrestaShop when the store has a sales side: trade accounts, quotes, reorders managed by a rep. The PrestaShop customer becomes the contact on email, and the order becomes a deal or a revenue property, but only once it reaches a paid state. PrestaShop's default flow puts bank-wire and check orders into an awaiting-payment state at validation, so syncing at validation creates closed deals for orders that may never be paid.

Fire on the order status change to your paid state, Payment accepted or your own equivalent, rather than on validation. Write hubspotutk to the customer record through a hook when the account is created or the first order is placed, with HubSpot's tracking code running on the shop. If a full-page cache module serves landing pages, check that the tracking code still runs on cached pages, or the cookie is never set for first visits.

Check PrestaShop Addons for a HubSpot module and read what it actually syncs; several exist, from different developers, and they differ on whether they create deals, update contacts, or both. On a multi-store install, add the shop as a property on the deal so revenue can be split by store. Credit slips should reduce the deal amount, not open a new deal.

PrestaShop → HubSpot · what breaks

Why this join usually fails — PrestaShop → HubSpot

  1. 01

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

    Module conflicts and caching both interfere with anything running in the page, and multi-store installations complicate which store an order belongs to.

  2. 02

    Module ecosystem interference

    PrestaShop stores accumulate modules, and any of them can alter checkout behaviour or strip what your code depends on. Failures appear after an unrelated update.

  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.

PrestaShop → HubSpot · the fix

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

PrestaShop → HubSpot · architecture

How PrestaShop and HubSpot actually connect

  1. 1

    PrestaShop holds the truth

    You own the data and can query it directly. Pin down which order states count as revenue, since PrestaShop's state machine is more granular than most.

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

  4. 4

    The event source decides reliability

    Fire server-side from the hook rather than the confirmation template.

  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.

PrestaShop → HubSpot · normal or broken

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

Normal, not a fault

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

  • Sent from the PrestaShop order validation hook

  • 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

    Module conflicts and caching both interfere with anything running in the page, and multi-store installations complicate which store an order belongs to.

  • Sent from the browser

    PrestaShop stores accumulate modules, and any of them can alter checkout behaviour or strip what your code depends on. Failures appear after an unrelated update.

  • 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

PrestaShop → HubSpot · diagnose

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

    Check order metadata on ten recent orders

    Partial coverage across orders points at a module conflict rather than a missing implementation.

  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.

PrestaShop → HubSpot · prove

How it gets proven — PrestaShop → HubSpot

Source of truth

PrestaShop's order records in your own database, for the same window and order state set.

  • 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 metadata confirmed present across ten consecutive orders rather than one.

PrestaShop → 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
  • Check order metadata on ten recent orders
  • Search for the test contact by email after sending
  • Read the match rate, not the success message

Checked against

PrestaShop's order records in your own database, for the same window and order state set.

Get my free conversion tracking audit

Free30 minutesNo obligation

PrestaShop → HubSpot · when not to buy

When you don't need this — PrestaShop → 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 PrestaShop install is heavily moduled and maintained by another party, scope their involvement before starting.
  • 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.

PrestaShop → HubSpot · what we deliver

What gets built — PrestaShop → HubSpot

  • Identifier capture into PrestaShop

    Capture the identifier and write it to order metadata through a hook, server-side, so it does not depend on page execution.

  • Event source: the PrestaShop order validation hook

    Fire server-side from the hook rather than the confirmation template.

  • 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

    Credit slips are recorded against the order.

Written guarantee

95%+ tracking accuracy

Measured against PrestaShop's order records in your own database, for the same window and order state set.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

PrestaShop → HubSpot questions, answered

Your paid state, typically Payment accepted, not order validation. Bank-wire and check orders validate before money arrives.

Free · 30 min

Get PrestaShop and HubSpot joined properly

Free30 minutesNo obligation