Skip to main content
MemberPress → BranchIntegration guide

Connecting MemberPress to Branch

MemberPress runs memberships inside WordPress, which means you own the database and inherit every WordPress problem alongside it. 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 MemberPress subscription 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

MemberPress to Branch: one member ID across web and app

Use the WordPress user ID MemberPress creates as the Branch developer identity in the app and on server events posted from the MemberPress hook. Put a Branch link on the thank-you page or welcome email so the install opens straight to purchased content. Send purchases only from the hook, with a transaction-ID event identifier.

Branch helps a MemberPress business when the membership is delivered in an app and acquired through the web. A paid ad sends someone to a landing page, they join on the WordPress site, then install the app to use what they bought. The useful link is the WordPress user ID: MemberPress creates that user at signup, the app should set it as the Branch developer identity on login, and the server events you post from the MemberPress hook should carry the same ID.

With one identity on both sides, Branch can connect the web purchase and the later app activity to the link that started it. Put a Branch link on the MemberPress thank-you page or welcome email so the install that follows carries the deferred deep link context, and route the member straight to the content they paid for on first open, rather than a generic login screen.

Duplicate purchases are the risk on the other side. If the app also logs a purchase event when it sees a newly active membership, Branch receives two and forwards both to downstream partners. Pick one source, the MemberPress hook, and give the event an identifier from the transaction ID. Web-only members with no app install need no Branch event at all.

MemberPress → Branch · what breaks

Why this join usually fails — MemberPress → Branch

  1. 01

    The Branch link click identifier and the deferred deep link payload never reaches MemberPress

    Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page.

  2. 02

    Caching between the visitor and your code

    The same problem that breaks WooCommerce tracking. A cached page never runs your capture logic, and the failure is invisible because the site still works.

  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.

MemberPress → Branch · the fix

What working looks like — MemberPress → Branch

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

  • 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

MemberPress → Branch · architecture

How MemberPress and Branch actually connect

  1. 1

    MemberPress holds the truth

    Owning the database is the advantage — you can query it directly and reconcile without depending on anyone. The disadvantage is that caching, plugin conflicts and optimisation tools sit between your visitor and your code.

  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 MemberPress subscription.

  4. 4

    The event source decides reliability

    Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.

  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.

MemberPress → Branch · normal or broken

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

Normal, not a fault

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

  • Sent from the MemberPress transaction-completed 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

    Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page.

  • Sent from the browser

    The same problem that breaks WooCommerce tracking. A cached page never runs your capture logic, and the failure is invisible because the site still works.

  • 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

MemberPress → Branch · diagnose

Diagnostic order — MemberPress → Branch

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Submit a test signup through a fully cached page

    Not as a logged-in admin, which bypasses the cache. If the metadata is empty on the cached path, caching is your cause.

  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.

MemberPress → Branch · prove

How it gets proven — MemberPress → Branch

Source of truth

MemberPress transactions and subscriptions in your own WordPress database, for the same window.

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live membership.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Subscription metadata confirmed populated on a signup made as an anonymous visitor through cache.

MemberPress → Branch · free audit

What we check in the free audit

  • Count memberships carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Submit a test signup through a fully cached page
  • Measure your organic install share and ask whether it is plausible
  • Read the match rate, not the success message

Checked against

MemberPress transactions and subscriptions in your own WordPress database, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

MemberPress → Branch · when not to buy

When you don't need this — MemberPress → Branch

  • Measure identifier coverage yourself first — pull your last hundred memberships and count how many carry the Branch link click identifier and the deferred deep link payload.
  • If you run no caching layer and a single membership tier, a developer can wire this in an afternoon.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

MemberPress → Branch · what we deliver

What gets built — MemberPress → Branch

  • Identifier capture into MemberPress

    Capture the identifier and write it to subscription metadata through a MemberPress or WordPress hook, so it lives in your database rather than in a page that might be cached.

  • Event source: the MemberPress transaction-completed hook

    Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.

  • 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

    Cancellations and refunds are recorded against the subscription and should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against MemberPress transactions and subscriptions in your own WordPress database, for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

MemberPress → Branch questions, answered

The WordPress user ID that MemberPress creates at signup, set as the developer identity in the app and sent on server events.

Free · 30 min

Get MemberPress and Branch joined properly

Free30 minutesNo obligation