Skip to main content
OpenCart → BranchIntegration guide

Connecting OpenCart to Branch

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. Branch's real job is the web-to-app seam — a person clicks a link in a browser, installs the app, and something has to carry the context across an install that destroys every cookie involved. The join between them succeeds or fails on one thing: whether the Branch link click identifier and the deferred deep link payload reaches the OpenCart order before the conversion happens, because Branch can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

OpenCart and Branch: deep links that survive SEO URL changes

Build Branch links with the OpenCart product_id in link data and the canonical web URL as fallback, since SEO keyword URLs break when renamed; treat category and manufacturer IDs the same way. Post app users' purchases server-to-server when OpenCart orders reach a paid status, sharing an event identifier with any SDK purchase. Stores without apps skip Branch.

Branch earns its place for an OpenCart business that has an app, by carrying a shopper from a web product link to the same product in the app. The problem specific to OpenCart is the link format: a product can be reached through an SEO keyword URL or through the route parameter with a product_id, and the app needs the product_id. If Branch links are built from SEO URLs, the app has to resolve the keyword back to an ID, and a renamed keyword quietly breaks every old link.

Build Branch links with the product_id in the link data and the canonical web URL as the fallback, so a shopper without the app still lands on the right OpenCart page. Category and manufacturer pages need the same treatment with their own IDs, and campaign data should travel in Branch's link fields, not in appended query strings an SEO extension may strip or redirect away.

Purchases by app users should come from OpenCart when the order enters a paid status, posted to Branch's server-to-server events with the identity you set in the app and a shared event identifier if the app SDK logs the purchase too. Web orders from shoppers who never installed belong in your web tracking, not in Branch. For a store without an app, Branch has no job to do.

OpenCart → Branch · what breaks

Why this join usually fails — OpenCart → Branch

  1. 01

    The Branch link click identifier and the deferred deep link payload 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

    The install that erases the campaign

    Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.

  4. 04

    Nothing reconciles afterwards

    Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.

OpenCart → Branch · the fix

What working looks like — OpenCart → Branch

  • The Branch link click identifier and the deferred deep link payload on every order

  • Conversions arriving in Branch

    The event is attributed to the originating link and campaign, and forwarded to any configured downstream partners.

  • Reconciled against the source

OpenCart → Branch · architecture

How OpenCart and Branch 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

    Branch needs a click to match

    Branch needs the link click context matched to the app open, plus the event and its revenue. Without the deferred deep link payload there is nothing to join the install to.

  3. 3

    The identifier is the bridge

    The Branch link click identifier and the deferred deep link payload, 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

    Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.

OpenCart → Branch · normal or broken

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

Normal, not a fault

  • The Branch link click identifier and the deferred deep link payload present on the order

  • Sent from the OpenCart order record

  • Deduplicated correctly

    Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.

  • Reconciles with the source

Actually broken

  • The Branch link click identifier and the deferred deep link payload 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

    Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.

  • Nobody has reconciled it

OpenCart → Branch · diagnose

Diagnostic order — OpenCart → Branch

  1. 01

    Count orders carrying the Branch link click identifier and the deferred deep link payload

  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

    Measure your organic install share and ask whether it is plausible

    An implausibly large organic share is usually broken attribution rather than genuine word of mouth.

  5. 05

    Read the match rate, not the success message

    Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.

OpenCart → Branch · prove

How it gets proven — OpenCart → Branch

Source of truth

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

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live order.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Orders in paid statuses reconciled against the payment gateway's settled total for a closed week.

OpenCart → Branch · free audit

What we check in the free audit

  • Count orders carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • List the order statuses in use and agree which mean money received
  • Measure your organic install share and ask whether it is plausible
  • 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 → Branch · when not to buy

When you don't need this — OpenCart → Branch

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Branch link click identifier and the deferred deep link payload.
  • If the store runs an unmaintained checkout extension, fixing or replacing that comes before any tracking work.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

OpenCart → Branch · what we deliver

What gets built — OpenCart → Branch

  • 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 Branch

    The Branch server-to-server events API, posted from your backend with the user identity and event data.

  • 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 → Branch questions, answered

Put the OpenCart product_id in the Branch link data and use the product's web URL as the fallback, so app and browser both land on the right product.

Free · 30 min

Get OpenCart and Branch joined properly

Free30 minutesNo obligation