Skip to main content
OpenCart → BrazeIntegration guide

Connecting OpenCart to Braze

OpenCart is self-hosted and extension-driven, which means the checkout you are measuring is frequently not the one the project ships — someone replaced it with a plugin years ago. Braze is mobile-first lifecycle messaging, which means it resolves to a user rather than to a click and its most valuable channels — push and in-app — exist nowhere near a browser. The join between them succeeds or fails on one thing: whether the Braze external user ID reaches the OpenCart order before the conversion happens, because Braze can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

OpenCart and Braze: guest checkouts and per-product purchases

Use OpenCart customer_id as the Braze external_id, never zero for guests; give guests an email-based user alias merged on registration or keep them outside Braze. When order history reaches a paid status, send one Braze purchase per order line with product ID, price, order currency and order_id in properties. Pick one sender if an app SDK also logs purchases.

Braze needs an external_id, and the natural choice is OpenCart's customer_id. The gap is guest checkout: guest orders carry a customer_id of zero and only an email, so a large share of orders may have no external ID at all. Either create Braze profiles for guests under a user alias based on email and merge them when the person registers, or decide that guests get only transactional email outside Braze. Never send zero as an external ID, or every guest becomes one user.

Braze records purchases per product rather than per order, each with a product ID, price and currency. Send one purchase per order line from the order's products, with the line price in the order's currency, and keep the order_id in the purchase properties so you can reconcile the total. A single purchase for the whole order throws away the product-level segmentation Braze purchase data exists for.

Fire from the order history update when the order enters a paid status, never from checkout confirm: OpenCart creates the order before payment, and an abandoned payment would otherwise start a post-purchase campaign for someone who never paid. If a Braze SDK in an app also logs purchases, pick one sender, or the customer gets two order notifications on their lock screen.

OpenCart → Braze · what breaks

Why this join usually fails — OpenCart → Braze

  1. 01

    The Braze external user ID never reaches OpenCart

    Third-party checkout and payment extensions bypass the core order flow, so the identifier can be dropped inside a plugin nobody has read.

  2. 02

    Order status meaning something different in every store

    There is no standard. A pipeline built on the assumption that "Complete" means paid will silently over- or under-count depending on how that particular shop was configured five years ago.

  3. 03

    Duplicate events sending duplicate push notifications

    A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.

  4. 04

    Nothing reconciles afterwards

    Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.

OpenCart → Braze · the fix

What working looks like — OpenCart → Braze

  • The Braze external user ID on every order

  • Conversions arriving in Braze

    The event lands on the user profile, triggers whatever campaigns depend on it, and becomes available for segmentation across push, email and in-app.

  • Reconciled against the source

OpenCart → Braze · architecture

How OpenCart and Braze actually connect

  1. 1

    OpenCart holds the truth

    Order status is configurable per store. "Complete" can mean paid, shipped or manually closed depending on how the shop was set up, and nobody documents which.

  2. 2

    Braze needs a click to match

    Braze needs the external user ID and a well-named event with its properties. An event with no external ID lands on an anonymous device profile that may never merge with the real user.

  3. 3

    The identifier is the bridge

    The Braze external user ID, captured at the visit and carried into the OpenCart order.

  4. 4

    The event source decides reliability

    Send orders whose status is in the agreed paid list, at the order total excluding shipping and tax.

  5. 5

    Deduplication at the destination

    Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.

OpenCart → Braze · normal or broken

Working vs. broken, side by side — OpenCart → Braze

Normal, not a fault

  • The Braze external user ID present on the order

  • Sent from the OpenCart order record

  • Deduplicated correctly

    Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.

  • Reconciles with the source

Actually broken

  • The Braze external user ID missing on most records

    Third-party checkout and payment extensions bypass the core order flow, so the identifier can be dropped inside a plugin nobody has read.

  • Sent from the browser

    There is no standard. A pipeline built on the assumption that "Complete" means paid will silently over- or under-count depending on how that particular shop was configured five years ago.

  • Counted twice, or not at all

    A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.

  • Nobody has reconciled it

OpenCart → Braze · diagnose

Diagnostic order — OpenCart → Braze

  1. 01

    Count orders carrying the Braze external user ID

  2. 02

    Follow one real conversion end to end

  3. 03

    List the order statuses in use and agree which mean money received

    Ten minutes with the shop owner, and it is the single thing that decides whether the numbers mean anything.

  4. 04

    Send a test purchase and read the user profile's event stream

    One event or two? Check whether the SDK is already sending the same event before adding a server source, and check that the external ID matches the signed-in user rather than creating a new profile.

  5. 05

    Read the match rate, not the success message

    Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.

OpenCart → Braze · prove

How it gets proven — OpenCart → Braze

Source of truth

OpenCart orders by order status, with the statuses that mean paid agreed explicitly.

  • The Braze external user ID confirmed present on a live order.
  • The user profile confirmed to show one event per conversion, with device and user profiles correctly merged.
  • Orders in paid statuses reconciled against the payment gateway's settled total for a closed week.

OpenCart → Braze · free audit

What we check in the free audit

  • Count orders carrying the Braze external user ID
  • Follow one real conversion end to end
  • List the order statuses in use and agree which mean money received
  • Send a test purchase and read the user profile's event stream
  • Read the match rate, not the success message

Checked against

OpenCart orders by order status, with the statuses that mean paid agreed explicitly.

Get my free conversion tracking audit

Free30 minutesNo obligation

OpenCart → Braze · when not to buy

When you don't need this — OpenCart → Braze

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Braze external user ID.
  • If the store runs an unmaintained checkout extension, fixing or replacing that comes before any tracking work.
  • If you have no mobile app and no push channel, Braze is a large piece of infrastructure for a job an email platform already does.

OpenCart → Braze · what we deliver

What gets built — OpenCart → Braze

  • Identifier capture into OpenCart

    Capture on landing into your own storage and write to the order table directly, not through a checkout extension you do not control.

  • Event source: the OpenCart order record

    Send orders whose status is in the agreed paid list, at the order total excluding shipping and tax.

  • Dispatch to Braze

    The Braze user track endpoint, posted server-side from your order or billing system with the external user ID and event properties.

  • Reversals where they exist

    Refunded and cancelled statuses reverse.

Written guarantee

95%+ tracking accuracy

Measured against OpenCart orders by order status, with the statuses that mean paid agreed explicitly.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

OpenCart → Braze questions, answered

The OpenCart customer_id for registered customers. Guests have no customer_id, so handle them with an email-based alias or exclude them deliberately.

Free · 30 min

Get OpenCart and Braze joined properly

Free30 minutesNo obligation