Connecting ServiceM8 to PostHog
ServiceM8 runs small trade businesses from the van, where the job is quoted on site, done that week, and invoiced from a phone — so the whole cycle is short and almost none of it is digital. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the ServiceM8 job before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
ServiceM8 to PostHog: see where online bookings stall
Use PostHog to diagnose the online booking path. Pass PostHog's distinct_id with the enquiry form, store it on the ServiceM8 job, and at completed and invoiced send a job-completed event with that distinct_id, invoiced amount, job category and a job-derived UUID. Capture tap-to-call clicks as their own event, and keep service addresses out of event properties.
PostHog is useful to a ServiceM8 business for one narrow question: what happens on the website between landing and an enquiry or booking. Session replay and funnels show whether people give up on the address step, tap the phone number instead, or never find the booking button on mobile. That is the part of the journey ServiceM8 cannot see.
To connect it to revenue, pass PostHog's distinct_id with the enquiry form, store it on the ServiceM8 job, and when the job is completed and invoiced send a job-completed event to PostHog with that distinct_id, the invoiced amount and the job category, plus a UUID derived from the ServiceM8 job so a retry doesn't duplicate. Capture tap-to-call clicks as their own event, because for most trades they outnumber form submissions.
Expect most revenue to stay unconnected: calls have no distinct_id, and those jobs have to be credited through call tracking instead. That is fine. PostHog's job here is diagnosing the booking path, and a few months of completed-job events tied to sessions is enough to see whether online enquirers turn into better or worse customers than callers. If you self-host, keep service addresses out of event properties; the city or ZIP code is enough.
ServiceM8 → PostHog · what breaks
Why this join usually fails — ServiceM8 → PostHog
- 01
The distinct_id never reaches ServiceM8
Most work arrives by phone. The job is created by the tradesperson afterwards, with no session behind it.
- 02
Quotes counted as won work
A quote is a van, a person and an hour. Counting it as a conversion rewards campaigns that produce price-shoppers, which are the cheapest leads and the most expensive customers to chase.
- 03
Self-hosting the analytics and the outage together
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
- 04
Nothing reconciles afterwards
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
ServiceM8 → PostHog · the fix
What working looks like — ServiceM8 → PostHog
The distinct_id on every job
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
ServiceM8 → PostHog · architecture
How ServiceM8 and PostHog actually connect
- 1
ServiceM8 holds the truth
A quote is a visit already paid for in time and fuel. Only a completed, invoiced job is revenue, and the gap between the two is the number worth watching.
- 2
PostHog needs a click to match
PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.
- 3
The identifier is the bridge
The distinct_id, captured at the visit and carried into the ServiceM8 job.
- 4
The event source decides reliability
Send completed and invoiced jobs at the invoiced amount.
- 5
Deduplication at the destination
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
ServiceM8 → PostHog · normal or broken
Working vs. broken, side by side — ServiceM8 → PostHog
Normal, not a fault
The distinct_id present on the job
Sent from the ServiceM8 job record
Deduplicated correctly
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
Reconciles with the source
Actually broken
The distinct_id missing on most records
Most work arrives by phone. The job is created by the tradesperson afterwards, with no session behind it.
Sent from the browser
A quote is a van, a person and an hour. Counting it as a conversion rewards campaigns that produce price-shoppers, which are the cheapest leads and the most expensive customers to chase.
Counted twice, or not at all
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
Nobody has reconciled it
ServiceM8 → PostHog · diagnose
Diagnostic order — ServiceM8 → PostHog
- 01
Count jobs carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Measure quote-to-job conversion rate by source
It varies sharply between channels and it is the number that separates a good lead source from a busy one.
- 04
Check ingestion health and disk before debugging any missing event
On self-hosted instances the answer is infrastructure far more often than it is instrumentation.
- 05
Read the match rate, not the success message
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
ServiceM8 → PostHog · prove
How it gets proven — ServiceM8 → PostHog
Source of truth
ServiceM8 jobs marked completed and invoiced, by completion date.
- The distinct_id confirmed present on a live job.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- Completed invoiced jobs reconciled against imported conversions for a settled month.
ServiceM8 → PostHog · free audit
What we check in the free audit
- Count jobs carrying the distinct_id
- Follow one real conversion end to end
- Measure quote-to-job conversion rate by source
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
ServiceM8 jobs marked completed and invoiced, by completion date.
Free30 minutesNo obligation
ServiceM8 → PostHog · when not to buy
When you don't need this — ServiceM8 → PostHog
- Measure identifier coverage yourself first — pull your last hundred jobs and count how many carry the distinct_id.
- A one-van operation doing thirty jobs a month should track sources by hand and bid manually — the volume will not train anything.
- If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.
ServiceM8 → PostHog · what we deliver
What gets built — ServiceM8 → PostHog
Identifier capture into ServiceM8
Use call tracking with number insertion and record the source on the job at creation, because there is no other moment it can be captured.
Event source: the ServiceM8 job record
Send completed and invoiced jobs at the invoiced amount.
Dispatch to PostHog
The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.
Reversals where they exist
Cancelled jobs and credit notes reverse.
Written guarantee
95%+ tracking accuracy
Measured against ServiceM8 jobs marked completed and invoiced, by completion date.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
ServiceM8 → PostHog questions, answered
Yes, for jobs that started on your site, if the PostHog distinct_id is stored on the job and a completed-job event is sent back with it. Phone bookings need call tracking instead.
The enquiry and booking funnel, tap-to-call clicks as their own event, and completed jobs sent back from ServiceM8 so the funnel ends in revenue.
Almost always because the distinct_id never reached the ServiceM8 job. Most work arrives by phone. The job is created by the tradesperson afterwards, with no session behind it. Measure coverage before debugging the dispatch.
PostHog identifies by distinct_id with an alias call to merge anonymous and identified users. On a self-hosted instance you also control the ingestion endpoint, which means the identifier survives ad blockers that would kill a third-party pixel — one of the few genuine technical advantages available to a first-party setup.
The ServiceM8 job record. Send completed and invoiced jobs at the invoiced amount.
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
More on ServiceM8 → PostHog
- Stripe → PostHogConnecting Stripe to PostHog
- PayPal → PostHogConnecting PayPal to PostHog
- Shopify → PostHogConnecting Shopify to PostHog
Using ServiceM8 for bookings? How ServiceM8 bookings get tracked end to end
RELATED GUIDES
Where ServiceM8 → PostHog fits in the rest of your tracking
- Housecall Pro → PostHogConnecting Housecall Pro to PostHog
- FieldEdge → PostHogConnecting FieldEdge to PostHog
- Workiz → PostHogConnecting Workiz to PostHog
- ServiceM8 → AmplitudeConnecting ServiceM8 to Amplitude
- ServiceM8 → GA4Connecting ServiceM8 to GA4
- Pest controlConversion tracking for pest control, measured in service agreements
- Simpro → PostHogConnecting Simpro to PostHog
- Jobber → PostHogConnecting Jobber to PostHog
Free · 30 min
Get ServiceM8 and PostHog joined properly
Free30 minutesNo obligation
