Connecting Smile.io to Mixpanel
Smile.io issues points that customers redeem later, which means every point awarded is a liability and every redemption is a discount against a future order. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Smile.io points redemption before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Smile.io to Mixpanel: points activity on the same distinct_id
Call identify with your store customer ID at login and checkout, and send Smile.io loyalty events server-side under that same distinct_id as points_earned and reward_redeemed, with the store order ID as a property and Smile's activity ID as $insert_id. Order events should carry the amount paid after the points discount and a points_redeemed property.
Mixpanel can show whether the rewards program changes what members do between orders (return visits, product views, time to next purchase), but only if Smile.io activity and storefront browsing share a distinct_id. Smile.io knows customers by your store's customer record; Mixpanel's browser SDK starts with an anonymous device ID. Call identify with your store customer ID when a shopper logs in or checks out, and send Smile.io events server-side under that same ID.
The Smile.io panel loads in its own frame, so clicks inside it may never reach your Mixpanel code. Track loyalty activity from Smile.io's webhooks or API, after confirming your plan includes them, as points_earned and reward_redeemed, with the store order ID as a property so a redemption can be joined to its purchase. Use Smile's activity ID as $insert_id.
Agree event names with the product team before shipping. The order event should carry the amount paid after the points discount and a points_redeemed property; a separate marketing Purchase event with gross value will split funnels and produce two conflicting revenue numbers. Guest checkouts usually cannot earn points and will have no customer ID, which is fine: they are simply not loyalty members.
Smile.io → Mixpanel · what breaks
Why this join usually fails — Smile.io → Mixpanel
- 01
The distinct_id never reaches Smile.io
The rewards widget renders in a Smile-served frame that does not share your page's storage.
- 02
Points liability invisible in the conversion value
An order that awards points is worth its value minus the eventual redemption. Reporting the gross figure on every order overstates margin by the whole cost of the loyalty programme.
- 03
One event schema, two teams, no agreement
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
- 04
Nothing reconciles afterwards
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
Smile.io → Mixpanel · the fix
What working looks like — Smile.io → Mixpanel
The distinct_id on every redemption
Conversions arriving in Mixpanel
The event lands on the user profile and becomes available in funnels, retention and cohort analysis.
Reconciled against the source
Smile.io → Mixpanel · architecture
How Smile.io and Mixpanel actually connect
- 1
Smile.io holds the truth
A redeemed order is retention revenue at a reduced margin. Crediting it to the paid click that acquired the customer originally counts one acquisition twice and at the wrong value.
- 2
Mixpanel needs a click to match
Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.
- 3
The identifier is the bridge
The distinct_id, captured at the visit and carried into the Smile.io points redemption.
- 4
The event source decides reliability
Send orders net of the discount points redeemed, with first orders and reward-driven repeats marked.
- 5
Deduplication at the destination
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
Smile.io → Mixpanel · normal or broken
Working vs. broken, side by side — Smile.io → Mixpanel
Normal, not a fault
The distinct_id present on the redemption
Sent from your order feed with Smile attributes attached
Deduplicated correctly
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
Reconciles with the source
Actually broken
The distinct_id missing on most records
The rewards widget renders in a Smile-served frame that does not share your page's storage.
Sent from the browser
An order that awards points is worth its value minus the eventual redemption. Reporting the gross figure on every order overstates margin by the whole cost of the loyalty programme.
Counted twice, or not at all
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
Nobody has reconciled it
Smile.io → Mixpanel · diagnose
Diagnostic order — Smile.io → Mixpanel
- 01
Count redemptions carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Compare gross order value against value net of points issued and redeemed
The gap is the programme's real cost, and it is rarely in any marketing report.
- 04
List every event name in the project and look for near-duplicates
Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.
- 05
Read the match rate, not the success message
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
Smile.io → Mixpanel · prove
How it gets proven — Smile.io → Mixpanel
Source of truth
Store orders flagged by whether points were earned or redeemed on them.
- The distinct_id confirmed present on a live redemption.
- Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
- First orders reconciled against imported conversions, with redemption-driven orders reported separately.
Smile.io → Mixpanel · free audit
What we check in the free audit
- Count redemptions carrying the distinct_id
- Follow one real conversion end to end
- Compare gross order value against value net of points issued and redeemed
- List every event name in the project and look for near-duplicates
- Read the match rate, not the success message
Checked against
Store orders flagged by whether points were earned or redeemed on them.
Free30 minutesNo obligation
Smile.io → Mixpanel · when not to buy
When you don't need this — Smile.io → Mixpanel
- Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the distinct_id.
- If you run no loyalty programme, this reduces to an ordinary store integration.
- If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.
Smile.io → Mixpanel · what we deliver
What gets built — Smile.io → Mixpanel
Identifier capture into Smile.io
Capture on your own domain before the widget loads and record points activity on the order so acquisition and retention stay separable.
Event source: your order feed with Smile attributes attached
Send orders net of the discount points redeemed, with first orders and reward-driven repeats marked.
Dispatch to Mixpanel
The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.
Reversals where they exist
Refunds reverse and should claw back awarded points.
Written guarantee
95%+ tracking accuracy
Measured against Store orders flagged by whether points were earned or redeemed on them.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Smile.io → Mixpanel questions, answered
Often not, because the panel runs in a separate frame. Send points and redemption events server-side from Smile.io instead.
Your store's customer ID, the same one you pass to identify on login or checkout.
Almost always because the distinct_id never reached the Smile.io points redemption. The rewards widget renders in a Smile-served frame that does not share your page's storage. Measure coverage before debugging the dispatch.
Mixpanel identifies people by distinct_id, which starts as an anonymous device value and should be aliased to your own user ID at signup. Getting that alias wrong is the single most common Mixpanel implementation failure: the anonymous pre-signup activity and the identified user become two separate people, and every funnel that crosses signup is broken.
Your order feed with Smile attributes attached. Send orders net of the discount points redeemed, with first orders and reward-driven repeats marked.
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
More on Smile.io → Mixpanel
- Smile.io → Google AdsConnecting Smile.io to Google Ads
- Smile.io → MetaConnecting Smile.io to Meta Conversions API
- Smile.io → GA4Connecting Smile.io to GA4
RELATED GUIDES
Where Smile.io → Mixpanel fits in the rest of your tracking
- Punchh → MixpanelConnecting Punchh to Mixpanel
- Antavo → MixpanelConnecting Antavo to Mixpanel
- Talon.One → MixpanelConnecting Talon.One to Mixpanel
- Smile.io → MatomoConnecting Smile.io to Matomo
- Smile.io → GA4Connecting Smile.io to GA4
- RestaurantsConversion tracking for restaurants, across reservations, orders and calls
- LoyaltyLion → MixpanelConnecting LoyaltyLion to Mixpanel
Free · 30 min
Get Smile.io and Mixpanel joined properly
Free30 minutesNo obligation
