Connecting Harvest to PostHog
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. 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 Harvest invoice 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
PostHog distinct_id to Harvest invoices for services revenue
Call identify with the prospect's email on form submission and store the distinct_id in your CRM. When a Harvest invoice is paid, capture an invoice-paid event server-side on that distinct_id with amount, currency, invoice number and hours, using a UUID derived from the invoice number. Add effective hourly rate to compare paths to profitable clients.
PostHog sees the website journey of a prospect who later becomes a Harvest client: the case studies read, the pricing page visits, the form. Call identify with the prospect's email when they submit the form, and record the resulting distinct_id in your CRM. That ID is the only bridge, because Harvest's invoice page and the client's payment never touch your PostHog project.
When a Harvest invoice is marked paid, capture an invoice-paid event server-side on that distinct_id with the amount, currency, invoice number and hours logged to the client so far. Derive the event UUID from the invoice number so a rerun of the polling job does not double revenue. If you use group analytics, attach the client company so several stakeholders at one firm roll up into one account.
The useful question for PostHog here is which on-site behavior precedes profitable clients, not just any client. Put effective hourly rate on the event as a property, then compare paths: if clients who read a particular service page bill at twice the rate of those who arrived through a free resource, that is a content decision, not a tracking one.
Harvest → PostHog · what breaks
Why this join usually fails — Harvest → PostHog
- 01
The distinct_id 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
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.
Harvest → PostHog · the fix
What working looks like — Harvest → PostHog
The distinct_id on every invoice
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Harvest → PostHog · architecture
How Harvest and PostHog 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
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 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
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.
Harvest → PostHog · normal or broken
Working vs. broken, side by side — Harvest → PostHog
Normal, not a fault
The distinct_id present on the invoice
Sent from the Harvest invoice payment
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
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
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
Harvest → PostHog · diagnose
Diagnostic order — Harvest → PostHog
- 01
Count invoices carrying the distinct_id
- 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 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.
Harvest → PostHog · prove
How it gets proven — Harvest → PostHog
Source of truth
Harvest invoices paid, set against the tracked hours that produced them.
- The distinct_id confirmed present on a live invoice.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- Paid invoices and tracked hours reconciled by client against imported conversions.
Harvest → PostHog · free audit
What we check in the free audit
- Count invoices carrying the distinct_id
- Follow one real conversion end to end
- Compare effective hourly rate by acquisition source
- Check ingestion health and disk before debugging any missing event
- 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 → PostHog · when not to buy
When you don't need this — Harvest → PostHog
- Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the distinct_id.
- 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 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.
Harvest → PostHog · what we deliver
What gets built — Harvest → PostHog
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 PostHog
The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.
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 → PostHog questions, answered
Poll Harvest for new invoice payments and post each one to PostHog's capture API with the distinct_id you stored when the lead identified on your site. Use a UUID derived from the invoice number to avoid duplicates.
Only if you send it. Compute effective hourly rate from Harvest's tracked hours and attach it as an event property; PostHog will not calculate delivery cost on its own.
Almost always because the distinct_id 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.
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 Harvest invoice payment. Send paid invoices at the amount received, and report effective hourly rate by acquisition source alongside.
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 Harvest → PostHog
- Stripe → PostHogConnecting Stripe to PostHog
- PayPal → PostHogConnecting PayPal to PostHog
- Shopify → PostHogConnecting Shopify to PostHog
RELATED GUIDES
Where Harvest → PostHog fits in the rest of your tracking
- QuickBooks → PostHogConnecting QuickBooks to PostHog
- FreshBooks → PostHogConnecting FreshBooks to PostHog
- Wave → PostHogConnecting Wave to PostHog
- Harvest → MixpanelConnecting Harvest to Mixpanel
- Harvest → GA4Connecting Harvest to GA4
- BookkeepingConversion tracking for bookkeeping firms, valued on the retainer not the enquiry
- Xero → PostHogConnecting Xero to PostHog
- BILL → PostHogConnecting BILL to PostHog
Free · 30 min
Get Harvest and PostHog joined properly
Free30 minutesNo obligation
