Skip to main content
CJ → BrazeIntegration guide

Connecting CJ Affiliate to Braze

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. Braze is mobile-first lifecycle messaging, which means it resolves to a user rather than to a click and its most valuable channels — push and in-app — exist nowhere near a browser. The join between them succeeds or fails on one thing: whether the Braze external user ID reaches the CJ transaction before the conversion happens, because Braze can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Publisher-level retention for CJ customers in Braze

Don't post CJ Affiliate conversions into Braze as events. Instead, at the first commissioned order, write two custom attributes to the user on your external_id: CJ publisher ID and publisher type. Write them once and never overwrite them, then segment repeat purchase rate by publisher to judge which publishers bring customers back.

Braze is not a conversion destination for CJ, and nothing CJ commissions should be posted into it as an event. What Braze can do for a CJ programme is answer the question the CJ dashboard cannot: which publishers bring customers who come back. CJ pays at the first order and stops looking. Braze sees the next six months of opens, app sessions and repeat purchases on the same person.

The join is two custom attributes written to the user at the first commissioned order, keyed on your external_id: the CJ publisher ID and the publisher type (coupon, cashback, content, loyalty). Write them once and never overwrite them, because later orders through other channels would erase the acquisition source. Then segment repeat purchase rate and push opt-in by publisher. Coupon and cashback publishers often bring customers who only buy again with another code, and that is the evidence you need to move those publishers to a lower rate in your CJ commissioning rules.

Watch identity. A guest checkout through a CJ link creates an order with an email but no logged-in user, and if Braze's external_id is only assigned at app sign-up, the attribute never lands on the right profile. Write it when the order's email is first matched to an external_id, not only at the moment of purchase.

CJ → Braze · what breaks

Why this join usually fails — CJ → Braze

  1. 01

    The Braze external user ID 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

    Duplicate events sending duplicate push notifications

    A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.

  4. 04

    Nothing reconciles afterwards

    Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.

CJ → Braze · the fix

What working looks like — CJ → Braze

  • The Braze external user ID on every conversion

  • Conversions arriving in Braze

    The event lands on the user profile, triggers whatever campaigns depend on it, and becomes available for segmentation across push, email and in-app.

  • Reconciled against the source

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

CJ → Braze · architecture

How CJ and Braze 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

    Braze needs a click to match

    Braze needs the external user ID and a well-named event with its properties. An event with no external ID lands on an anonymous device profile that may never merge with the real user.

  3. 3

    The identifier is the bridge

    The Braze external user ID, 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

    Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.

CJ → Braze · normal or broken

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

Normal, not a fault

  • The Braze external user ID 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

    Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.

  • Reconciles with the source

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

Actually broken

  • The Braze external user ID 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

    A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.

  • Nobody has reconciled it

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

CJ → Braze · diagnose

Diagnostic order — CJ → Braze

  1. 01

    Count conversions carrying the Braze external user ID

  2. 02

    Follow one real conversion end to end

    From the ad click through CJ and into Braze.

  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

    Send a test purchase and read the user profile's event stream

    One event or two? Check whether the SDK is already sending the same event before adding a server source, and check that the external ID matches the signed-in user rather than creating a new profile.

  5. 05

    Read the match rate, not the success message

    Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.

CJ → Braze · prove

How it gets proven — CJ → Braze

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 Braze external user ID confirmed present on a live conversion.
  • A real conversion followed from click through CJ to Braze.
  • The user profile confirmed to show one event per conversion, with device and user profiles correctly merged.
  • Transactions reconciled per order with commissioning inputs verified against your own customer data.

CJ → Braze · free audit

What we check in the free audit

  • Count conversions carrying the Braze external user ID
  • Follow one real conversion end to end
  • Verify that new-versus-returning status reaches CJ correctly
  • Send a test purchase and read the user profile's event stream
  • 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 → Braze · when not to buy

When you don't need this — CJ → Braze

  • If Braze 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 Braze external user ID.
  • Simple flat-rate programmes have no commissioning inputs to get wrong.
  • If you have no mobile app and no push channel, Braze is a large piece of infrastructure for a job an email platform already does.

CJ → Braze · what we deliver

What gets built — CJ → Braze

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

    The Braze user track endpoint, posted server-side from your order or billing system with the external user ID and event properties.

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

Yes, if you store the CJ publisher on the Braze user at their first commissioned order and segment repeat purchases by it. CJ itself stops tracking the customer after the commission.

Free · 30 min

Get CJ and Braze joined properly

Free30 minutesNo obligation