Skip to main content
Keap → GA4Integration guide

Connecting Keap to GA4

Keap holds the order, the subscription and the opportunity for small businesses running on automation. 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 Keap contact record 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

Keap orders and opportunities in GA4 with a stable client_id

If Keap order forms run on a Keap domain, pass your site's GA4 client_id in and write it once to a guarded contact field. A Keap automation's HTTP post then has your server send Measurement Protocol events: purchase for paid orders with the Keap order ID as transaction_id, and a custom won_opportunity event for pipeline wins. Send refunds too.

Keap order forms and landing pages may be served from a Keap domain rather than yours; check where yours run. If they are, the _ga cookie on that page is not your site's, so the GA4 client_id has to be passed in from your site and written once to a custom contact field, guarded the same way as the click IDs so a later visit from another device cannot replace it.

Map Keap's two money models to two GA4 events. A paid order becomes purchase, with the order ID as transaction_id and the products as items. A won pipeline opportunity becomes a custom won_opportunity event, or a purchase with an item category marking it as a service, so GA4 revenue reports can split the two. Fire both from a Keap automation's HTTP post to your server, which calls Measurement Protocol.

The Keap-specific confusion in GA4 is email. Keap broadcasts bring buyers back to your site with their own UTMs, so many purchases show email as the session source. That is GA4 reporting correctly, not a bug. To see which channel acquired the buyer, read first user source rather than session source. Send refunds as GA4 refund events with the same transaction_id so revenue by source is net of what was returned.

Keap → GA4 · what breaks

Why this join usually fails — Keap → GA4

  1. 01

    The GA4 client_id never reaches Keap

    Keap's automation touches contacts constantly, so an identifier written to a contact field without a guard will be overwritten by a later nurture sequence, quietly reassigning credit from paid acquisition to your own email.

  2. 02

    Tags that look like conversions and are not

    Sending tag applications teaches an ad platform to find people who trigger your own automation, which is a far larger and far less valuable population than your buyers.

  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.

Keap → GA4 · the fix

What working looks like — Keap → GA4

  • The GA4 client_id on every order

  • 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

Keap → GA4 · architecture

How Keap and GA4 actually connect

  1. 1

    Keap holds the truth

    Keap carries two money models at once — product orders and service opportunities — and which applies depends on what the business sells.

  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 Keap contact record.

  4. 4

    The event source decides reliability

    Fire on order paid or opportunity won. Not on tag applied — Keap tags come from automated sequences as readily as from sales events and nothing outside Keap can tell them apart.

  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.

Keap → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the order

  • Sent from an HTTP post from a Keap automation on a money event

  • 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

    Keap's automation touches contacts constantly, so an identifier written to a contact field without a guard will be overwritten by a later nurture sequence, quietly reassigning credit from paid acquisition to your own email.

  • Sent from the browser

    Sending tag applications teaches an ad platform to find people who trigger your own automation, which is a far larger and far less valuable population than your buyers.

  • 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

Keap → GA4 · diagnose

Diagnostic order — Keap → GA4

  1. 01

    Count orders carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the identifier field survives a nurture click

    Look at a contact who engaged after converting. If the field changed, your email is taking credit from paid.

  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.

Keap → GA4 · prove

How it gets proven — Keap → GA4

Source of truth

Keap's paid orders and won opportunities by date, at their amounts.

  • The GA4 client_id confirmed present on a live order.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • A contact confirmed to retain its original identifier after a later automation touch.

Keap → GA4 · free audit

What we check in the free audit

  • Count orders carrying the GA4 client_id
  • Follow one real conversion end to end
  • Check whether the identifier field survives a nurture click
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Keap's paid orders and won opportunities by date, at their amounts.

Get my free conversion tracking audit

Free30 minutesNo obligation

Keap → GA4 · when not to buy

When you don't need this — Keap → GA4

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the GA4 client_id.
  • If money is taken in a separate system you already track, the Keap side may only need the identifier preserved.
  • 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.

Keap → GA4 · what we deliver

What gets built — Keap → GA4

  • Identifier capture into Keap

    Write the identifier to a custom contact field once at first touch, with a condition preventing later sequences from rewriting it.

  • Event source: an HTTP post from a Keap automation on a money event

    Fire on order paid or opportunity won. Not on tag applied — Keap tags come from automated sequences as readily as from sales events and nothing outside Keap can tell them apart.

  • 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

    Refunds are recorded and should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against Keap's paid orders and won opportunities by date, at their amounts.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Keap → GA4 questions, answered

Have a Keap automation post the paid order to your server, which sends a purchase event through Measurement Protocol with the client_id stored on the contact and the order ID as transaction_id.

Free · 30 min

Get Keap and GA4 joined properly

Free30 minutesNo obligation