Skip to main content
Capsule → MixpanelIntegration guide

Connecting Capsule CRM to Mixpanel

Capsule is a deliberately simple CRM for small businesses, which means fewer places for the identifier to hide and fewer features to work with. 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 Capsule 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

Capsule deals on the Mixpanel distinct_id of the trial user

Write Mixpanel's post-signup distinct_id into a Capsule party custom field, filling it once by email lookup for sales-created parties. Map Capsule milestones by ID to fixed event names such as Deal Won, with milestone name as a property, so renames don't break funnels. Send Deal Won with value and $insert_id set to the opportunity ID, plus profile properties.

The useful Mixpanel question for a Capsule business with a product is how many trial users turn into a closed deal, and what they did first. That requires the Capsule party to carry the same ID Mixpanel uses as distinct_id after signup. Write it into a party custom field when your signup flow creates the party. When sales creates the party from an email instead, look it up by email once and fill in the field, so later events never depend on email matching.

Capsule milestone names are free text and editable per pipeline. If you generate Mixpanel event names from milestone names, someone renaming Proposal to Quote Sent in Capsule silently starts a new event in Mixpanel and breaks every funnel built on the old one. Map by milestone ID to a fixed event name, such as Deal Won, and send the milestone name as a property.

Decide whether the deal belongs as an event or as a profile property. Deal Won as an event, with the opportunity value and $insert_id set to the opportunity ID, lets you put it at the end of a funnel. Setting plan and deal value on the profile lets you segment every other event by customers who paid. Most teams need both, and the two should come from the same webhook call.

Capsule → Mixpanel · what breaks

Why this join usually fails — Capsule → Mixpanel

  1. 01

    The distinct_id never reaches Capsule

    Custom fields exist on parties and opportunities but must be populated deliberately, and Capsule's web-form capture is basic enough that many small businesses enter records by hand.

  2. 02

    Manual record entry

    At Capsule's typical business size, records are frequently created by a person retyping details from an email. Nothing typed by hand carries a click identifier.

  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.

Capsule → Mixpanel · the fix

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

    Capsule CRM's own records are the reference, not either dashboard.

Capsule → Mixpanel · architecture

How Capsule and Mixpanel actually connect

  1. 1

    Capsule CRM holds the truth

    Capsule's simplicity is an advantage here — one party record, one opportunity, and a clear won state. There is less to get wrong than in an enterprise CRM.

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

  4. 4

    The event source decides reliability

    Fire on the won milestone 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.

Capsule → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the opportunity

    Visible on the record itself in Capsule CRM, not merely captured somewhere on the site.

  • Sent from a Capsule webhook on opportunity milestone 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

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

Actually broken

  • The distinct_id missing on most records

    Custom fields exist on parties and opportunities but must be populated deliberately, and Capsule's web-form capture is basic enough that many small businesses enter records by hand.

  • Sent from the browser

    At Capsule's typical business size, records are frequently created by a person retyping details from an email. Nothing typed by hand carries a click identifier.

  • 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

    The dashboard shows a number and no one has compared it to Capsule CRM.

Capsule → Mixpanel · diagnose

Diagnostic order — Capsule → Mixpanel

  1. 01

    Count opportunitys carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what share of parties were created via the API rather than manually

    Manual creation is the coverage ceiling and it is an operational fix, not a technical one.

  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.

Capsule → Mixpanel · prove

How it gets proven — Capsule → Mixpanel

Against Capsule CRM's own records, not against either platform's dashboard.

Source of truth

Capsule opportunities marked won 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.
  • A web-form-originated party confirmed to carry the identifier onto its opportunity.

Capsule → 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 parties were created via the API rather than manually
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Capsule opportunities marked won by close date, at their values.

Get my free conversion tracking audit

Free30 minutesNo obligation

Capsule → Mixpanel · when not to buy

When you don't need this — Capsule → Mixpanel

  • If Mixpanel already reports conversions that reconcile against Capsule CRM's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry the distinct_id.
  • This is a small build. If you have a developer, the API work is an afternoon 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.

Capsule → Mixpanel · what we deliver

What gets built — Capsule → Mixpanel

  • Identifier capture into Capsule

    Add a custom field to the party, populate it from the web form via the API, and carry it onto the opportunity when created.

  • Event source: a Capsule webhook on opportunity milestone change

    Fire on the won milestone 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

    Opportunities reopened should not double-count when they win again.

Written guarantee

95%+ tracking accuracy

Measured against Capsule opportunities 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

Capsule → Mixpanel questions, answered

Use a Capsule webhook on the won milestone to call your server, look up the stored distinct_id on the party, and post a Deal Won event to Mixpanel's ingestion API with $insert_id set to the opportunity ID.

Free · 30 min

Get Capsule and Mixpanel joined properly

Free30 minutesNo obligation