Connecting Saleor to Braze
Saleor is headless and GraphQL-first, which means the storefront and the commerce engine are separate applications and the identifier has to survive a boundary that traditional platforms do not have. 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 Saleor 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
Saleor to Braze: guest checkouts have no external ID
Key Braze on the Saleor user ID, and decide upfront how guest orders with only an email are handled: email-keyed profiles, a merged user alias, or skipping them. Send purchases from the order webhook once paid, one per line with product identifier, price and order currency, plus cancellation and refund events. Avoid duplicating SDK purchases from a Saleor-backed app.
Braze is keyed on an external_id, and the natural choice in Saleor is the customer's user ID. The trouble is that Saleor allows guest checkout with only an email, so many orders arrive with no user at all. Decide before building what happens to those: create the Braze profile keyed on email, use a user alias and merge it when the shopper later registers, or skip guests. Leaving it undecided produces orphan profiles that receive campaigns meant for the real one.
Send from the Saleor order webhook once payment is complete, using Braze's purchase records, one per order line with the product identifier, price and currency. Saleor channels can price the same product in different currencies, so take currency from the order, not a constant. Send cancellations and refunds as custom events too, or a refunded shopper keeps getting post-purchase campaigns.
Braze's value is push and in-app messaging. If your Saleor storefront is web-only, Braze is doing what an email platform would, at more effort. If a Saleor-backed app exists, check whether it already logs purchases through the Braze SDK on a successful checkout mutation; adding the webhook on top sends two purchase notifications for one order.
Saleor → Braze · what breaks
Why this join usually fails — Saleor → Braze
- 01
The Braze external user ID never reaches Saleor
The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.
- 02
A storefront that knows the click and an API that holds the money
Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.
- 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.
Saleor → Braze · the fix
What working looks like — Saleor → 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
Saleor → Braze · architecture
How Saleor and Braze actually connect
- 1
Saleor holds the truth
In a headless setup the storefront is one of several possible clients. Attributing from it means measuring one channel of a system designed to have many.
- 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 Saleor order.
- 4
The event source decides reliability
Send fully paid orders at their net total, sourced from the API.
- 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.
Saleor → Braze · normal or broken
Working vs. broken, side by side — Saleor → Braze
Normal, not a fault
The Braze external user ID present on the order
Sent from the Saleor 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
The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.
Sent from the browser
Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.
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
Saleor → Braze · diagnose
Diagnostic order — Saleor → Braze
- 01
Count orders carrying the Braze external user ID
- 02
Follow one real conversion end to end
- 03
Inspect order metadata on a live order for the identifier
Either it is on the order or the attribution is guesswork. There is no middle state.
- 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.
Saleor → Braze · prove
How it gets proven — Saleor → Braze
Source of truth
Saleor orders by payment status, read from the API rather than inferred from the storefront.
- 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.
- Paid orders reconciled from the API against imported conversions.
Saleor → 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
- Inspect order metadata on a live order for the identifier
- Send a test purchase and read the user profile's event stream
- Read the match rate, not the success message
Checked against
Saleor orders by payment status, read from the API rather than inferred from the storefront.
Free30 minutesNo obligation
Saleor → Braze · when not to buy
When you don't need this — Saleor → Braze
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Braze external user ID.
- If you run a single storefront and no other clients, the added complexity of headless attribution buys you nothing over a standard 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.
Saleor → Braze · what we deliver
What gets built — Saleor → Braze
Identifier capture into Saleor
Capture in the storefront and write the identifier into order metadata through the API at checkout, so it lives on the order rather than in a session.
Event source: the Saleor order webhook
Send fully paid orders at their net total, sourced from the API.
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 and cancellations reverse.
Written guarantee
95%+ tracking accuracy
Measured against Saleor orders by payment status, read from the API rather than inferred from the storefront.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Saleor → Braze questions, answered
The Saleor user ID for registered customers. For guest checkouts, decide on an email-keyed profile or a user alias that merges at registration.
Usually the app SDK and the order webhook both log the purchase. Choose one sender, preferably the webhook, which fires after payment settles.
Almost always because the Braze external user ID never reached the Saleor order. The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there. 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 Saleor order webhook. Send fully paid orders at their net total, sourced from the API.
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 Saleor → Braze
- Stripe → BrazeConnecting Stripe to Braze
- PayPal → BrazeConnecting PayPal to Braze
- Shopify → BrazeConnecting Shopify to Braze
RELATED GUIDES
Where Saleor → Braze fits in the rest of your tracking
- Squarespace → BrazeConnecting Squarespace Commerce to Braze
- Shopify POS → BrazeConnecting Shopify POS to Braze
- Braintree → BrazeConnecting Braintree to Braze
- Saleor → IterableConnecting Saleor to Iterable
- Saleor → KlaviyoConnecting Saleor to Klaviyo
- Jewelry ecommerceConversion tracking for jewelry ecommerce, measured in settled orders
- Magento → BrazeConnecting Magento to Braze
- BigCommerce → BrazeConnecting BigCommerce to Braze
Free · 30 min
Get Saleor and Braze joined properly
Free30 minutesNo obligation
