Skip to main content
Smile.io → SegmentIntegration guide

Connecting Smile.io to Segment

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. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Smile.io points redemption before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Smile.io into Segment: loyalty traits on the customer userId

Send Smile.io loyalty traits, points balance, VIP tier and last redemption date, through identify on your store customer ID as userId, not Smile's ID. Send loyalty events as Track calls with Smile's activity ID as messageId. Put the points discount on order events as its own property so ad destinations receive net revenue, and filter on consent.

Segment is useful for a Smile.io store when loyalty status needs to reach several tools at once: email, SMS, product analytics and ad audiences. The payload that matters is small, a few traits such as points balance, VIP tier and last redemption date, set on the same userId your storefront uses when a customer logs in.

Use your store customer ID as userId, not Smile.io's internal ID, and call identify on login and checkout so the anonymousId from earlier browsing, with any click IDs stored as traits, is linked. Send loyalty events as Track calls from Smile.io's webhooks or API where your plan allows, with Smile's activity ID in the messageId so a replayed webhook does not fan out twice. Check Segment's catalog for an existing Smile.io integration before building one.

Put the points discount on the order event as its own property, separate from coupon discounts, so ad destinations can be configured to receive net revenue. Consent matters more than usual here: loyalty traits are exactly what an email or ad audience gets built from, so pass marketing consent as a trait and filter on it before any destination receives a tier-based audience.

Smile.io → Segment · what breaks

Why this join usually fails — Smile.io → Segment

  1. 01

    The userId and anonymousId 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

    One bad event multiplied across every destination

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  4. 04

    Nothing reconciles afterwards

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Smile.io → Segment · the fix

What working looks like — Smile.io → Segment

  • The userId and anonymousId on every redemption

  • Conversions arriving in Segment

    Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.

  • Reconciled against the source

Smile.io → Segment · architecture

How Smile.io and Segment 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

    Segment needs a click to match

    Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.

  3. 3

    The identifier is the bridge

    The userId and anonymousId, 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

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

Smile.io → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the redemption

  • Sent from your order feed with Smile attributes attached

  • Deduplicated correctly

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

  • Reconciles with the source

Actually broken

  • The userId and anonymousId 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

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  • Nobody has reconciled it

Smile.io → Segment · diagnose

Diagnostic order — Smile.io → Segment

  1. 01

    Count redemptions carrying the userId and anonymousId

  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 identity resolution before checking anything downstream

    If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.

  5. 05

    Read the match rate, not the success message

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Smile.io → Segment · prove

How it gets proven — Smile.io → Segment

Source of truth

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

  • The userId and anonymousId confirmed present on a live redemption.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • First orders reconciled against imported conversions, with redemption-driven orders reported separately.

Smile.io → Segment · free audit

What we check in the free audit

  • Count redemptions carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Compare gross order value against value net of points issued and redeemed
  • Check identity resolution before checking anything downstream
  • 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 → Segment · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the userId and anonymousId.
  • If you run no loyalty programme, this reduces to an ordinary store integration.
  • If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.

Smile.io → Segment · what we deliver

What gets built — Smile.io → Segment

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

    Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.

  • 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 → Segment questions, answered

Check Segment's catalog for your workspace. If there is none, send Smile.io webhooks through a server-side source keyed by your store customer ID.

Free · 30 min

Get Smile.io and Segment joined properly

Free30 minutesNo obligation