Skip to main content
Close → MixpanelIntegration guide

Connecting Close to Mixpanel

Close is a sales CRM built around calling and email sequences, which means most of what it records is outbound activity rather than inbound marketing. 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 Close opportunity 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

Close opportunities in Mixpanel without breaking distinct_id

Use your app's user ID, stored on the Close contact at signup, as Mixpanel's distinct_id for won opportunities. Build $insert_id from opportunity ID plus status so duplicate webhooks don't double deals. Attach lead source, value and a flag, derived from Close's activity count, showing whether a rep worked the deal.

A Close lead is a company with contacts underneath it, while Mixpanel's distinct_id is a person. That mismatch is the design decision here. A won opportunity belongs to an account, so either send it to the distinct_id of the contact who signed up for your product, or use Mixpanel's group analytics with a company key if it is enabled on your plan. Check before building, because without it account-level deals scatter across whichever contact happened to be attached.

Use your app's user ID as distinct_id, stored on the Close contact when the signup syncs, never Close's own contact ID, or every deal lands on a new profile with no product history. Build $insert_id from the opportunity ID plus the status, so a webhook delivered twice does not double a deal. Name the event once, agree it with the product team, and attach lead source and opportunity value as properties.

This pair fails when sales-assisted deals show up in Mixpanel as if the product funnel produced them. A trial user an account executive called five times shows a clean signup-to-paid funnel with no trace of the calls. Add a property flagging whether a rep worked the opportunity, derived from Close's activity count, so product and sales stop claiming the same customer. The call and sequence detail can stay in Close; Mixpanel needs the outcome and that flag.

Close → Mixpanel · what breaks

Why this join usually fails — Close → Mixpanel

  1. 01

    The distinct_id never reaches Close

    The identifier has to reach the lead and then the opportunity, and Close's model means many records originate from outbound prospecting with no marketing touch at all. Those must be distinguishable or they contaminate every conversion number.

  2. 02

    Outbound prospecting credited to paid

    Close is built for outbound. If lead source is not recorded and filtered, won deals from cold calling will be attributed to whichever campaign happened to be running.

  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.

Close → Mixpanel · the fix

What working looks like — Close → Mixpanel

  • The distinct_id on every opportunity

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

Close → Mixpanel · architecture

How Close and Mixpanel actually connect

  1. 1

    Close holds the truth

    Close's strength is activity data — calls, emails, sequences. The commercial record is the opportunity, and separating inbound-sourced opportunities from outbound-prospected ones is essential or your paid channels get credit for cold calling.

  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 Close opportunity.

  4. 4

    The event source decides reliability

    Fire when an opportunity is marked won, from inbound-sourced leads only, with the opportunity value.

  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.

Close → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the opportunity

  • Sent from the Close opportunity status webhook

  • 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

    Mixpanel's count and Close's records agree within a few percent over a closed window.

Actually broken

  • The distinct_id missing on most records

    The identifier has to reach the lead and then the opportunity, and Close's model means many records originate from outbound prospecting with no marketing touch at all. Those must be distinguishable or they contaminate every conversion number.

  • Sent from the browser

    Anyone who closes the tab, blocks the script or converts without a page load is invisible. Close is built for outbound. If lead source is not recorded and filtered, won deals from cold calling will be attributed to whichever campaign happened to be running.

  • 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

Close → Mixpanel · diagnose

Diagnostic order — Close → Mixpanel

  1. 01

    Count opportunitys carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what share of won opportunities originated inbound

    In an outbound-heavy Close instance it is often a small minority, and only that minority should reach an ad platform.

  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.

Close → Mixpanel · prove

How it gets proven — Close → Mixpanel

Source of truth

Close's won opportunities by close date, at their values.

  • The distinct_id confirmed present on a live opportunity.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Won opportunities confirmed filtered to inbound-sourced leads before anything is sent.
  • Reconciled over a fully closed window, matched per record rather than on totals.

Close → Mixpanel · free audit

What we check in the free audit

  • Count opportunitys carrying the distinct_id
  • Follow one real conversion end to end
  • Check what share of won opportunities originated inbound
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Close's won opportunities by close date, at their values.

Get my free conversion tracking audit

Free30 minutesNo obligation

Close → Mixpanel · when not to buy

When you don't need this — Close → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry the distinct_id.
  • If your pipeline is almost entirely outbound, there is very little for paid attribution to measure and we would say so.
  • 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.

Close → Mixpanel · what we deliver

What gets built — Close → Mixpanel

  • Identifier capture into Close

    Write the identifier to a custom field on the lead at creation and carry it to the opportunity, and flag lead source so outbound-created records are separable.

  • Event source: the Close opportunity status webhook

    Fire when an opportunity is marked won, from inbound-sourced leads only, with the opportunity value.

  • Dispatch to Mixpanel

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

  • Reversals where they exist

    An opportunity reopened and lost should not leave a conversion standing.

Written guarantee

95%+ tracking accuracy

Measured against Close's won opportunities 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

Close → Mixpanel questions, answered

Use the contact's app user ID as distinct_id and, if your plan has group analytics, add the company as a group key. Using Close's internal IDs creates profiles with no product activity.

Free · 30 min

Get Close and Mixpanel joined properly

Free30 minutesNo obligation