Connecting MyCase to Mixpanel
MyCase runs small law firms, where a signed matter can take months to produce fee income and the case type decides everything about its value. 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 MyCase matter 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
MyCase and Mixpanel: one distinct_id from inquiry to matter
Call identify at the intake form with an internal ID, not email, write it onto the MyCase contact, and send consultation scheduled, consultation held and Matter Opened server-side under it. Label phone inquiries by source, use the MyCase matter ID as $insert_id, and keep practice area off events and profiles; run practice-area funnels in a restricted warehouse.
Mixpanel can show a small firm something MyCase reports do not: how inquiries move through consultation to a matter opened, and where they stall. The steps after the web form all happen in MyCase or on the phone, so they have to be sent server-side, and every one of them needs the same distinct_id the visitor had on the website.
Call identify at the inquiry form with an internal ID, not the person's email, and write that ID onto the MyCase contact. Staff actions in MyCase, such as consultation scheduled, consultation held and matter opened, can then be sent as events under that ID, through MyCase's API or an automation tool if your plan supports one. Inquiries that arrive by phone have no distinct_id at all; create them under the contact's internal ID and label the source as phone, so the funnel shows them as their own group rather than as anonymous strangers.
Use the MyCase matter ID as $insert_id on Matter Opened so a retried sync does not create a second matter. No practice area as an event or profile property, since profiles are visible to every Mixpanel user and a list of names beside 'criminal defense' is a disclosure. If you need practice-area funnels, run them on aggregated counts in a restricted warehouse instead.
MyCase → Mixpanel · what breaks
Why this join usually fails — MyCase → Mixpanel
- 01
The distinct_id never reaches MyCase
The consultation is booked by phone or form and the matter is opened by staff days later, with no session in the chain.
- 02
Case type sent as a conversion label
Attaching a practice area to a conversion tells an ad platform that a specific person has a criminal, family or bankruptcy matter. That is a disclosure, and no optimisation benefit is worth it.
- 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.
- 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.
MyCase → Mixpanel · the fix
What working looks like — MyCase → Mixpanel
The distinct_id on every matter
Conversions arriving in Mixpanel
The event lands on the user profile and becomes available in funnels, retention and cohort analysis.
Reconciled against the source
MyCase → Mixpanel · architecture
How MyCase and Mixpanel actually connect
- 1
MyCase holds the truth
A signed retainer is a commitment; the fees arrive over the life of the matter. Which one you report changes the timing and the size of every figure.
- 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
The identifier is the bridge
The distinct_id, captured at the visit and carried into the MyCase matter.
- 4
The event source decides reliability
Send matters opened as a count, with a value if you use an average by practice area. Never send the practice area itself.
- 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.
MyCase → Mixpanel · normal or broken
Working vs. broken, side by side — MyCase → Mixpanel
Normal, not a fault
The distinct_id present on the matter
Sent from the MyCase matter 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 consultation is booked by phone or form and the matter is opened by staff days later, with no session in the chain.
Sent from the browser
Attaching a practice area to a conversion tells an ad platform that a specific person has a criminal, family or bankruptcy matter. That is a disclosure, and no optimisation benefit is worth it.
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
MyCase → Mixpanel · diagnose
Diagnostic order — MyCase → Mixpanel
- 01
Count matters carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Read the actual conversion payload field by field
Not the documentation — the payload. Do this before anything else.
- 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.
- 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.
MyCase → Mixpanel · prove
How it gets proven — MyCase → Mixpanel
Source of truth
MyCase matters opened, with fee income tracked separately as it is billed.
- The distinct_id confirmed present on a live matter.
- Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
- Matters opened reconciled against imported conversions, with the payload shown to carry no case detail.
MyCase → Mixpanel · free audit
What we check in the free audit
- Count matters carrying the distinct_id
- Follow one real conversion end to end
- Read the actual conversion payload field by field
- List every event name in the project and look for near-duplicates
- Read the match rate, not the success message
Checked against
MyCase matters opened, with fee income tracked separately as it is billed.
Free30 minutesNo obligation
MyCase → Mixpanel · when not to buy
When you don't need this — MyCase → Mixpanel
- Measure identifier coverage yourself first — pull your last hundred matters and count how many carry the distinct_id.
- If you cannot guarantee a clean payload, send a bare count or nothing at all. That is a worse campaign and the correct decision.
- 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.
MyCase → Mixpanel · what we deliver
What gets built — MyCase → Mixpanel
Identifier capture into MyCase
Capture at the enquiry and store on the contact so the matter opened later resolves to the original source. Send no case detail — the practice area is sensitive information about a person.
Event source: the MyCase matter record
Send matters opened as a count, with a value if you use an average by practice area. Never send the practice area itself.
Dispatch to Mixpanel
The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.
Reversals where they exist
Matters closed without fees reverse.
Written guarantee
95%+ tracking accuracy
Measured against MyCase matters opened, with fee income tracked separately as it is billed.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
MyCase → Mixpanel questions, answered
Yes, if the web inquiry identifies the visitor with an internal ID stored on the MyCase contact and later stages are sent server-side under that ID. Confirm your MyCase plan's API or automation options first.
No. Mixpanel profiles are visible to every user with access, and practice area paired with a person is sensitive. Analyze it as aggregated counts elsewhere.
Almost always because the distinct_id never reached the MyCase matter. The consultation is booked by phone or form and the matter is opened by staff days later, with no session in the chain. Measure coverage before debugging the dispatch.
Mixpanel identifies people by distinct_id, which starts as an anonymous device value and should be aliased to your own user ID at signup. Getting that alias wrong is the single most common Mixpanel implementation failure: the anonymous pre-signup activity and the identified user become two separate people, and every funnel that crosses signup is broken.
The MyCase matter record. Send matters opened as a count, with a value if you use an average by practice area. Never send the practice area itself.
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.
More on MyCase → Mixpanel
- Stripe → MixpanelConnecting Stripe to Mixpanel
- PayPal → MixpanelConnecting PayPal to Mixpanel
- Shopify → MixpanelConnecting Shopify to Mixpanel
Using MyCase for bookings? How MyCase bookings get tracked end to end
RELATED GUIDES
Where MyCase → Mixpanel fits in the rest of your tracking
- PracticePanther → MixpanelConnecting PracticePanther to Mixpanel
- Karbon → MixpanelConnecting Karbon to Mixpanel
- Filevine → MixpanelConnecting Filevine to Mixpanel
- MyCase → AmplitudeConnecting MyCase to Amplitude
- MyCase → Adobe AnalyticsConnecting MyCase to Adobe Analytics
- Family lawConversion tracking for family law, measured in signed retainers
Free · 30 min
Get MyCase and Mixpanel joined properly
Free30 minutesNo obligation
