Skip to main content
Nutshell → MixpanelIntegration guide

Connecting Nutshell to Mixpanel

Nutshell is a small-business CRM with marketing features attached, which means the same platform sends the emails and records the deals. 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 Nutshell lead 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

Nutshell won leads in Mixpanel on the visitor's distinct_id

Use the Nutshell contact ID as Mixpanel's identity on both sides: return it from the form handler, call identify in the browser, and send the won event server-side from the Nutshell webhook with the same ID, value, currency and lead ID. Set the funnel's conversion window deliberately and keep Nutshell email engagement out.

Mixpanel can show a Nutshell team which site journeys turn into won business, but only if the won lead lands on the same person who browsed. The usual failure is two different identify calls: the site identifies a visitor by email when they fill the form, while the server sends the won event keyed on the Nutshell contact ID. Mixpanel now holds two people, one who browsed and one who bought.

Pick one ID and use it on both sides. The cleanest is the Nutshell contact ID: return it from the form handler, call identify with it in the browser, and send the won event server-side with the same value. Fire that event from the Nutshell webhook when a lead's status changes to won, with value and currency as properties, and the lead ID as a property so reopened-and-lost leads can be matched later with a reversal event.

Mind the timing. A lead won two months after the form fill is a long Mixpanel funnel, so set the conversion window deliberately rather than leaving the default. If you backfill historical won leads, check Mixpanel's limits on importing old events, which may require its import route rather than normal tracking. Leave Nutshell email engagement out of the project.

Nutshell → Mixpanel · what breaks

Why this join usually fails — Nutshell → Mixpanel

  1. 01

    The distinct_id never reaches Nutshell

    Nutshell's own email marketing touches contacts repeatedly, and an unguarded custom field will be overwritten by later activity — handing credit for paid-acquired customers to your own email.

  2. 02

    Vocabulary that inverts the usual meaning

    In Nutshell a lead is what other CRMs call an opportunity. Teams routinely build conversions on the wrong object because they assumed the standard meaning.

  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.

Nutshell → Mixpanel · the fix

What working looks like — Nutshell → Mixpanel

  • The distinct_id on every lead

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

Nutshell → Mixpanel · architecture

How Nutshell and Mixpanel actually connect

  1. 1

    Nutshell holds the truth

    Nutshell calls its opportunity object a lead, which confuses every conversation about lead-versus-deal. Establish the vocabulary before agreeing what a conversion is.

  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 Nutshell lead.

  4. 4

    The event source decides reliability

    Fire on won, with the value. Email engagement is reporting, never a conversion.

  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.

Nutshell → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the lead

  • Sent from a Nutshell webhook on lead status change

  • 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

    Nutshell's own email marketing touches contacts repeatedly, and an unguarded custom field will be overwritten by later activity — handing credit for paid-acquired customers to your own email.

  • Sent from the browser

    In Nutshell a lead is what other CRMs call an opportunity. Teams routinely build conversions on the wrong object because they assumed the standard meaning.

  • 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

Nutshell → Mixpanel · diagnose

Diagnostic order — Nutshell → Mixpanel

  1. 01

    Count leads carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm which Nutshell object your team means by lead

    Getting this wrong produces a conversion feed built on the wrong record entirely.

  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.

Nutshell → Mixpanel · prove

How it gets proven — Nutshell → Mixpanel

Source of truth

Nutshell leads marked won by close date, at their values.

  • The distinct_id confirmed present on a live lead.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • The object model confirmed in writing, with the identifier surviving a later marketing email touch.

Nutshell → Mixpanel · free audit

What we check in the free audit

  • Count leads carrying the distinct_id
  • Follow one real conversion end to end
  • Confirm which Nutshell object your team means by lead
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Nutshell leads marked won by close date, at their values.

Get my free conversion tracking audit

Free30 minutesNo obligation

Nutshell → Mixpanel · when not to buy

When you don't need this — Nutshell → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred leads and count how many carry the distinct_id.
  • If money is taken in a separate system, that system is authoritative and Nutshell holds the pipeline only.
  • 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.

Nutshell → Mixpanel · what we deliver

What gets built — Nutshell → Mixpanel

  • Identifier capture into Nutshell

    Write the identifier to a custom field at contact creation with a guard against later overwriting.

  • Event source: a Nutshell webhook on lead status change

    Fire on won, with the value. Email engagement is reporting, never a conversion.

  • Dispatch to Mixpanel

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

  • Reversals where they exist

    Leads reopened and lost should not stand.

Written guarantee

95%+ tracking accuracy

Measured against Nutshell leads marked won by close date, at their values.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Nutshell → Mixpanel questions, answered

The browser and server used different IDs. Identify the visitor with the Nutshell contact ID at form submission and send the won event with that same ID.

Free · 30 min

Get Nutshell and Mixpanel joined properly

Free30 minutesNo obligation