Connecting Harvest to Matomo
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. Matomo can be self-hosted with no third party in the chain, which makes it the one analytics destination where the data genuinely never leaves infrastructure you control. The join between them succeeds or fails on one thing: whether the first-party visitor ID reaches the Harvest invoice before the conversion happens, because Matomo can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Attributing Harvest invoices in Matomo months after the visit
Nobody converts on your site when a Harvest invoice is paid, so save Matomo's visitor ID and campaign values with the inquiry. When the first invoice is paid, a server job posts an ecommerce order to the HTTP Tracking API with that visitor ID, stored campaign and the Harvest invoice number as order ID. Join hours outside Matomo.
Matomo attributes a goal to the referrer and campaign of the visitor who converts, but nobody converts on your site when a Harvest invoice is paid. The client clicks a link in an email and pays on Harvest's invoice page, which carries no Matomo visitor at all. The only Matomo moment you own is the original inquiry on your site, so that is where the visitor ID and campaign must be saved.
At form submission, store Matomo's visitor ID plus the campaign name and keyword alongside the lead. When the first invoice is marked paid, post to the HTTP Tracking API from a server job with that visitor ID, the stored campaign values passed as the attribution values for the conversion, and the payment date. Backdating a hit beyond a short window needs your auth token, which belongs on the server and never in a browser.
Use an ecommerce order with the Harvest invoice number as the order ID rather than a plain revenue goal, so a rerun of your sync cannot double a client's revenue. Send later invoices as further orders against the same visitor ID. Matomo then reports revenue by campaign; effective hourly rate still has to come from joining Harvest hours outside Matomo.
Harvest → Matomo · what breaks
Why this join usually fails — Harvest → Matomo
- 01
The first-party visitor 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
Owning the pipeline means owning the outage
The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.
- 04
Nothing reconciles afterwards
Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.
Harvest → Matomo · the fix
What working looks like — Harvest → Matomo
The first-party visitor ID on every invoice
Conversions arriving in Matomo
The event lands in your own database and is queryable directly, including the raw log, which most analytics products do not expose.
Reconciled against the source
Harvest → Matomo · architecture
How Harvest and Matomo 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
Matomo needs a click to match
The site ID, the visitor identifier and the event or ecommerce order. Self-hosted instances additionally need the tracker endpoint reachable and the database keeping up, which hosted tools do not fail at.
- 3
The identifier is the bridge
The first-party visitor 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
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Harvest → Matomo · normal or broken
Working vs. broken, side by side — Harvest → Matomo
Normal, not a fault
The first-party visitor ID present on the invoice
Sent from the Harvest invoice payment
Deduplicated correctly
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Reconciles with the source
Actually broken
The first-party visitor 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 is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.
Nobody has reconciled it
Harvest → Matomo · diagnose
Diagnostic order — Harvest → Matomo
- 01
Count invoices carrying the first-party visitor 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 tracker reachability and database lag before debugging any tag
On self-hosted analytics the answer is infrastructure more often than instrumentation.
- 05
Read the match rate, not the success message
Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.
Harvest → Matomo · prove
How it gets proven — Harvest → Matomo
Source of truth
Harvest invoices paid, set against the tracked hours that produced them.
- The first-party visitor ID confirmed present on a live invoice.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- Paid invoices and tracked hours reconciled by client against imported conversions.
Harvest → Matomo · free audit
What we check in the free audit
- Count invoices carrying the first-party visitor ID
- Follow one real conversion end to end
- Compare effective hourly rate by acquisition source
- Check tracker reachability and database lag before debugging any tag
- 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 → Matomo · when not to buy
When you don't need this — Harvest → Matomo
- Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the first-party visitor 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 privacy or ownership requirement and no team to run it, a hosted product removes the only real cost of this one.
Harvest → Matomo · what we deliver
What gets built — Harvest → Matomo
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 Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
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 → Matomo questions, answered
Post each paid invoice to Matomo's HTTP Tracking API from a server job, using the visitor ID you saved when the lead first contacted you and the invoice number as the order ID.
Because the server request has no referrer of its own. Pass the campaign name and keyword you stored at inquiry time as the conversion's attribution values, or Matomo has nothing to credit.
Almost always because the first-party visitor 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.
Matomo sets its own first-party cookie and, when self-hosted on your domain, is not a third-party request at all. That means ad blockers and browser tracking-prevention affect it far less than a hosted analytics tag — one of the few genuine measurement advantages available under current privacy conditions.
The Harvest invoice payment. Send paid invoices at the amount received, and report effective hourly rate by acquisition source alongside.
Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.
More on Harvest → Matomo
- Harvest → Google AdsConnecting Harvest to Google Ads
- Harvest → MetaConnecting Harvest to Meta Conversions API
- Harvest → GA4Connecting Harvest to GA4
RELATED GUIDES
Where Harvest → Matomo fits in the rest of your tracking
- BILL → MatomoConnecting BILL to Matomo
- Xero → MatomoConnecting Xero to Matomo
- FreshBooks → MatomoConnecting FreshBooks to Matomo
- Harvest → AmplitudeConnecting Harvest to Amplitude
- Harvest → Adobe AnalyticsConnecting Harvest to Adobe Analytics
- BookkeepingConversion tracking for bookkeeping firms, valued on the retainer not the enquiry
- Wave → MatomoConnecting Wave to Matomo
- QuickBooks → MatomoConnecting QuickBooks to Matomo
Free · 30 min
Get Harvest and Matomo joined properly
Free30 minutesNo obligation
