Skip to main content
CJ → BranchIntegration guide

Connecting CJ Affiliate to Branch

CJ operates at enterprise scale with sophisticated commissioning rules, which means the same publisher can be paid differently by product, by customer status or by placement — and getting those inputs wrong pays real money incorrectly. 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 CJ transaction 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

CJ Affiliate publishers and the Branch smart banner

When a mobile session holds a cjevent, pass that publisher context into the Branch link data for the smart banner or any web-to-app link. The deferred deep link carries it into the app, your backend stores it on the order, and the app purchase is reported to CJ Affiliate like a web order, with customer status from your order system.

The usual way a CJ publisher loses a sale through Branch is the smart banner on your mobile site. A shopper clicks a publisher link, lands on the mobile web with cjevent in the URL, taps the Open in app banner and completes the purchase in the app. The cjevent sits in a mobile browser cookie the app cannot read, so the order looks organic and the publisher goes unpaid, often without anyone on your side noticing.

The fix is to pass the publisher context into the Branch link data when the banner or any web-to-app link is created from a session that holds a cjevent. The deferred deep link payload then carries it into the app, your backend stores it on the order, and the app purchase is reported to CJ the same way web orders are. Check whether a CJ partner integration exists in your Branch dashboard; if not, store the value yourself and report the order from your server.

Two constraints apply. On iOS the deferred deep link match is probabilistic, so a share of app orders will lose the publisher context even with everything wired, and your CJ terms should say how those orders are handled. And the commissioning inputs still come from your order system: Branch knows about first opens, not first purchases, so it cannot tell CJ whether the customer is new.

CJ → Branch · what breaks

Why this join usually fails — CJ → Branch

  1. 01

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

    The publisher click identifier must survive to checkout, and enterprise stores frequently have several checkout paths.

  2. 02

    Commissioning rules fed the wrong inputs

    A new-customer rate applied to returning customers because the status flag was never wired is a direct overpayment on every affected order, compounding quietly until somebody audits the programme.

  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.

CJ → Branch · the fix

What working looks like — CJ → Branch

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

  • 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

    CJ Affiliate's own records are the reference, not either dashboard.

CJ → Branch · architecture

How CJ and Branch actually connect

  1. 1

    CJ Affiliate holds the truth

    Rules commonly commission new customers differently from returning ones. If your order does not carry customer status correctly, publishers are paid the wrong rate systematically and neither side notices for months.

  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 CJ transaction.

  4. 4

    The event source decides reliability

    Send orders net of commission, carrying the fields the commissioning rules depend on.

  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.

CJ → Branch · normal or broken

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

Normal, not a fault

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

    Visible on the record itself in CJ Affiliate, not merely captured somewhere on the site.

  • Sent from your order record with CJ attribution

  • 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

    Branch's count and CJ Affiliate's records agree within a few percent over a closed window.

Actually broken

  • The Branch link click identifier and the deferred deep link payload missing on most records

    The publisher click identifier must survive to checkout, and enterprise stores frequently have several checkout paths.

  • Sent from the browser

    A new-customer rate applied to returning customers because the status flag was never wired is a direct overpayment on every affected order, compounding quietly until somebody audits the programme.

  • 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

    The dashboard shows a number and no one has compared it to CJ Affiliate.

CJ → Branch · diagnose

Diagnostic order — CJ → Branch

  1. 01

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

  2. 02

    Follow one real conversion end to end

    From the ad click through CJ and into Branch.

  3. 03

    Verify that new-versus-returning status reaches CJ correctly

    Sample recent transactions and compare against your own customer records. Mismatches are money.

  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.

CJ → Branch · prove

How it gets proven — CJ → Branch

Against CJ Affiliate's own records, not against either platform's dashboard.

Source of truth

Orders flagged by publisher, with the commissioning inputs recorded on the order.

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live conversion.
  • A real conversion followed from click through CJ to Branch.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Transactions reconciled per order with commissioning inputs verified against your own customer data.

CJ → Branch · free audit

What we check in the free audit

  • Count conversions carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Verify that new-versus-returning status reaches CJ correctly
  • Measure your organic install share and ask whether it is plausible
  • Read the match rate, not the success message

Checked against

Orders flagged by publisher, with the commissioning inputs recorded on the order.

Get my free conversion tracking audit

Free30 minutesNo obligation

CJ → Branch · when not to buy

When you don't need this — CJ → Branch

  • If Branch already reports conversions that reconcile against CJ Affiliate's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the Branch link click identifier and the deferred deep link payload.
  • Simple flat-rate programmes have no commissioning inputs to get wrong.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

CJ → Branch · what we deliver

What gets built — CJ → Branch

  • Identifier capture into CJ

    Capture the identifier and the customer status on the order, and verify both across every checkout path you operate.

  • Event source: your order record with CJ attribution

    Send orders net of commission, carrying the fields the commissioning rules depend on.

  • 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 reverse the commission.

Written guarantee

95%+ tracking accuracy

Measured against Orders flagged by publisher, with the commissioning inputs recorded on the order.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CJ → Branch questions, answered

Because the cjevent lives in the mobile browser, and the app never sees it. Pass it into the Branch link data so it survives the jump into the app.

Free · 30 min

Get CJ and Branch joined properly

Free30 minutesNo obligation