Skip to main content
Yotpo → SegmentIntegration guide

Connecting Yotpo to Segment

Yotpo runs reviews, loyalty points and SMS off one customer record, and the loyalty half generates real redemptions — which means it is one of the few review platforms that genuinely touches revenue. 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 Yotpo loyalty 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

Yotpo to Segment: reward and referral flags before fan-out

Send Order Completed to Segment from your order feed with order_id, revenue and products, plus reward code, referral code and a first-order flag, using the store customer ID as userId. Configure ad destinations through filters or a separate event to receive only first orders without Yotpo codes, and keep Yotpo loyalty events behavioral.

Segment is a sensible hub for a Yotpo merchant whose tools all need to know whether an order was acquisition or retention: ad platforms, email, a warehouse, product analytics. Put the distinction on the event once, before fan-out. Send Order Completed from your order feed with order_id, revenue and products per Segment's e-commerce spec, plus properties for reward code, referral code and a first-order flag, and every downstream tool inherits the same split.

Check whether Yotpo offers a Segment integration for your plan and in which direction. If loyalty or review events arrive in Segment as a source, they are useful behavioral data, but they should never be what ad destinations consume as purchases. The userId is your store customer ID; Yotpo identifies customers by email, so map email to customer ID once in your pipeline rather than letting Yotpo events create email-keyed profiles that split from store-keyed ones.

The fan-out risk is specific: a referral order sent to Meta, Google, Reddit and TikTok at once lets every platform claim retention revenue simultaneously. Configure ad destinations to receive only first orders without reward or referral codes, through destination filters or a separate event name, and confirm on a real referral order that no ad destination received it.

Yotpo → Segment · what breaks

Why this join usually fails — Yotpo → Segment

  1. 01

    The userId and anonymousId never reaches Yotpo

    Reviews and loyalty widgets render in Yotpo-served frames that do not share your page's storage, and referral links route through Yotpo before landing on your site.

  2. 02

    Retention revenue laundered into acquisition performance

    This is the specific failure mode of every combined reviews-and-loyalty platform. A referral code brings in an order, the order carries the referrer's original click identifier, and a paid campaign gets credit for revenue a retention program created.

  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.

Yotpo → Segment · the fix

What working looks like — Yotpo → 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

Yotpo → Segment · architecture

How Yotpo and Segment actually connect

  1. 1

    Yotpo holds the truth

    The flag is what matters. A redeemed order is revenue that a retention program produced, and crediting it to the paid click that acquired the customer eighteen months ago overstates that campaign badly.

  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 Yotpo loyalty redemption.

  4. 4

    The event source decides reliability

    Send purchases with a channel attribute distinguishing first orders, loyalty-driven repeats and referral-driven orders. Three different economics, three different owners.

  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.

Yotpo → Segment · normal or broken

Working vs. broken, side by side — Yotpo → Segment

Normal, not a fault

  • The userId and anonymousId present on the redemption

  • Sent from your order feed with Yotpo 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

    Reviews and loyalty widgets render in Yotpo-served frames that do not share your page's storage, and referral links route through Yotpo before landing on your site.

  • Sent from the browser

    This is the specific failure mode of every combined reviews-and-loyalty platform. A referral code brings in an order, the order carries the referrer's original click identifier, and a paid campaign gets credit for revenue a retention program created.

  • 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

Yotpo → Segment · diagnose

Diagnostic order — Yotpo → Segment

  1. 01

    Count redemptions carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Count orders carrying a reward or referral code

    Then check whether any of them appear in your paid conversion figures. If they do, the acquisition numbers are inflated by exactly that amount.

  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.

Yotpo → Segment · prove

How it gets proven — Yotpo → Segment

Source of truth

Orders in your store, flagged by whether a Yotpo loyalty reward or referral code was applied.

  • 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-time-buyer orders reconciled against imported conversions, with loyalty and referral orders excluded and reported separately.

Yotpo → Segment · free audit

What we check in the free audit

  • Count redemptions carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Count orders carrying a reward or referral code
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Orders in your store, flagged by whether a Yotpo loyalty reward or referral code was applied.

Get my free conversion tracking audit

Free30 minutesNo obligation

Yotpo → Segment · when not to buy

When you don't need this — Yotpo → Segment

  • Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the userId and anonymousId.
  • If you run Yotpo for reviews only and have no loyalty or referral program, this reduces to the Trustpilot case: keep reviews out of your conversion list and stop there.
  • 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.

Yotpo → Segment · what we deliver

What gets built — Yotpo → Segment

  • Identifier capture into Yotpo

    Capture the identifier on your own domain before any widget interaction, and record the reward or referral code on the order so acquisition and retention revenue can be told apart afterwards.

  • Event source: your order feed with Yotpo attributes attached

    Send purchases with a channel attribute distinguishing first orders, loyalty-driven repeats and referral-driven orders. Three different economics, three different owners.

  • 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 reduce the figure; reversed loyalty points do not.

Written guarantee

95%+ tracking accuracy

Measured against Orders in your store, flagged by whether a Yotpo loyalty reward or referral code was applied.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Yotpo → Segment questions, answered

Check Yotpo's integrations for your plan. If loyalty or review events arrive in Segment, treat them as behavioral events and keep purchase events coming from your store's order feed.

Free · 30 min

Get Yotpo and Segment joined properly

Free30 minutesNo obligation