Skip to main content
Toast → SegmentIntegration guide

Connecting Toast to Segment

Toast holds the check, and a restaurant check is the only place where an online order, a dine-in tab and a catering deposit are all denominated in the same money. 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 Toast 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

Toast into Segment: online orders identified, dine-in kept apart

Send closed Toast online checks to Segment as Order Completed with dining option, location and business date, using the Toast order GUID as messageId and a userId your loyalty program shares. Filter destinations so only online orders reach ad tools; dine-in checks go to the warehouse as aggregates, and catering stays separate.

Segment makes sense for a restaurant group with several tools that need the same order: a loyalty program, an email platform, ad destinations and a warehouse. The design question specific to Toast is the dining option. Online orders can carry an identity and sometimes a click identifier; dine-in checks usually carry neither. Send both the same way and Segment forwards anonymous dine-in checks to ad destinations as purchases with nobody attached.

Send closed online checks as Order Completed with dining option, location and business date as properties and the Toast order GUID as messageId. Identify guests by the email or phone from the online order, and use a userId your loyalty program or app also uses, or every Toast order creates a new person. Dine-in revenue can still reach the warehouse destination as aggregates by location and business date.

Check whether Segment offers a Toast source or whether you will pull from Toast's API into the Tracking API yourself. Either way, filter in Segment's destination settings so only online orders reach ad destinations, and make sure catering orders, which can be large and paid weeks later, do not arrive as ordinary purchases that skew average order value in every tool.

Toast → Segment · what breaks

Why this join usually fails — Toast → Segment

  1. 01

    The userId and anonymousId never reaches Toast

    Toast Online Ordering runs on a Toast-hosted subdomain. Guests leave your site to place the order, so the click identifier is dropped at the handoff unless it is deliberately carried across.

  2. 02

    Dine-in revenue that advertising will never see

    Most restaurants take the majority of their money from people who walked in. That revenue is real, it is often driven by the same advertising, and there is no honest way to attribute it to a click. Say so rather than quietly excluding it.

  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.

Toast → Segment · the fix

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

Toast → Segment · architecture

How Toast and Segment actually connect

  1. 1

    Toast holds the truth

    Order channel is the field that matters. Only the online channel can carry an advertising identifier at all; the rest is revenue you can measure but cannot attribute, and pretending otherwise inflates every ratio you calculate.

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

  4. 4

    The event source decides reliability

    Send the closed check total, not the cart. Restaurant orders get modified at the pass constantly — an item 86'd, a substitution, a comped appetizer — and the cart figure is routinely wrong by the time the guest pays.

  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.

Toast → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the order

  • Sent from the Toast order feed

  • 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

    Toast Online Ordering runs on a Toast-hosted subdomain. Guests leave your site to place the order, so the click identifier is dropped at the handoff unless it is deliberately carried across.

  • Sent from the browser

    Most restaurants take the majority of their money from people who walked in. That revenue is real, it is often driven by the same advertising, and there is no honest way to attribute it to a click. Say so rather than quietly excluding it.

  • 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

Toast → Segment · diagnose

Diagnostic order — Toast → Segment

  1. 01

    Count orders carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Split checks by dining option before anything else

    Online, dine-in, takeout, delivery, catering. If those are pooled, an increase in dine-in reads as advertising success and an increase in ad spend reads as waste.

  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.

Toast → Segment · prove

How it gets proven — Toast → Segment

Source of truth

Toast orders by business date with the dining option attached — online, dine-in, takeout, delivery or catering.

  • 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.
  • Closed checks on the online channel reconciled against imported conversions for a fully settled business week.

Toast → Segment · free audit

What we check in the free audit

  • Count orders carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Split checks by dining option before anything else
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Toast orders by business date with the dining option attached — online, dine-in, takeout, delivery or catering.

Get my free conversion tracking audit

Free30 minutesNo obligation

Toast → Segment · when not to buy

When you don't need this — Toast → Segment

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the userId and anonymousId.
  • If online ordering is a rounding error against your dine-in volume, the honest answer is that paid search cannot be measured on revenue here — measure it on order volume 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.

Toast → Segment · what we deliver

What gets built — Toast → Segment

  • Identifier capture into Toast

    Carry the identifier through the ordering link as a supported parameter and persist it against the guest record, so the check that closes hours later still knows which click produced it.

  • Event source: the Toast order feed

    Send the closed check total, not the cart. Restaurant orders get modified at the pass constantly — an item 86'd, a substitution, a comped appetizer — and the cart figure is routinely wrong by the time the guest pays.

  • 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

    Voids, comps and refunds should all reduce the figure. Restaurants void more than most businesses expect.

Written guarantee

95%+ tracking accuracy

Measured against Toast orders by business date with the dining option attached — online, dine-in, takeout, delivery or catering.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Toast → Segment questions, answered

Check the Segment catalog. If not, pull closed checks from Toast's API and send them to Segment's Tracking API with the order GUID as messageId.

Free · 30 min

Get Toast and Segment joined properly

Free30 minutesNo obligation