Skip to main content
Antavo → SegmentIntegration guide

Connecting Antavo to Segment

Antavo runs enterprise loyalty across online and in-store, which makes the redemption pattern span channels your advertising cannot see. 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 Antavo loyalty transaction 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

Antavo and Segment: one Order Completed, not two

Let the order system, not Antavo, send Order Completed to Segment, and have Antavo add points earned, reward redeemed and tier changed under your customer account userId, with the Antavo ID as a trait. Pass advertising consent in context to block ad destinations, and keep in-store redemptions out of them entirely.

With Segment in the stack, the usual mistake is having both the ecommerce platform and Antavo report the same order. The storefront sends Order Completed, Antavo receives the order to award points and emits its own transaction event, and Segment fans both out to every ad destination. Pick one source for Order Completed, normally the order system, and let Antavo contribute loyalty events alongside it: points earned, reward redeemed, tier changed.

The userId should be your customer account ID, with the Antavo customer ID as a trait if the two differ. In-store events will arrive server-side with a userId and no anonymousId, which is correct; they attach to the known member. Check whether Segment's catalog lists Antavo as a source or destination, or whether you relay Antavo webhooks into Segment's HTTP API yourself.

Consent needs care. A member who opted into loyalty emails has not necessarily agreed to have purchase data shared with ad platforms. Pass the advertising consent state in the event context so Segment can block downstream ad destinations for members who declined, and keep in-store redemptions out of ad destinations entirely, since there is no click to match them to.

Antavo → Segment · what breaks

Why this join usually fails — Antavo → Segment

  1. 01

    The userId and anonymousId never reaches Antavo

    Redemption happens at a till or in an app with no browser session of yours.

  2. 02

    Earning measured online, redemption spent in store

    The half of the programme that costs money happens where your web analytics cannot see it. Reporting only the online side shows a loyalty programme with all of the engagement and none of the liability.

  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.

Antavo → Segment · the fix

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

Antavo → Segment · architecture

How Antavo and Segment actually connect

  1. 1

    Antavo holds the truth

    Points earned online and redeemed in store are the normal pattern for enterprise loyalty. Online-only measurement sees the earning and never the redemption, which makes the programme look free.

  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 Antavo loyalty transaction.

  4. 4

    The event source decides reliability

    Send online orders net of redemption, with cross-channel earn and burn reported separately.

  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.

Antavo → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the redemption

  • Sent from your order system with loyalty 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

    Redemption happens at a till or in an app with no browser session of yours.

  • Sent from the browser

    The half of the programme that costs money happens where your web analytics cannot see it. Reporting only the online side shows a loyalty programme with all of the engagement and none of the liability.

  • 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

Antavo → Segment · diagnose

Diagnostic order — Antavo → Segment

  1. 01

    Count redemptions carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure the share of redemptions that happen off the website

    In enterprise retail it is usually the majority, and it is the number that makes the programme's cost real.

  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.

Antavo → Segment · prove

How it gets proven — Antavo → Segment

Source of truth

Orders across all channels, with loyalty earn and burn recorded per transaction.

  • 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.
  • Online orders reconciled net of redemption, with off-channel redemption reported as programme cost.

Antavo → Segment · free audit

What we check in the free audit

  • Count redemptions carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Measure the share of redemptions that happen off the website
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Orders across all channels, with loyalty earn and burn recorded per transaction.

Get my free conversion tracking audit

Free30 minutesNo obligation

Antavo → Segment · when not to buy

When you don't need this — Antavo → Segment

  • Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the userId and anonymousId.
  • Online-only retailers see both sides and do not have this blind spot.
  • 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.

Antavo → Segment · what we deliver

What gets built — Antavo → Segment

  • Identifier capture into Antavo

    Attribute online acquisition only, and report cross-channel redemption as a cost of the programme rather than trying to attribute it.

  • Event source: your order system with loyalty attributes attached

    Send online orders net of redemption, with cross-channel earn and burn reported separately.

  • 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 reclaim points.

Written guarantee

95%+ tracking accuracy

Measured against Orders across all channels, with loyalty earn and burn recorded per transaction.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Antavo → Segment questions, answered

The ecommerce or order system. Antavo should send loyalty-specific events, otherwise every order is fanned out twice to every destination.

Free · 30 min

Get Antavo and Segment joined properly

Free30 minutesNo obligation