Skip to main content
Harvest → GA4Integration guide

Connecting Harvest to GA4

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. GA4 is where the business goes to understand what happened, which makes an unattributed conversion there expensive in decisions rather than in ad spend. The join between them succeeds or fails on one thing: whether the GA4 client_id reaches the Harvest invoice before the conversion happens, because GA4 can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Harvest paid invoices in GA4, with hours beside the revenue

When Harvest records an invoice payment, send a GA4 Measurement Protocol purchase with the client_id stored from the original inquiry, the Harvest invoice ID as transaction_id and the payment amount. Add hours logged as a custom metric for revenue per hour by first user source. Map Harvest client to client_id, and send refunds for credit notes.

GA4 is the only one of these destinations where Harvest's hours can sit next to the revenue. When an invoice payment is recorded in Harvest, send purchase through Measurement Protocol using the client_id stored for that client, transaction_id set to the Harvest invoice ID, and the payment amount in the invoice's currency. Add the hours logged against the client's projects as a parameter, register it as a custom metric, and a calculated metric can divide revenue by hours per first user source.

The client_id has to come from the inquiry that started the relationship, which happened on your website months before Harvest knew the client existed. Keep a mapping from the Harvest client ID to the stored client_id in your CRM or a small table. Measurement Protocol only accepts timestamps up to 72 hours back, so the payment arrives on the payment date; session-scoped reports will not show it against the original campaign, while first user dimensions will.

The usual breakage is a retainer client paying monthly invoices, each sent as purchase without a stable transaction_id, so retries double count. Use the invoice ID, and send refund with that ID when Harvest records a credit note against it. Check whether Harvest can push payment events for your account before building; many setups poll the API for new payments on a schedule instead.

Harvest → GA4 · what breaks

Why this join usually fails — Harvest → GA4

  1. 01

    The GA4 client_id never reaches Harvest

    Time is logged by staff against projects days after the work, and the client relationship began months earlier.

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

  3. 03

    Everything lands under (direct)/(none)

    The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  4. 04

    Nothing reconciles afterwards

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

Harvest → GA4 · the fix

What working looks like — Harvest → GA4

  • The GA4 client_id on every invoice

  • Conversions arriving in GA4

    Conversions appear in GA4 attributed to the original session's source and medium, so acquisition reporting reflects what actually drove revenue.

  • Reconciled against the source

Harvest → GA4 · architecture

How Harvest and GA4 actually connect

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

    GA4 needs a click to match

    GA4 needs the client_id to attach a server event to the user and session that produced the click. Without it there is no attribution to inherit and the event is orphaned.

  3. 3

    The identifier is the bridge

    The GA4 client_id, captured at the visit and carried into the Harvest invoice.

  4. 4

    The event source decides reliability

    Send paid invoices at the amount received, and report effective hourly rate by acquisition source alongside.

  5. 5

    Deduplication at the destination

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

Harvest → GA4 · normal or broken

Working vs. broken, side by side — Harvest → GA4

Normal, not a fault

  • The GA4 client_id present on the invoice

  • Sent from the Harvest invoice payment

  • Deduplicated correctly

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

  • Reconciles with the source

Actually broken

  • The GA4 client_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 classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  • Nobody has reconciled it

Harvest → GA4 · diagnose

Diagnostic order — Harvest → GA4

  1. 01

    Count invoices carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

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

  4. 04

    Check whether server events carry a session and a source

    In GA4 Realtime or DebugView, find the event and look at its session and traffic source. A brand-new user with no source on every server event is the missing-client_id signature.

  5. 05

    Read the match rate, not the success message

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

Harvest → GA4 · prove

How it gets proven — Harvest → GA4

Source of truth

Harvest invoices paid, set against the tracked hours that produced them.

  • The GA4 client_id confirmed present on a live invoice.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Paid invoices and tracked hours reconciled by client against imported conversions.

Harvest → GA4 · free audit

What we check in the free audit

  • Count invoices carrying the GA4 client_id
  • Follow one real conversion end to end
  • Compare effective hourly rate by acquisition source
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Harvest invoices paid, set against the tracked hours that produced them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Harvest → GA4 · when not to buy

When you don't need this — Harvest → GA4

  • Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the GA4 client_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.
  • GA4 is reporting, not bidding. If your problem is ad platform optimization, fix the ad platform destination first — GA4 will not change what any campaign does.

Harvest → GA4 · what we deliver

What gets built — Harvest → GA4

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

    Measurement Protocol events with the client_id, session_id and the correct measurement ID and API secret, sent server-side.

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

Get my free conversion tracking audit

From $400 · See packages

FAQ

Harvest → GA4 questions, answered

Yes, if the GA4 client_id from the original inquiry is stored against the Harvest client and each payment is sent through Measurement Protocol with it. Read it by first user source, since the payment comes long after the session.

Free · 30 min

Get Harvest and GA4 joined properly

Free30 minutesNo obligation