Connecting Olo to Segment
Olo sits between a multi-location brand and every channel it sells through, which makes it the only place where a direct order and a marketplace order can be compared on the same terms. 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 Olo 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
Olo through Segment: tag Rails orders once, filter everywhere
Send Order Completed from the Olo webhook to Segment with channel, store ID and handoff mode as properties and the Olo order ID as messageId. Filter ad destinations to direct orders while the warehouse gets everything. Pass anonymousId or click identifiers into Olo ordering, use the loyalty ID as userId, and send Rails orders without borrowed IDs.
Segment is a sensible layer for a large Olo brand that feeds several ad platforms, a loyalty tool and a warehouse, because the direct-versus-Rails split can be made once at the source. Send an Order Completed track call from the Olo order webhook with channel, store ID and handoff mode as properties and the Olo order ID in the messageId. Ad destinations filter to direct orders; the warehouse receives everything, Rails included, so marketplace volume is still visible.
Identity is the weak point. Your site's anonymousId does not follow the visitor onto an Olo-hosted ordering domain, so pass it or the click identifiers into the order, and use the loyalty or customer account ID as userId where the guest signed in. Rails orders should go through with no userId and no anonymousId borrowed from anywhere, rather than a placeholder that merges every marketplace customer into one person.
Send revenue as the food subtotal and put tips, delivery fees and tax in separate properties so each destination can be mapped deliberately. Cancellations and refunds should be their own events with the original order ID, so per-location totals in every downstream destination fall together.
Olo → Segment · what breaks
Why this join usually fails — Olo → Segment
- 01
The userId and anonymousId never reaches Olo
Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever.
- 02
Marketplace orders inflating the direct channel
Rails is designed to make marketplace demand look like your own order flow, which is excellent for operations and ruinous for measurement. Left unsplit, a good week on DoorDash reads as a good week for your ad account.
- 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.
- 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.
Olo → Segment · the fix
What working looks like — Olo → 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
Olo → Segment · architecture
How Olo and Segment actually connect
- 1
Olo holds the truth
Rails pulls DoorDash, Uber Eats and Grubhub orders into the same order stream as your own website. They land in one feed and they are not the same thing: one carries a click you paid for, the other carries a marketplace commission and no identifier at all.
- 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
The identifier is the bridge
The userId and anonymousId, captured at the visit and carried into the Olo order.
- 4
The event source decides reliability
Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.
- 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.
Olo → Segment · normal or broken
Working vs. broken, side by side — Olo → Segment
Normal, not a fault
The userId and anonymousId present on the order
Sent from the Olo 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
Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever.
Sent from the browser
Rails is designed to make marketplace demand look like your own order flow, which is excellent for operations and ruinous for measurement. Left unsplit, a good week on DoorDash reads as a good week for your ad account.
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
Olo → Segment · diagnose
Diagnostic order — Olo → Segment
- 01
Count orders carrying the userId and anonymousId
- 02
Follow one real conversion end to end
- 03
Separate direct from Rails at the source
Do this before any tracking work. The split is the measurement; everything after it is plumbing.
- 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.
- 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.
Olo → Segment · prove
How it gets proven — Olo → Segment
Source of truth
Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.
- 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 per location reconciled against imported conversions, with Rails volume reported as a named exclusion.
Olo → Segment · free audit
What we check in the free audit
- Count orders carrying the userId and anonymousId
- Follow one real conversion end to end
- Separate direct from Rails at the source
- Check identity resolution before checking anything downstream
- Read the match rate, not the success message
Checked against
Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.
Free30 minutesNo obligation
Olo → Segment · when not to buy
When you don't need this — Olo → Segment
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the userId and anonymousId.
- If your Olo volume is overwhelmingly Rails, the campaign question is about marketplace placement and commission, and no amount of conversion tracking will answer 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.
Olo → Segment · what we deliver
What gets built — Olo → Segment
Identifier capture into Olo
Persist the identifier on the direct-ordering path only, and mark Rails-sourced orders explicitly as unattributable rather than letting them dilute the figure.
Event source: the Olo order webhook
Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.
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
Cancelled and refunded orders should reduce the figure, per location.
Written guarantee
95%+ tracking accuracy
Measured against Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Olo → Segment questions, answered
Send them with a channel property marking them as Rails and no borrowed identity, then filter them out of ad destinations while keeping them in the warehouse.
The loyalty or customer account ID where the guest signed in; guest orders keep only what you passed from the browser session.
Almost always because the userId and anonymousId never reached the Olo order. Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever. Measure coverage before debugging the dispatch.
Segment identifies people by anonymousId before they are known and userId afterwards, and the alias between them is what stitches a session to a customer. Click identifiers travel as event properties or traits rather than as a matching key — Segment does not match anything itself, it forwards. That distinction changes the whole design: get the identity resolution right and every downstream destination inherits it.
The Olo order webhook. Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.
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.
More on Olo → Segment
- Stripe → SegmentConnecting Stripe to Segment
- PayPal → SegmentConnecting PayPal to Segment
- Shopify → SegmentConnecting Shopify to Segment
RELATED GUIDES
Where Olo → Segment fits in the rest of your tracking
- DoorDash → SegmentConnecting DoorDash to Segment
- Deliverect → SegmentConnecting Deliverect to Segment
- Uber Eats → SegmentConnecting Uber Eats to Segment
- Olo → BigQueryConnecting Olo to BigQuery
- CateringConversion tracking for catering, measured in confirmed events
- Toast → SegmentConnecting Toast to Segment
- Slice → SegmentConnecting Slice to Segment
- ChowNow → SegmentConnecting ChowNow to Segment
Free · 30 min
Get Olo and Segment joined properly
Free30 minutesNo obligation
