Skip to main content
BILL → GA4Integration guide

Connecting BILL to GA4

BILL automates accounts payable and receivable, which means most of what flows through it is money going out — and none of that is a conversion under any definition. 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 BILL receivable 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

BILL to GA4: proving which channel produced paying customers

Capture the GA4 client_id on the inquiry form, store it on the CRM deal, and carry it to the BILL customer. Send paid receivables through Measurement Protocol as purchase with the receivable number as transaction_id and the received amount as value, accepting it lands on the payment date. Filter out payables and send refunds on reversals.

GA4 is the one destination here where a BILL payment can be useful without ever touching a bid. The question it answers is whether the channel that brought a lead also brought a customer who paid, and that needs the GA4 client_id captured on the inquiry form, stored on the CRM deal, and carried through to the customer that BILL later invoices. BILL has no web session anywhere, so the client_id cannot come from BILL itself.

The timing is the obstacle. Measurement Protocol only accepts a backdated timestamp_micros within a short window (Google documents 72 hours; confirm the current limit), so a receivable paid 45 days after the inquiry lands on the payment date, not the inquiry date. Send it as a purchase with the receivable number as transaction_id and the amount actually received as value, and accept that it will appear in a later reporting period than the lead. Check whether GA4's offline event data import suits a monthly batch better than a live call.

The BILL-specific failure is direction. A sync that pulls every BILL payment sends supplier payments into GA4 as purchases, and GA4 has no way to tell. Filter to receivables before anything reaches Measurement Protocol, and send a refund event with the same transaction_id when a customer payment is reversed.

BILL → GA4 · what breaks

Why this join usually fails — BILL → GA4

  1. 01

    The GA4 client_id never reaches BILL

    There is no browser session anywhere in an accounts-payable system, and receivables are created from contracts signed elsewhere.

  2. 02

    Payables exported alongside receivables

    It sounds too obvious to happen and it happens regularly, because both are payment records in the same system. The result is supplier payments counted as revenue, which inflates the total by whatever your cost base is.

  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.

BILL → GA4 · the fix

What working looks like — BILL → GA4

  • The GA4 client_id on every payment

  • 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

BILL → GA4 · architecture

How BILL and GA4 actually connect

  1. 1

    BILL holds the truth

    Both are transactions with amounts and dates and both will export cheerfully into the same spreadsheet. Only one of them is revenue.

  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 BILL receivable.

  4. 4

    The event source decides reliability

    Send received payments on customer invoices only, at the amount received.

  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.

BILL → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the payment

  • Sent from the BILL receivable 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

    There is no browser session anywhere in an accounts-payable system, and receivables are created from contracts signed elsewhere.

  • Sent from the browser

    It sounds too obvious to happen and it happens regularly, because both are payment records in the same system. The result is supplier payments counted as revenue, which inflates the total by whatever your cost base is.

  • 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

BILL → GA4 · diagnose

Diagnostic order — BILL → GA4

  1. 01

    Count payments carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check the direction field on every record before importing anything

    One column. Getting it wrong is not a small error, it is a sign-flip on a large share of the data.

  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.

BILL → GA4 · prove

How it gets proven — BILL → GA4

Source of truth

BILL receivables marked paid, strictly separated from payables.

  • The GA4 client_id confirmed present on a live payment.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Customer payments received reconciled against imported conversions, with payables demonstrably excluded.

BILL → GA4 · free audit

What we check in the free audit

  • Count payments carrying the GA4 client_id
  • Follow one real conversion end to end
  • Check the direction field on every record before importing anything
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

BILL receivables marked paid, strictly separated from payables.

Get my free conversion tracking audit

Free30 minutesNo obligation

BILL → GA4 · when not to buy

When you don't need this — BILL → GA4

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the GA4 client_id.
  • If you use BILL only for payables, there is nothing here to attribute and no integration to build.
  • 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.

BILL → GA4 · what we deliver

What gets built — BILL → GA4

  • Identifier capture into BILL

    Attribute at the CRM or contract stage and use BILL only to confirm the money actually arrived.

  • Event source: the BILL receivable payment

    Send received payments on customer invoices only, at the amount received.

  • 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

    Reversed and disputed payments reverse.

Written guarantee

95%+ tracking accuracy

Measured against BILL receivables marked paid, strictly separated from payables.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

BILL → GA4 questions, answered

Yes, through Measurement Protocol, provided you stored the GA4 client_id from the original inquiry on the customer record. Without it the payment lands as a new user under (direct)/(none).

Free · 30 min

Get BILL and GA4 joined properly

Free30 minutesNo obligation