Connecting Harvest to Segment
Harvest tracks billable time, which makes it the one system that knows what a client actually cost you to serve — and therefore whether the campaign that won them was worth running. 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 Harvest invoice 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
Harvest to Segment: send client accounts with group, not track
Harvest describes accounts, so use Segment's group call with your company-wide account ID as groupId, sending hours, invoiced and paid totals as group traits and Invoice Paid as a track event with a stable account-owner userId. Leave time entry notes out, and restrict Harvest data to warehouse and CRM, away from ad destinations.
Segment is a sensible hub for Harvest data only when several tools need it, typically the CRM, a warehouse and a customer success tool. The modeling choice is that Harvest describes accounts, not people. Use Segment's group call with a groupId for each client and send hours, invoiced and paid totals as group traits, and send Invoice Paid as a track event tied to that group with amount and currency.
The groupId is the join key every destination inherits, so do not use the Harvest client ID unless it is already your company-wide account ID. Use the account ID your CRM and product already send, and keep a mapping from Harvest. Each call also needs a userId or anonymousId; choose a stable account-owner userId and stick with it, or destinations will create a new person for each invoice. Leave time entry notes out; they often contain client-confidential detail.
Do not let Harvest totals fan out to ad destinations. If Google Ads or Meta are connected to the same source, an Invoice Paid event with no click identifier, arriving months after the click, either does nothing or creates noise there. Restrict it to the warehouse and CRM using the destination settings or filters available in your workspace.
Harvest → Segment · what breaks
Why this join usually fails — Harvest → Segment
- 01
The userId and anonymousId never reaches Harvest
Time is logged by staff against projects days after the work, and the client relationship began months earlier.
- 02
Revenue reported without the cost of delivering it
A campaign producing large but low-margin clients looks like your best performer on revenue and your worst on profit. Harvest is the only place that can tell the difference and it almost never reaches the ad report.
- 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.
- 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.
Harvest → Segment · the fix
What working looks like — Harvest → Segment
The userId and anonymousId on every invoice
Conversions arriving in Segment
Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.
Reconciled against the source
Harvest → Segment · architecture
How Harvest and Segment actually connect
- 1
Harvest holds the truth
Revenue without cost is half the picture in a services business. A client billed twenty thousand pounds who consumed three hundred hours is a different outcome from one billed the same for eighty.
- 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
The identifier is the bridge
The userId and anonymousId, captured at the visit and carried into the Harvest invoice.
- 4
The event source decides reliability
Send paid invoices at the amount received, and report effective hourly rate by acquisition source alongside.
- 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.
Harvest → Segment · normal or broken
Working vs. broken, side by side — Harvest → Segment
Normal, not a fault
The userId and anonymousId present on the invoice
Sent from the Harvest invoice payment
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
Time is logged by staff against projects days after the work, and the client relationship began months earlier.
Sent from the browser
A campaign producing large but low-margin clients looks like your best performer on revenue and your worst on profit. Harvest is the only place that can tell the difference and it almost never reaches the ad report.
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
Harvest → Segment · diagnose
Diagnostic order — Harvest → Segment
- 01
Count invoices carrying the userId and anonymousId
- 02
Follow one real conversion end to end
- 03
Compare effective hourly rate by acquisition source
It is a single join between invoices and tracked hours, and it frequently reverses the ranking of your channels.
- 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.
- 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.
Harvest → Segment · prove
How it gets proven — Harvest → Segment
Source of truth
Harvest invoices paid, set against the tracked hours that produced them.
- The userId and anonymousId confirmed present on a live invoice.
- An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
- Paid invoices and tracked hours reconciled by client against imported conversions.
Harvest → Segment · free audit
What we check in the free audit
- Count invoices carrying the userId and anonymousId
- Follow one real conversion end to end
- Compare effective hourly rate by acquisition source
- Check identity resolution before checking anything downstream
- Read the match rate, not the success message
Checked against
Harvest invoices paid, set against the tracked hours that produced them.
Free30 minutesNo obligation
Harvest → Segment · when not to buy
When you don't need this — Harvest → Segment
- Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the userId and anonymousId.
- If you bill fixed-fee and do not track delivery time, the margin question cannot be answered here and revenue alone is what you have.
- 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.
Harvest → Segment · what we deliver
What gets built — Harvest → Segment
Identifier capture into Harvest
Store the identifier on the client record so both the invoice and the hours resolve to the acquisition source.
Event source: the Harvest invoice payment
Send paid invoices at the amount received, and report effective hourly rate by acquisition source alongside.
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
Credit notes reverse.
Written guarantee
95%+ tracking accuracy
Measured against Harvest invoices paid, set against the tracked hours that produced them.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Harvest → Segment questions, answered
As accounts: a group call per Harvest client with hours and invoice totals as traits, and Invoice Paid as a track event tied to that group. The groupId should be your company-wide account ID, not just the Harvest client ID.
Generally no. They carry no click identifier and arrive long after the click; route them to your warehouse and CRM and keep them off ad destinations.
Almost always because the userId and anonymousId never reached the Harvest invoice. Time is logged by staff against projects days after the work, and the client relationship began months earlier. Measure coverage before debugging the dispatch.
Segment identifies people by anonymousId before they are known and userId afterwards, and the alias between them is what stitches a session to a customer. Click identifiers travel as event properties or traits rather than as a matching key — Segment does not match anything itself, it forwards. That distinction changes the whole design: get the identity resolution right and every downstream destination inherits it.
The Harvest invoice payment. Send paid invoices at the amount received, and report effective hourly rate by acquisition source alongside.
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.
More on Harvest → Segment
- Stripe → SegmentConnecting Stripe to Segment
- PayPal → SegmentConnecting PayPal to Segment
- Shopify → SegmentConnecting Shopify to Segment
RELATED GUIDES
Where Harvest → Segment fits in the rest of your tracking
- BILL → SegmentConnecting BILL to Segment
- Xero → SegmentConnecting Xero to Segment
- QuickBooks → SegmentConnecting QuickBooks to Segment
- Harvest → BigQueryConnecting Harvest to BigQuery
- BookkeepingConversion tracking for bookkeeping firms, valued on the retainer not the enquiry
- Wave → SegmentConnecting Wave to Segment
- FreshBooks → SegmentConnecting FreshBooks to Segment
Free · 30 min
Get Harvest and Segment joined properly
Free30 minutesNo obligation
