Skip to main content
Tidio → MixpanelIntegration guide

Connecting Tidio to Mixpanel

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. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Tidio conversation before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Tidio and Mixpanel: a chat-to-purchase funnel on one distinct_id

Build a Mixpanel funnel of product view, chat started, code issued and purchase by passing the Mixpanel distinct_id into Tidio at widget load and sending chat events with it. Send purchases server-side from the store order webhook with the order ID as $insert_id and the code as a property. Use one user ID for chat and checkout.

The Mixpanel use for Tidio is a funnel: product page viewed, chat started, discount code issued, purchase with that code. That funnel only works if chat events and purchases land on the same distinct_id. The widget runs in its own frame and does not share your page's storage, so pass the Mixpanel distinct_id into Tidio as visitor data at widget load and send chat events from your side carrying it. Check Tidio's JavaScript API for the current method of setting visitor data.

Break the funnel down by who handled the conversation, a person or Lyro, and by topic where you tag conversations. That is usually where the finding is: order-status questions convert at a very different rate from pre-purchase questions, and lumping them together makes chat look weaker than it is for shoppers and stronger than it is for support.

Purchases come from the store's order webhook, server-side, with the order ID as $insert_id and the discount code as a property. Watch the identify call: if a shopper gives an email in the pre-chat form and your code identifies them with it, but checkout identifies them with a customer ID, Mixpanel can split one person in two. Pick one user ID and use it in both places.

Tidio → Mixpanel · what breaks

Why this join usually fails — Tidio → Mixpanel

  1. 01

    The distinct_id 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 event schema, two teams, no agreement

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  4. 04

    Nothing reconciles afterwards

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Tidio → Mixpanel · the fix

What working looks like — Tidio → Mixpanel

  • The distinct_id on every conversation

  • Conversions arriving in Mixpanel

    The event lands on the user profile and becomes available in funnels, retention and cohort analysis.

  • Reconciled against the source

Tidio → Mixpanel · architecture

How Tidio and Mixpanel 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

    Mixpanel needs a click to match

    Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.

  3. 3

    The identifier is the bridge

    The distinct_id, 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

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

Tidio → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the conversation

  • Sent from the store order record

  • Deduplicated correctly

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

  • Reconciles with the source

Actually broken

  • The distinct_id 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

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  • Nobody has reconciled it

Tidio → Mixpanel · diagnose

Diagnostic order — Tidio → Mixpanel

  1. 01

    Count conversations carrying the distinct_id

  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

    List every event name in the project and look for near-duplicates

    Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.

  5. 05

    Read the match rate, not the success message

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Tidio → Mixpanel · prove

How it gets proven — Tidio → Mixpanel

Source of truth

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

  • The distinct_id confirmed present on a live conversation.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Orders reconciled against imported conversions, with chat events absent from the count.

Tidio → Mixpanel · free audit

What we check in the free audit

  • Count conversations carrying the distinct_id
  • Follow one real conversion end to end
  • Compare chat events against order count
  • List every event name in the project and look for near-duplicates
  • 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 → Mixpanel · when not to buy

When you don't need this — Tidio → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred conversations and count how many carry the distinct_id.
  • Most small stores need nothing here except the discipline of not adding chat events as conversions.
  • If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.

Tidio → Mixpanel · what we deliver

What gets built — Tidio → Mixpanel

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

    The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.

  • 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 → Mixpanel questions, answered

Pass the distinct_id into Tidio at widget load, send chat started and code issued events with it, and send purchases server-side on the same distinct_id.

Free · 30 min

Get Tidio and Mixpanel joined properly

Free30 minutesNo obligation