Skip to main content
Tidio → SegmentIntegration guide

Connecting Tidio to Segment

Tidio serves small ecommerce stores, where the chat widget's real job is recovering a hesitating shopper with a discount code — which means the conversion is the order, not the chat. 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 Tidio conversation 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

Tidio and Segment: chat events must never map to Order Completed

In Segment, a carelessly mapped Tidio Chat Started event can become a purchase or lead in every ad destination. Keep chat events under non-conversion names, check each destination's mapping, and pass the analytics.js anonymousId into the widget at load. Avoid identify calls on pre-chat emails unless email is your userId. Purchases stay Order Completed from the store.

Through Segment, Tidio activity can reach every connected tool at once, which is the problem. A Chat Started event mapped carelessly in a destination's settings becomes a purchase or a lead in an ad platform, and that mistake is copied to every destination with the same mapping. Keep chat events under clearly non-conversion names and check each ad destination's event mapping explicitly after adding them.

Check Segment's catalog for a Tidio source; if there is none, send a small set of chat events from your storefront or from Tidio webhooks through a server job, carrying the same anonymousId analytics.js set on the store. Pass that anonymousId into the widget as visitor data at load so the conversation record and the browsing session share a key. When a shopper gives an email in the pre-chat form, do not call identify with it unless the store uses email as its userId; otherwise the chat creates an identity the checkout never matches.

Purchases still arrive as Order Completed from the store order, with the discount code as a property. With that in place, the warehouse can calculate the chat-influenced share of orders, and ad destinations only ever receive purchases.

Tidio → Segment · what breaks

Why this join usually fails — Tidio → Segment

  1. 01

    The userId and anonymousId never reaches Tidio

    The widget is a third-party frame with its own storage and does not see your page's identifier.

  2. 02

    Chat-started imported as a conversion

    On a small store this produces conversion counts an order of magnitude above actual sales, and any automated bidding pointed at it will spend the budget on people who ask where their package is.

  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.

Tidio → Segment · the fix

What working looks like — Tidio → Segment

  • The userId and anonymousId on every conversation

  • Conversions arriving in Segment

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

  • Reconciled against the source

Tidio → Segment · architecture

How Tidio and Segment actually connect

  1. 1

    Tidio holds the truth

    The flag is what makes chat's contribution visible without letting it claim the sale. The order is still the conversion; chat is an influence on it.

  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 Tidio conversation.

  4. 4

    The event source decides reliability

    Send purchases. Report chat-influenced orders as a share of the total, which is the honest way to value the widget.

  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.

Tidio → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the conversation

  • Sent from the store order record

  • 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

    The widget is a third-party frame with its own storage and does not see your page's identifier.

  • Sent from the browser

    On a small store this produces conversion counts an order of magnitude above actual sales, and any automated bidding pointed at it will spend the budget on people who ask where their package is.

  • 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

Tidio → Segment · diagnose

Diagnostic order — Tidio → Segment

  1. 01

    Count conversations carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare chat events against order count

    If chats outnumber orders by ten to one and both are in the conversion list, that is the entire diagnosis.

  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.

Tidio → Segment · prove

How it gets proven — Tidio → Segment

Source of truth

Store orders, flagged by whether a chat conversation or a chat-issued discount code preceded them.

  • The userId and anonymousId confirmed present on a live conversation.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • Orders reconciled against imported conversions, with chat events absent from the count.

Tidio → Segment · free audit

What we check in the free audit

  • Count conversations carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Compare chat events against order count
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Store orders, flagged by whether a chat conversation or a chat-issued discount code preceded them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Tidio → Segment · when not to buy

When you don't need this — Tidio → Segment

  • Measure identifier coverage yourself first — pull your last hundred conversations and count how many carry the userId and anonymousId.
  • Most small stores need nothing here except the discipline of not adding chat events as conversions.
  • 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.

Tidio → Segment · what we deliver

What gets built — Tidio → Segment

  • Identifier capture into Tidio

    Pass the identifier in as a visitor attribute at widget initialization, so the conversation record can be joined to the order later.

  • Event source: the store order record

    Send purchases. Report chat-influenced orders as a share of the total, which is the honest way to value the widget.

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

Written guarantee

95%+ tracking accuracy

Measured against Store orders, flagged by whether a chat conversation or a chat-issued discount code preceded them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Tidio → Segment questions, answered

Check Segment's catalog for a Tidio source; otherwise send chat events server-side or from the storefront with the store's anonymousId. Keep the event list short.

Free · 30 min

Get Tidio and Segment joined properly

Free30 minutesNo obligation