Skip to main content
Refersion → BrazeIntegration guide

Connecting Refersion to Braze

Refersion runs affiliate and influencer programmes on Shopify stores, which puts a commission-earning third party directly alongside your paid media on the same orders. 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 Refersion conversion 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

Refersion to Braze: an affiliate attribute, not a second purchase

If Shopify orders already reach Braze, do not send purchases again from Refersion. Instead set a custom attribute on the existing external_id when Refersion credits an order: affiliate ID, first creator credited and date, written once. Use it for creator-specific onboarding and excluding first-order discount pushes, and clear or update it when Refersion denies or reverses the conversion.

If Shopify orders already reach Braze, through Braze's Shopify integration or your own sync, a Refersion feed must not send the purchase again. The duplicate would trigger every post-purchase canvas twice and send two push notifications for one order. What Refersion adds is context: a custom attribute on the external_id saying this customer was acquired by a creator, and which one.

Set the attribute when Refersion credits the order rather than when the order is placed, because credit can depend on a code lookup or a manual approval that happens later. Key it on the customer ID Braze already uses as external_id; a Refersion record keyed on email alone can land on a separate profile. Useful values are the affiliate ID, the first creator credited and the date, written once and not overwritten by later affiliate orders.

With that in place, Braze can give creator-acquired customers different onboarding, keep them out of first-order discount pushes and report repeat purchase by creator, which shows which influencers bring customers who stay. When Refersion denies or reverses a conversion after a refund, clear or update the attribute so the segment stays honest.

Refersion → Braze · what breaks

Why this join usually fails — Refersion → Braze

  1. 01

    The Braze external user ID never reaches Refersion

    Affiliate links carry their own parameters and land on your store, frequently overwriting or colliding with a paid identifier already stored.

  2. 02

    Influencer codes claiming paid traffic's orders

    A customer sees your ad, searches for a discount code, finds an influencer's, and orders. The influencer earns a commission on a sale your advertising produced, and your paid reporting counts it too.

  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.

Refersion → Braze · the fix

What working looks like — Refersion → 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

Refersion → Braze · architecture

How Refersion and Braze actually connect

  1. 1

    Refersion holds the truth

    An affiliate order costs you a commission on top of whatever the ad click cost. If both systems claim it, the order is being paid for twice and neither report mentions the other.

  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 Refersion conversion.

  4. 4

    The event source decides reliability

    Send orders net of affiliate commission, with the affiliate-sourced share marked.

  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.

Refersion → Braze · normal or broken

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

Normal, not a fault

  • The Braze external user ID present on the conversion

  • Sent from the store order record with Refersion attribution attached

  • 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

    Affiliate links carry their own parameters and land on your store, frequently overwriting or colliding with a paid identifier already stored.

  • Sent from the browser

    A customer sees your ad, searches for a discount code, finds an influencer's, and orders. The influencer earns a commission on a sale your advertising produced, and your paid reporting counts it too.

  • 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

Refersion → Braze · diagnose

Diagnostic order — Refersion → Braze

  1. 01

    Count conversions carrying the Braze external user ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Count orders appearing in both paid conversions and Refersion

    The overlap is the double payment. One query, rarely run.

  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.

Refersion → Braze · prove

How it gets proven — Refersion → Braze

Source of truth

Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.

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

Refersion → 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
  • Count orders appearing in both paid conversions and Refersion
  • 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 whether an affiliate link or code produced them, with the commission recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Refersion → Braze · when not to buy

When you don't need this — Refersion → Braze

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the Braze external user ID.
  • No affiliate programme means no conflict and this reduces to an ordinary store integration.
  • 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.

Refersion → Braze · what we deliver

What gets built — Refersion → Braze

  • Identifier capture into Refersion

    Set an explicit precedence rule between affiliate and paid parameters rather than letting last-write-wins decide, and record both on the order.

  • Event source: the store order record with Refersion attribution attached

    Send orders net of affiliate commission, with the affiliate-sourced share marked.

  • 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 should claw back the commission.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Refersion → Braze questions, answered

Send a server-side attribute update keyed on your external_id when Refersion credits an order, carrying the affiliate ID. Leave purchase events to your existing Shopify feed.

Free · 30 min

Get Refersion and Braze joined properly

Free30 minutesNo obligation