Skip to main content
ReferralCandy → BrazeIntegration guide

Connecting ReferralCandy to Braze

ReferralCandy serves smaller stores where the referral programme is often the second-largest acquisition channel and is almost never measured against paid media properly. 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 ReferralCandy referral 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

ReferralCandy and Braze: reward pushes without duplicates

Use Braze to push referrers a message when a friend buys. Look up the external_id from the store customer record by the referrer's email, never create one from email, and send friend purchased, reward issued and reward reclaimed events with amount and code. Emit each event from one source, and delay the reward push until any waiting period clears.

What Braze adds to a referral program is the channel ReferralCandy lacks: a push notification telling a referrer that their friend just bought and the reward is theirs. That message is only as good as the identity behind it, and ReferralCandy knows people by email while Braze knows them by external_id.

Look up the external_id from the store customer record using the referrer's email, and send the event to that profile. Do not use the email as a new external_id, or the reward lands on a fresh profile with no device and no push token. Send distinct events for friend purchased, reward issued and reward reclaimed, with reward amount and referral code as properties, from your order or referral system rather than from the app.

Braze does not deduplicate. If both a ReferralCandy webhook and your order system can emit the friend-purchased event, pick one, or the referrer gets two pushes for one friend. Delay the reward push until the reward actually clears; if you configured a waiting period, a push sent at purchase promises a reward that a refund can still take back. And if your app has no push channel and you only email, ReferralCandy's own emails already do this job.

ReferralCandy → Braze · what breaks

Why this join usually fails — ReferralCandy → Braze

  1. 01

    The Braze external user ID never reaches ReferralCandy

    Referral links land with their own parameters on a store that may already hold a paid identifier.

  2. 02

    Referral and paid competing for the same orders

    Without a precedence rule the credit goes to whichever parameter was written last, which means your reported channel mix is an accident of browsing order.

  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.

ReferralCandy → Braze · the fix

What working looks like — ReferralCandy → Braze

  • The Braze external user ID on every referral

  • 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

ReferralCandy → Braze · architecture

How ReferralCandy and Braze actually connect

  1. 1

    ReferralCandy holds the truth

    At small-store scale the referral programme can rival paid acquisition in volume. Pooling them means neither channel's true cost per acquisition is knowable.

  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 ReferralCandy referral.

  4. 4

    The event source decides reliability

    Send orders net of rewards, with referral orders marked and excluded from paid conversion imports.

  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.

ReferralCandy → Braze · normal or broken

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

Normal, not a fault

  • The Braze external user ID present on the referral

  • Sent from your order feed with referral 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

Actually broken

  • The Braze external user ID missing on most records

    Referral links land with their own parameters on a store that may already hold a paid identifier.

  • Sent from the browser

    Without a precedence rule the credit goes to whichever parameter was written last, which means your reported channel mix is an accident of browsing order.

  • 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

ReferralCandy → Braze · diagnose

Diagnostic order — ReferralCandy → Braze

  1. 01

    Count referrals carrying the Braze external user ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Count orders carrying both a referral and a paid parameter

    It is usually a meaningful share, and every one of them is currently credited by luck.

  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.

ReferralCandy → Braze · prove

How it gets proven — ReferralCandy → Braze

Source of truth

Store orders flagged by referral, net of both rewards.

  • The Braze external user ID confirmed present on a live referral.
  • The user profile confirmed to show one event per conversion, with device and user profiles correctly merged.
  • Non-referral orders reconciled against imported conversions, with referral volume and reward cost stated.

ReferralCandy → Braze · free audit

What we check in the free audit

  • Count referrals carrying the Braze external user ID
  • Follow one real conversion end to end
  • Count orders carrying both a referral and a paid parameter
  • Send a test purchase and read the user profile's event stream
  • Read the match rate, not the success message

Checked against

Store orders flagged by referral, net of both rewards.

Get my free conversion tracking audit

Free30 minutesNo obligation

ReferralCandy → Braze · when not to buy

When you don't need this — ReferralCandy → Braze

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the Braze external user ID.
  • No referral programme, no conflict.
  • 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.

ReferralCandy → Braze · what we deliver

What gets built — ReferralCandy → Braze

  • Identifier capture into ReferralCandy

    Set precedence explicitly and record both identifiers on the order.

  • Event source: your order feed with referral attribution

    Send orders net of rewards, with referral orders marked and excluded from paid conversion imports.

  • 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 reclaim rewards.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by referral, net of both rewards.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

ReferralCandy → Braze questions, answered

Send a reward event to Braze from your server on the referrer's external_id, looked up from their email, and trigger the push from that event.

Free · 30 min

Get ReferralCandy and Braze joined properly

Free30 minutesNo obligation