Skip to main content
Close → GA4Integration guide

Connecting Close to GA4

Close is a sales CRM built around calling and email sequences, which means most of what it records is outbound activity rather than inbound marketing. 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 Close opportunity 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

Close won opportunities in GA4, tied to the inbound visit

Write the GA4 client_id and session_id to Close lead custom fields when the inbound form creates the lead. Send generate_lead from the form, then close_convert_lead through Measurement Protocol when the opportunity is won, with value and currency. Skip leads without a client_id, which are outbound, read results by first user source, and use disqualify_lead for rejected leads.

GA4 can only credit a Close opportunity to a campaign if the website visit that created the lead left its client_id behind. Write the client_id and session_id to custom fields on the Close lead when the inbound form creates it, send generate_lead from the form, and send close_convert_lead (GA4's recommended event for a lead becoming a customer) through Measurement Protocol when the opportunity is marked won, with the opportunity value and currency.

Outbound-prospected leads in Close have no client_id at all, and that is useful: filter on its presence as well as on lead source. Sending a won outbound deal through Measurement Protocol without a client_id creates a new GA4 user under (direct)/(none) and inflates direct revenue with cold-calling results. Measurement Protocol also accepts timestamps only up to 72 hours back, so the won event lands on the close date, weeks after the session; read it through user-scoped first user source, not session source.

Close opportunities can be reopened and marked lost, and GA4 has no clean way to retract a lead event. Send the won event only when the status is final enough for your team, and use disqualify_lead for leads sales rejects, which is also one of GA4's recommended lead events. Set value from the opportunity and respect its value period, so a monthly-value deal is not reported as if it were a one-time sale.

Close → GA4 · what breaks

Why this join usually fails — Close → GA4

  1. 01

    The GA4 client_id never reaches Close

    The identifier has to reach the lead and then the opportunity, and Close's model means many records originate from outbound prospecting with no marketing touch at all. Those must be distinguishable or they contaminate every conversion number.

  2. 02

    Outbound prospecting credited to paid

    Close is built for outbound. If lead source is not recorded and filtered, won deals from cold calling will be attributed to whichever campaign happened to be running.

  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.

Close → GA4 · the fix

What working looks like — Close → GA4

  • The GA4 client_id on every opportunity

  • 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

Close → GA4 · architecture

How Close and GA4 actually connect

  1. 1

    Close holds the truth

    Close's strength is activity data — calls, emails, sequences. The commercial record is the opportunity, and separating inbound-sourced opportunities from outbound-prospected ones is essential or your paid channels get credit for cold calling.

  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 Close opportunity.

  4. 4

    The event source decides reliability

    Fire when an opportunity is marked won, from inbound-sourced leads only, with the opportunity value.

  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.

Close → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the opportunity

  • Sent from the Close opportunity status webhook

  • 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

    GA4's count and Close's records agree within a few percent over a closed window.

Actually broken

  • The GA4 client_id missing on most records

    The identifier has to reach the lead and then the opportunity, and Close's model means many records originate from outbound prospecting with no marketing touch at all. Those must be distinguishable or they contaminate every conversion number.

  • Sent from the browser

    Anyone who closes the tab, blocks the script or converts without a page load is invisible. Close is built for outbound. If lead source is not recorded and filtered, won deals from cold calling will be attributed to whichever campaign happened to be running.

  • 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

Close → GA4 · diagnose

Diagnostic order — Close → GA4

  1. 01

    Count opportunitys carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what share of won opportunities originated inbound

    In an outbound-heavy Close instance it is often a small minority, and only that minority should reach an ad platform.

  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.

Close → GA4 · prove

How it gets proven — Close → GA4

Source of truth

Close's won opportunities by close date, at their values.

  • The GA4 client_id confirmed present on a live opportunity.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Won opportunities confirmed filtered to inbound-sourced leads before anything is sent.
  • Reconciled over a fully closed window, matched per record rather than on totals.

Close → GA4 · free audit

What we check in the free audit

  • Count opportunitys carrying the GA4 client_id
  • Follow one real conversion end to end
  • Check what share of won opportunities originated inbound
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Close's won opportunities by close date, at their values.

Get my free conversion tracking audit

Free30 minutesNo obligation

Close → GA4 · when not to buy

When you don't need this — Close → GA4

  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry the GA4 client_id.
  • If your pipeline is almost entirely outbound, there is very little for paid attribution to measure and we would say so.
  • 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.

Close → GA4 · what we deliver

What gets built — Close → GA4

  • Identifier capture into Close

    Write the identifier to a custom field on the lead at creation and carry it to the opportunity, and flag lead source so outbound-created records are separable.

  • Event source: the Close opportunity status webhook

    Fire when an opportunity is marked won, from inbound-sourced leads only, with the opportunity value.

  • 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

    An opportunity reopened and lost should not leave a conversion standing.

Written guarantee

95%+ tracking accuracy

Measured against Close's won opportunities by close date, at their values.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Close → GA4 questions, answered

Store the GA4 client_id on the Close lead at form submit and send close_convert_lead through Measurement Protocol with that client_id when the opportunity is won. Report on first user source or campaign, since the original session ended long before the deal closed.

Free · 30 min

Get Close and GA4 joined properly

Free30 minutesNo obligation