Skip to main content
Smile.io → AmplitudeIntegration guide

Connecting Smile.io to Amplitude

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. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the Smile.io points redemption before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Smile.io in Amplitude: loyalty cohorts with revenue net of points

Put Smile.io points activity on the same Amplitude user as orders by using your store's customer ID as user_id, not Smile's own ID. Send points_earned and points_redeemed server-side, and send orders with price set to the amount paid after the redemption discount plus a points_discount property. Use the order or Smile activity ID as insert_id.

Amplitude suits the question Smile.io raises: do customers who join the rewards program come back more often, or does the program mostly discount purchases they would have made anyway? Answering it needs points activity on the same Amplitude user as the orders, which means one user ID shared by your storefront SDK, your order events and your Smile.io events.

Use your store's customer ID as user_id. Smile.io customers are tied to your store's customer records, so check how its webhooks or API expose that ID and map it, rather than using Smile's own customer ID. Send points_earned and points_redeemed as events, and send orders with price set to the amount paid after the redemption discount, plus a points_discount property. Leaving price at the gross subtotal makes Amplitude's revenue reporting treat the program as free.

The Smile.io panel runs in its own frame, so if your Amplitude browser SDK is meant to capture panel clicks, check that they actually reach it; often they do not, and loyalty engagement looks lower than it is. Server-side points events from Smile.io avoid that gap. Use the order ID or Smile's activity ID as insert_id, since loyalty webhooks can repeat.

Smile.io → Amplitude · what breaks

Why this join usually fails — Smile.io → Amplitude

  1. 01

    The user ID and device ID pair never reaches Smile.io

    The rewards widget renders in a Smile-served frame that does not share your page's storage.

  2. 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.

  3. 03

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Smile.io → Amplitude · the fix

What working looks like — Smile.io → Amplitude

  • The user ID and device ID pair on every redemption

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

Smile.io → Amplitude · architecture

How Smile.io and Amplitude actually connect

  1. 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. 2

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the Smile.io points redemption.

  4. 4

    The event source decides reliability

    Send orders net of the discount points redeemed, with first orders and reward-driven repeats marked.

  5. 5

    Deduplication at the destination

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

Smile.io → Amplitude · normal or broken

Working vs. broken, side by side — Smile.io → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the redemption

  • Sent from your order feed with Smile attributes attached

  • Deduplicated correctly

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

Actually broken

  • The user ID and device ID pair 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

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

Smile.io → Amplitude · diagnose

Diagnostic order — Smile.io → Amplitude

  1. 01

    Count redemptions carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Check a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Smile.io → Amplitude · prove

How it gets proven — Smile.io → Amplitude

Source of truth

Store orders flagged by whether points were earned or redeemed on them.

  • The user ID and device ID pair confirmed present on a live redemption.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • First orders reconciled against imported conversions, with redemption-driven orders reported separately.

Smile.io → Amplitude · free audit

What we check in the free audit

  • Count redemptions carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Compare gross order value against value net of points issued and redeemed
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Store orders flagged by whether points were earned or redeemed on them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Smile.io → Amplitude · when not to buy

When you don't need this — Smile.io → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the user ID and device ID pair.
  • If you run no loyalty programme, this reduces to an ordinary store integration.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Smile.io → Amplitude · what we deliver

What gets built — Smile.io → Amplitude

  • 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 Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Smile.io → Amplitude questions, answered

Send points and redemption activity server-side with your store's customer ID as the Amplitude user_id, and check whether a ready integration exists for your Smile.io plan.

Free · 30 min

Get Smile.io and Amplitude joined properly

Free30 minutesNo obligation