Connecting AfterSell to Braze
AfterSell works through checkout extensions and post-purchase pages, which puts its offers inside Shopify's sandboxed surfaces where your own scripts cannot reach. 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 AfterSell upsell order 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
AfterSell orders in Braze: one purchase, no repeat push
Decide how guest buyers are identified, then log one Braze purchase per order after the post-purchase offer is answered, keyed on the Shopify customer ID, with every line item including the accepted offer. Check whether an existing Braze Shopify integration logs upsell edits as extra purchases. Keep an offer-acceptance counter on the profile from the order webhook.
Braze needs the external user ID, and for a Shopify store that is usually the Shopify customer ID. Guest checkouts complicate it, since a guest's order may carry only an email until an account exists. Decide how a guest who accepted an AfterSell offer is identified before you send anything, or their purchase lands on a profile that never merges with the app user.
Log one purchase per order after the post-purchase offer is answered, with each line item, the accepted offer included, logged as a purchased product so Canvases see the real basket. If a Braze Shopify integration already logs your orders, check whether order edits from accepted upsells produce extra purchase events; two purchases can mean two order-confirmation pushes to one phone.
The useful custom attribute here is simple: whether the customer accepts post-purchase offers. People who take one-click add-ons respond differently to in-app promotions than people who decline every time, and a Braze segment can use that without any new data source. Keep it as a counter on the profile, updated from the order webhook, not inferred from browser behavior Braze cannot see.
AfterSell → Braze · what breaks
Why this join usually fails — AfterSell → Braze
- 01
The Braze external user ID never reaches AfterSell
Extension surfaces are isolated by design. Attempting to instrument them client-side does not work and is not supported.
- 02
Trying to instrument a sandbox
Time gets spent attempting to observe checkout extension behaviour from the storefront. It cannot be done, by design, and every hour spent on it is an hour not spent on the server-side path that works.
- 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.
- 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.
AfterSell → Braze · the fix
What working looks like — AfterSell → Braze
The Braze external user ID on every order
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
AfterSell → Braze · architecture
How AfterSell and Braze actually connect
- 1
AfterSell holds the truth
Checkout UI extensions run sandboxed. Nothing you write can observe them, so the only reliable view of what the customer accepted is the order itself.
- 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
The identifier is the bridge
The Braze external user ID, captured at the visit and carried into the AfterSell upsell order.
- 4
The event source decides reliability
Send the final order total from the webhook, with upsell line items identified.
- 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.
AfterSell → Braze · normal or broken
Working vs. broken, side by side — AfterSell → Braze
Normal, not a fault
The Braze external user ID present on the order
Sent from the Shopify order webhook
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
Extension surfaces are isolated by design. Attempting to instrument them client-side does not work and is not supported.
Sent from the browser
Time gets spent attempting to observe checkout extension behaviour from the storefront. It cannot be done, by design, and every hour spent on it is an hour not spent on the server-side path that works.
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
AfterSell → Braze · diagnose
Diagnostic order — AfterSell → Braze
- 01
Count orders carrying the Braze external user ID
- 02
Follow one real conversion end to end
- 03
Confirm the conversion is sourced from the order, not from a page
On modern Shopify checkout there is no supported page-based option left, so this is the only correct architecture.
- 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.
- 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.
AfterSell → Braze · prove
How it gets proven — AfterSell → Braze
Source of truth
The final Shopify order total, read from the order record.
- The Braze external user ID confirmed present on a live order.
- The user profile confirmed to show one event per conversion, with device and user profiles correctly merged.
- Final order totals reconciled from the webhook against imported conversions.
AfterSell → Braze · free audit
What we check in the free audit
- Count orders carrying the Braze external user ID
- Follow one real conversion end to end
- Confirm the conversion is sourced from the order, not from a page
- Send a test purchase and read the user profile's event stream
- Read the match rate, not the success message
Checked against
The final Shopify order total, read from the order record.
Free30 minutesNo obligation
AfterSell → Braze · when not to buy
When you don't need this — AfterSell → Braze
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Braze external user ID.
- If your conversions already come from the order webhook, checkout extensions change nothing for you.
- 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.
AfterSell → Braze · what we deliver
What gets built — AfterSell → Braze
Identifier capture into AfterSell
Do not try to instrument the checkout surface. Read the order server-side, which is the supported and more reliable path anyway.
Event source: the Shopify order webhook
Send the final order total from the webhook, with upsell line items identified.
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.
Written guarantee
95%+ tracking accuracy
Measured against The final Shopify order total, read from the order record.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
AfterSell → Braze questions, answered
It depends on whether it reads the order after the upsell is added. Compare Braze purchase events with Shopify order totals for orders with accepted offers.
Send one purchase per order from a single source, after post-purchase offers are answered, and disable any other path logging the same order.
Almost always because the Braze external user ID never reached the AfterSell upsell order. Extension surfaces are isolated by design. Attempting to instrument them client-side does not work and is not supported. Measure coverage before debugging the dispatch.
Braze identifies people by an external_id you assign, usually your own user ID, with anonymous device profiles merged in once a user signs in. There is no click identifier at all. Getting the external ID right is the entire integration; getting it wrong fragments one customer into several profiles who each receive the same campaign.
The Shopify order webhook. Send the final order total from the webhook, with upsell line items identified.
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.
More on AfterSell → Braze
- Stripe → BrazeConnecting Stripe to Braze
- PayPal → BrazeConnecting PayPal to Braze
- Shopify → BrazeConnecting Shopify to Braze
RELATED GUIDES
Where AfterSell → Braze fits in the rest of your tracking
- CartHook → BrazeConnecting CartHook to Braze
- Rebuy → BrazeConnecting Rebuy to Braze
- Checkout Champ → BrazeConnecting Checkout Champ to Braze
- AfterSell → IterableConnecting AfterSell to Iterable
- AfterSell → Marketing CloudConnecting AfterSell to Salesforce Marketing Cloud
- FashionConversion tracking for fashion brands, reported net of returns
- ReConvert → BrazeConnecting ReConvert to Braze
- Zipify OCU → BrazeConnecting Zipify OneClickUpsell to Braze
Free · 30 min
Get AfterSell and Braze joined properly
Free30 minutesNo obligation
