Skip to main content
ServiceTitan → SegmentIntegration guide

Connecting ServiceTitan to Segment

ServiceTitan is the system of record for mid-to-large home services operations, and it knows the revenue on every job. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the ServiceTitan job before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

ServiceTitan to Segment: the customer ID as the userId

Use the ServiceTitan customer ID as the Segment userId. Pass the web visitor's anonymousId through the booking form into a ServiceTitan custom field, then send an identify tying it to the customer ID. Send invoiced jobs as track calls with job type, business unit, invoiced value and messageId from the invoice ID, keeping ad-declined customers out of ad destinations.

Segment makes sense for a ServiceTitan operator who already sends web events through Segment and wants invoiced jobs to reach the warehouse and ad platforms on one definition. With a single destination, a direct integration is simpler. The identity choice is simple and important: use the ServiceTitan customer ID as userId. It stays stable across repeat jobs, memberships and multiple service locations, which a phone number or email often does not.

The hard part is the alias. A web visitor who requests a booking has an anonymousId from analytics.js; the ServiceTitan customer is created later, often by a CSR. Pass the anonymousId through the booking form into a ServiceTitan custom field, then, when the customer appears through the API, send an identify that ties that anonymousId to the customer ID. Phone-only customers will never have one, and that is expected. Send invoiced jobs as track calls with job type, business unit and invoiced value, and a messageId built from the invoice ID.

Consent has to travel too. If the visitor declined ad tracking on the site, mark that on the customer and keep their jobs out of the ad destinations Segment forwards to.

ServiceTitan → Segment · what breaks

Why this join usually fails — ServiceTitan → Segment

  1. 01

    The userId and anonymousId 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.

  2. 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.

  3. 03

    One bad event multiplied across every destination

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  4. 04

    Nothing reconciles afterwards

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

ServiceTitan → Segment · the fix

What working looks like — ServiceTitan → Segment

  • The userId and anonymousId on every job

  • Conversions arriving in Segment

    Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.

  • Reconciled against the source

ServiceTitan → Segment · architecture

How ServiceTitan and Segment actually connect

  1. 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. 2

    Segment needs a click to match

    Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.

  3. 3

    The identifier is the bridge

    The userId and anonymousId, captured at the visit and carried into the ServiceTitan job.

  4. 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. 5

    Deduplication at the destination

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

ServiceTitan → Segment · normal or broken

Working vs. broken, side by side — ServiceTitan → Segment

Normal, not a fault

  • The userId and anonymousId present on the job

  • Sent from the ServiceTitan API on job invoiced

  • Deduplicated correctly

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

  • Reconciles with the source

Actually broken

  • The userId and anonymousId 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

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  • Nobody has reconciled it

ServiceTitan → Segment · diagnose

Diagnostic order — ServiceTitan → Segment

  1. 01

    Count jobs carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a recent invoiced job and look for the identifier

    On the customer record. This one check is the whole build in miniature.

  4. 04

    Check identity resolution before checking anything downstream

    If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.

  5. 05

    Read the match rate, not the success message

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

ServiceTitan → Segment · prove

How it gets proven — ServiceTitan → Segment

Source of truth

ServiceTitan's completed and invoiced jobs by completion date, at their invoiced values.

  • The userId and anonymousId confirmed present on a live job.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • A multi-visit job confirmed to produce exactly one conversion.

ServiceTitan → Segment · free audit

What we check in the free audit

  • Count jobs carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Open a recent invoiced job and look for the identifier
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

ServiceTitan's completed and invoiced jobs by completion date, at their invoiced values.

Get my free conversion tracking audit

Free30 minutesNo obligation

ServiceTitan → Segment · when not to buy

When you don't need this — ServiceTitan → Segment

  • Measure identifier coverage yourself first — pull your last hundred jobs and count how many carry the userId and anonymousId.
  • If your business units and job types are applied inconsistently, fix that first — every conversion value depends on them.
  • If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.

ServiceTitan → Segment · what we deliver

What gets built — ServiceTitan → Segment

  • 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 Segment

    Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.

  • 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

ServiceTitan → Segment questions, answered

Check Segment's catalog for a ready-made source; otherwise poll ServiceTitan's API for invoiced jobs and send track calls with a server library.

Free · 30 min

Get ServiceTitan and Segment joined properly

Free30 minutesNo obligation