Skip to main content
Deliverect → SegmentIntegration guide

Connecting Deliverect to Segment

Deliverect is middleware — it moves orders from marketplaces into a POS and menus back out — which means it sees every order in a multi-channel restaurant and owns none of the customer relationships. 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 Deliverect order 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

Deliverect to Segment: identify direct orders, quarantine the rest

Send direct-channel Deliverect orders to Segment as Order Completed with the ordering account's userId, location, channel, click identifiers and consent state, using the Deliverect order ID plus event name as messageId. Marketplace orders lack a usable identity, so route them only to your warehouse. Either wait for the settled POS check or send cancellations later, not both.

Deliverect sees every channel, so the tempting design is one Order Completed call per order. The problem is identity. Marketplace orders typically come with little or no usable customer contact, so there is no userId to send, and inventing an anonymousId per order creates thousands of one-time profiles that every downstream tool then inherits. Ad destinations connected to Segment would also receive conversions they cannot match.

Split by channel. Direct-channel orders go in as Order Completed with the userId of the ordering account, location and channel as properties, the click identifiers captured on your ordering site carried along, and the consent state recorded at checkout so downstream destinations can respect it. Use the Deliverect order ID plus the event name as messageId, because Deliverect resends status changes. Marketplace orders, if you want them at all, should carry a channel property and be routed only to your warehouse; check whether destination filters are available on your Segment plan.

Timing is the other trap. The webhook payload value is not the settled amount, so either wait for the POS check to settle before sending, or send Order Completed early and Order Refunded or Order Cancelled when a rejection lands. Choose one approach; mixing them double-counts.

Deliverect → Segment · what breaks

Why this join usually fails — Deliverect → Segment

  1. 01

    The userId and anonymousId never reaches Deliverect

    Middleware inherits whatever identifier the upstream channel had, which for marketplaces is nothing at all.

  2. 02

    Middleware treated as a source of truth about demand

    Deliverect knows what happened. It does not know why, and it cannot tell you which of these orders your advertising caused. Those are different questions and the second one has a much smaller answer.

  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.

Deliverect → Segment · the fix

What working looks like — Deliverect → Segment

  • The userId and anonymousId on every order

  • Conversions arriving in Segment

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

  • Reconciled against the source

Deliverect → Segment · architecture

How Deliverect and Segment actually connect

  1. 1

    Deliverect holds the truth

    The join to the POS is what makes this useful. It is the one place where a marketplace order and a direct order can be compared on settled, net figures rather than on each platform's own optimistic reporting.

  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 Deliverect order.

  4. 4

    The event source decides reliability

    Send only orders whose channel is your own ordering path, with the value taken from the settled POS check rather than the incoming payload.

  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.

Deliverect → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the order

  • Sent from the Deliverect order webhook

  • 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

    Middleware inherits whatever identifier the upstream channel had, which for marketplaces is nothing at all.

  • Sent from the browser

    Deliverect knows what happened. It does not know why, and it cannot tell you which of these orders your advertising caused. Those are different questions and the second one has a much smaller answer.

  • 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

Deliverect → Segment · diagnose

Diagnostic order — Deliverect → Segment

  1. 01

    Count orders carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm which channels can carry an identifier at all

    Usually exactly one. Establish that before building anything, because it sets the ceiling on the entire project.

  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.

Deliverect → Segment · prove

How it gets proven — Deliverect → Segment

Source of truth

Deliverect order records by location and channel, joined to the POS check they became.

  • The userId and anonymousId confirmed present on a live order.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • Direct-channel orders matched from Deliverect through to settled POS checks and then to imported conversions.

Deliverect → Segment · free audit

What we check in the free audit

  • Count orders carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Confirm which channels can carry an identifier at all
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Deliverect order records by location and channel, joined to the POS check they became.

Get my free conversion tracking audit

Free30 minutesNo obligation

Deliverect → Segment · when not to buy

When you don't need this — Deliverect → Segment

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the userId and anonymousId.
  • If Deliverect is only connecting marketplaces to your POS and you have no direct ordering channel, there is nothing attributable flowing through it.
  • 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.

Deliverect → Segment · what we deliver

What gets built — Deliverect → Segment

  • Identifier capture into Deliverect

    Use Deliverect to carry an identifier that already exists on the direct channel through to the POS check, and to prove that marketplace orders genuinely have none.

  • Event source: the Deliverect order webhook

    Send only orders whose channel is your own ordering path, with the value taken from the settled POS check rather than the incoming payload.

  • 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

    Rejected and cancelled orders reduce the figure.

Written guarantee

95%+ tracking accuracy

Measured against Deliverect order records by location and channel, joined to the POS check they became.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Deliverect → Segment questions, answered

Only if they are routed to a warehouse destination and kept away from ad and marketing tools. They have no usable identity, so forwarding them everywhere creates junk profiles.

Free · 30 min

Get Deliverect and Segment joined properly

Free30 minutesNo obligation