Skip to main content
Crisp → MixpanelIntegration guide

Connecting Crisp to Mixpanel

Crisp bundles chat, a shared inbox and a knowledge base, so the same widget answers pre-sales questions and password resets — and only one of those has anything to do with advertising. 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 Crisp 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

Crisp in Mixpanel: one distinct_id for chat and product events

To join Crisp to Mixpanel, read the browser SDK's distinct_id when the chatbox loads and push it into Crisp session data so server-side chat events carry it. Confirm how your ID merge handles anonymous chats before signup, never use the chat email as distinct_id, and set $insert_id from the Crisp session ID and event type.

In Mixpanel, a Crisp conversation is useful as a funnel step: viewed pricing, opened chat, signed up, activated. The step only connects if the server-side chat event carries the same distinct_id the Mixpanel browser SDK assigned. Read the SDK's distinct_id when the Crisp chatbox loads and push it into Crisp session data, so the webhook payload your server receives already contains it.

Signup is where this breaks. A visitor chats anonymously, gives an email, signs up later, and your app calls identify with the user ID. Whether the anonymous chat event then joins the identified user depends on which ID merge system your Mixpanel project uses and how you alias, so confirm that before trusting any chat-to-signup funnel. Never set the Crisp email as distinct_id if your app identifies people by account ID.

Give each event a $insert_id derived from the Crisp session ID and event type, so redelivered webhooks do not inflate a funnel someone is using to decide whether chat deserves headcount. Add a property separating pre-sales from support conversations; a chat-to-conversion rate that includes password resets understates the pre-sales effect badly.

Crisp → Mixpanel · what breaks

Why this join usually fails — Crisp → Mixpanel

  1. 01

    The distinct_id never reaches Crisp

    The chatbox is a third-party frame, and knowledge-base articles are frequently served from a Crisp-hosted subdomain where your tracking is not present.

  2. 02

    The knowledge base outside the measured perimeter

    A visitor who lands on your site, gets routed to a Crisp-hosted help article and returns to buy looks like a direct visit. The paid click that started it is gone.

  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.

Crisp → Mixpanel · the fix

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

Crisp → Mixpanel · architecture

How Crisp and Mixpanel actually connect

  1. 1

    Crisp holds the truth

    Crisp captures an email early in most conversations, which is a usable join key. It is not a conversion in itself; plenty of people give an email and never buy anything.

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

  4. 4

    The event source decides reliability

    Send the commercial outcome. Keep conversation counts in Crisp's own reporting, where they belong.

  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.

Crisp → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the conversation

  • Sent from your order or CRM 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 chatbox is a third-party frame, and knowledge-base articles are frequently served from a Crisp-hosted subdomain where your tracking is not present.

  • Sent from the browser

    A visitor who lands on your site, gets routed to a Crisp-hosted help article and returns to buy looks like a direct visit. The paid click that started it is gone.

  • 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

Crisp → Mixpanel · diagnose

Diagnostic order — Crisp → Mixpanel

  1. 01

    Count conversations carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether help-center traffic breaks the session

    Look for a spike in direct or self-referral traffic originating at the help subdomain. That is your leak.

  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.

Crisp → Mixpanel · prove

How it gets proven — Crisp → Mixpanel

Source of truth

Your order or CRM system, with Crisp conversations joined on the email the visitor gave.

  • 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.
  • Commercial outcomes reconciled against imported conversions across a window long enough to include help-center detours.

Crisp → Mixpanel · free audit

What we check in the free audit

  • Count conversations carrying the distinct_id
  • Follow one real conversion end to end
  • Check whether help-center traffic breaks the session
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Your order or CRM system, with Crisp conversations joined on the email the visitor gave.

Get my free conversion tracking audit

Free30 minutesNo obligation

Crisp → Mixpanel · when not to buy

When you don't need this — Crisp → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred conversations and count how many carry the distinct_id.
  • Support-only use means no integration. If nobody is buying anything through chat, do not wire chat into your ad accounts.
  • 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.

Crisp → Mixpanel · what we deliver

What gets built — Crisp → Mixpanel

  • Identifier capture into Crisp

    Set the identifier as session data when the chatbox loads, so it travels with the conversation into whatever the contact becomes.

  • Event source: your order or CRM record

    Send the commercial outcome. Keep conversation counts in Crisp's own reporting, where they belong.

  • 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 and disqualifications reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your order or CRM system, with Crisp conversations joined on the email the visitor gave.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Crisp → Mixpanel questions, answered

Capture the Mixpanel distinct_id into Crisp session data when the chatbox loads, then send chat events server-side with that distinct_id and a $insert_id. The events then sit on the same user as their product activity.

Free · 30 min

Get Crisp and Mixpanel joined properly

Free30 minutesNo obligation