Connecting ServiceTitan to Mixpanel
ServiceTitan is the system of record for mid-to-large home services operations, and it knows the revenue on every job. 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 ServiceTitan job 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
ServiceTitan to Mixpanel: worth it only around an owned flow
Wire Mixpanel around your own booking flow: write the site's distinct_id into the booking request, store it in a ServiceTitan customer custom field, and send invoiced jobs back server-side to that distinct_id with the invoice ID as $insert_id and job type and business unit as properties. Send at invoice, not booking, and keep phone-booked jobs out of funnels.
Mixpanel is useful when you are improving a digital flow, and for most ServiceTitan contractors the flow that matters is the online booking or estimate request on their own site. That is the version of this pair worth wiring: the site's Mixpanel distinct_id written into the booking request, carried onto the ServiceTitan customer in a custom field next to the click ID, and invoiced jobs sent back server-side to that distinct_id. Then a funnel can run from landing page to booked job to invoiced revenue.
Use the invoice ID as $insert_id and send at invoice, not at booking, because booked jobs include callbacks and cancellations that never become revenue. Send job type and business unit as properties so funnels can split by service line. Most jobs arrive by phone rather than form, and calls captured by ServiceTitan's call tracking carry no distinct_id; exclude them, or accept that they land on new profiles, rather than letting them dilute funnels.
If you use ServiceTitan's own online scheduling tool rather than your own form, check whether it can accept a hidden field or URL parameter for the distinct_id. If it cannot, this pair stops at the click into the scheduler.
ServiceTitan → Mixpanel · what breaks
Why this join usually fails — ServiceTitan → Mixpanel
- 01
The distinct_id never reaches ServiceTitan
The identifier has to reach the customer record, not just the call. ServiceTitan's own call tracking captures the call; connecting it to the job that eventually invoices is the step that gets missed.
- 02
Rich data that never leaves the building
ServiceTitan knows the job revenue and its own attribution reporting is good — and it sends none of it to your ad platforms, so bidding never learns which jobs actually paid.
- 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.
ServiceTitan → Mixpanel · the fix
What working looks like — ServiceTitan → Mixpanel
The distinct_id on every job
Conversions arriving in Mixpanel
The event lands on the user profile and becomes available in funnels, retention and cohort analysis.
Reconciled against the source
ServiceTitan → Mixpanel · architecture
How ServiceTitan and Mixpanel actually connect
- 1
ServiceTitan holds the truth
ServiceTitan distinguishes booked, dispatched, completed and invoiced. Only the last is money — a dispatched truck that ended in a no-charge callback cost you and earned nothing.
- 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 ServiceTitan job.
- 4
The event source decides reliability
Poll or subscribe for invoiced jobs and send with the invoiced value, job type and business unit. One job with three visits is one conversion, not three.
- 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.
ServiceTitan → Mixpanel · normal or broken
Working vs. broken, side by side — ServiceTitan → Mixpanel
Normal, not a fault
The distinct_id present on the job
Sent from the ServiceTitan API on job invoiced
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 identifier has to reach the customer record, not just the call. ServiceTitan's own call tracking captures the call; connecting it to the job that eventually invoices is the step that gets missed.
Sent from the browser
ServiceTitan knows the job revenue and its own attribution reporting is good — and it sends none of it to your ad platforms, so bidding never learns which jobs actually paid.
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
ServiceTitan → Mixpanel · diagnose
Diagnostic order — ServiceTitan → Mixpanel
- 01
Count jobs carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Open a recent invoiced job and look for the identifier
On the customer record. This one check is the whole build in miniature.
- 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.
ServiceTitan → Mixpanel · prove
How it gets proven — ServiceTitan → Mixpanel
Source of truth
ServiceTitan's completed and invoiced jobs by completion date, at their invoiced values.
- The distinct_id confirmed present on a live job.
- Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
- A multi-visit job confirmed to produce exactly one conversion.
ServiceTitan → Mixpanel · free audit
What we check in the free audit
- Count jobs carrying the distinct_id
- Follow one real conversion end to end
- Open a recent invoiced job and look for the identifier
- List every event name in the project and look for near-duplicates
- Read the match rate, not the success message
Checked against
ServiceTitan's completed and invoiced jobs by completion date, at their invoiced values.
Free30 minutesNo obligation
ServiceTitan → Mixpanel · when not to buy
When you don't need this — ServiceTitan → Mixpanel
- Measure identifier coverage yourself first — pull your last hundred jobs and count how many carry the distinct_id.
- If your business units and job types are applied inconsistently, fix that first — every conversion value depends on them.
- 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.
ServiceTitan → Mixpanel · what we deliver
What gets built — ServiceTitan → Mixpanel
Identifier capture into ServiceTitan
Store the click identifier in a custom field on the ServiceTitan customer record, so repeat jobs from the same customer trace back to the original acquisition.
Event source: the ServiceTitan API on job invoiced
Poll or subscribe for invoiced jobs and send with the invoiced value, job type and business unit. One job with three visits is one conversion, not three.
Dispatch to Mixpanel
The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.
Reversals where they exist
Warranty callbacks and credits should not count as new revenue, and excluding them keeps the number honest.
Written guarantee
95%+ tracking accuracy
Measured against ServiceTitan's completed and invoiced jobs by completion date, at their invoiced values.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
ServiceTitan → Mixpanel questions, answered
Store the visitor's distinct_id on the ServiceTitan customer when they book online, then send invoiced jobs from the API to Mixpanel with that distinct_id and the invoice ID as $insert_id.
Most jobs come from phone calls, which carry no distinct_id. Only jobs booked through a tracked web flow can join the visitor's profile.
Almost always because the distinct_id never reached the ServiceTitan job. The identifier has to reach the customer record, not just the call. ServiceTitan's own call tracking captures the call; connecting it to the job that eventually invoices is the step that gets missed. 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 ServiceTitan API on job invoiced. Poll or subscribe for invoiced jobs and send with the invoiced value, job type and business unit. One job with three visits is one conversion, not three.
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 ServiceTitan → Mixpanel
- ServiceTitan → Google AdsConnecting ServiceTitan to Google Ads
- ServiceTitan → MetaConnecting ServiceTitan to Meta Conversions API
- ServiceTitan → GA4Connecting ServiceTitan to GA4
Using ServiceTitan for bookings? How ServiceTitan bookings get tracked end to end
RELATED GUIDES
Where ServiceTitan → Mixpanel fits in the rest of your tracking
- ServiceM8 → MixpanelConnecting ServiceM8 to Mixpanel
- Jobber → MixpanelConnecting Jobber to Mixpanel
- Workiz → MixpanelConnecting Workiz to Mixpanel
- ServiceTitan → MatomoConnecting ServiceTitan to Matomo
- ServiceTitan → GA4Connecting ServiceTitan to GA4
- RoofingConversion tracking for roofing companies, from inspection to signed job
- Simpro → MixpanelConnecting Simpro to Mixpanel
- Housecall Pro → MixpanelConnecting Housecall Pro to Mixpanel
Free · 30 min
Get ServiceTitan and Mixpanel joined properly
Free30 minutesNo obligation
