Skip to main content
LearnDash → BranchIntegration guide

Connecting LearnDash to Branch

LearnDash runs courses inside WordPress, which means enrolment can happen through a purchase, a membership, a manual grant or a coupon — and only one of those is revenue. 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 LearnDash enrolment 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

Branch for LearnDash: deep-link the course, not just the app

Branch fits LearnDash only when courses are also in a mobile app. Build Branch links per course and lesson with the LearnDash course ID in the link data so the deferred deep link opens that course after install, and set the WordPress user ID as the Branch identity at sign-in. Share event IDs between SDK and server events.

Branch is useful to a LearnDash business only if courses are also delivered in a mobile app. Then the problem Branch solves is concrete: a learner taps an ad or email link for a specific course on their phone, installs the app, and should land inside that course rather than on a generic home screen. Branch's deferred deep link carries the course identifier across the install, which is the part a plain App Store link loses.

Build Branch links per course and per lesson, with the LearnDash course ID in the link data, and have the app open that course on first launch. When the learner signs in, set the WordPress user ID as the Branch identity so later events, first lesson completed, course completed, join to the same person. If the course must be bought first, decide whether the purchase happens on the web or in the app, because Branch will attribute the in-app version but not a web checkout that happens between install and first open.

The common double count is a course start fired by the app SDK and also posted by your server from a LearnDash hook, without a shared event identifier. Branch forwards events to ad partners, so the duplicate travels. If your LearnDash learners never use an app, Branch has no seam to bridge.

LearnDash → Branch · what breaks

Why this join usually fails — LearnDash → Branch

  1. 01

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

    Checkout runs through whichever WooCommerce or membership plugin is attached, so the identifier has to survive an extra handoff.

  2. 02

    Granted access counted as sales

    An admin enrolling a cohort, a membership granting bundled access and a coupon at one hundred percent all produce enrolment records identical to a paid one. Counting them inflates revenue by whatever your free access volume is.

  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.

LearnDash → Branch · the fix

What working looks like — LearnDash → Branch

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

  • 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

LearnDash → Branch · architecture

How LearnDash and Branch actually connect

  1. 1

    LearnDash holds the truth

    LearnDash enrols users from several sources. Course access granted by a membership plugin or by an admin is not a sale and must not be counted as one.

  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 LearnDash enrolment.

  4. 4

    The event source decides reliability

    Send paid enrolments at the amount charged. Free and granted enrolments carry no value.

  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.

LearnDash → Branch · normal or broken

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

Normal, not a fault

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

  • Sent from the payment record joined to the enrolment

  • 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

    Checkout runs through whichever WooCommerce or membership plugin is attached, so the identifier has to survive an extra handoff.

  • Sent from the browser

    An admin enrolling a cohort, a membership granting bundled access and a coupon at one hundred percent all produce enrolment records identical to a paid one. Counting them inflates revenue by whatever your free access volume is.

  • 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

LearnDash → Branch · diagnose

Diagnostic order — LearnDash → Branch

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Split enrolments by how access was granted

    One field, and on established course sites the free share is usually larger than expected.

  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.

LearnDash → Branch · prove

How it gets proven — LearnDash → Branch

Source of truth

Paid enrolments from your payment system, held apart from free and granted access.

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live enrolment.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Paid enrolments reconciled at charged amounts against imported conversions.

LearnDash → Branch · free audit

What we check in the free audit

  • Count enrolments carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Split enrolments by how access was granted
  • Measure your organic install share and ask whether it is plausible
  • Read the match rate, not the success message

Checked against

Paid enrolments from your payment system, held apart from free and granted access.

Get my free conversion tracking audit

Free30 minutesNo obligation

LearnDash → Branch · when not to buy

When you don't need this — LearnDash → Branch

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the Branch link click identifier and the deferred deep link payload.
  • If every enrolment is a direct purchase, one conversion action is correct and simpler.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

LearnDash → Branch · what we deliver

What gets built — LearnDash → Branch

  • Identifier capture into LearnDash

    Capture on landing and pass through the purchase flow to the enrolment record.

  • Event source: the payment record joined to the enrolment

    Send paid enrolments at the amount charged. Free and granted enrolments carry no value.

  • 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

    Refunds reverse and should revoke access.

Written guarantee

95%+ tracking accuracy

Measured against Paid enrolments from your payment system, held apart from free and granted access.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LearnDash → Branch questions, answered

Yes, if your app reads the course identifier from Branch's deferred deep link data on first open and routes to that course. The app has to implement the routing; Branch only delivers the data.

Free · 30 min

Get LearnDash and Branch joined properly

Free30 minutesNo obligation