Skip to main content
PrestaShop → BranchIntegration guide

Connecting PrestaShop to Branch

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

PrestaShop and Branch: deep links into a store app

Branch only matters for a PrestaShop store with an app. Map PrestaShop product IDs to app screens, or links open the home screen, and use Branch links in order confirmation and shipping emails. Report app orders placed through the webservice API server-side with an event identifier shared with the SDK. Web orders go to ad platforms directly, not to Branch.

Branch earns its place on a PrestaShop store only if there is an app and you want ads, emails or the mobile site to open it on the right product. PrestaShop product URLs carry the product ID and a rewritten slug, and the app needs its own mapping from those to screens. Without that mapping, Branch links open the app's home screen, and the only thing that survives the click is the campaign context, which is half the value gone.

PrestaShop's order confirmation and shipping emails are the obvious place for Branch links, sending app users to their order instead of a mobile web login page. For attribution, orders placed in the app through the webservice API should carry the Branch identity and be reported server-side with an event identifier shared with the SDK, so one app purchase is not counted once by the SDK and again by the server, then forwarded twice to every downstream partner.

Web orders do not belong here. A shopper who clicked a Branch link, chose not to install and bought on the PrestaShop website is a web conversion, and it should go to your ad platforms directly. If the store has no app, there is no install seam for Branch to bridge and nothing on this page applies.

PrestaShop → Branch · what breaks

Why this join usually fails — PrestaShop → Branch

  1. 01

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

    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.

PrestaShop → Branch · the fix

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

PrestaShop → Branch · architecture

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

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

    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.

PrestaShop → Branch · normal or broken

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

Normal, not a fault

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

  • Sent from the PrestaShop order validation hook

  • 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

    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

    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

PrestaShop → Branch · diagnose

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

    Check order metadata on ten recent orders

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

  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.

PrestaShop → Branch · prove

How it gets proven — PrestaShop → Branch

Source of truth

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

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

PrestaShop → 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
  • Check order metadata on ten recent orders
  • Measure your organic install share and ask whether it is plausible
  • 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 → Branch · when not to buy

When you don't need this — PrestaShop → 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 your PrestaShop install is heavily moduled and maintained by another party, scope their involvement before starting.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

PrestaShop → Branch · what we deliver

What gets built — PrestaShop → Branch

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

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

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

Yes, with the web URL as the fallback. The app needs its own routing from PrestaShop product IDs to screens for the deep link to land on the product.

Free · 30 min

Get PrestaShop and Branch joined properly

Free30 minutesNo obligation