Skip to main content
Leadpages → GA4Integration guide

Connecting Leadpages to GA4

Leadpages serves smaller businesses where the landing page frequently is the whole website, which means there is no wider site to capture on before the form. 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 Leadpages conversion 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

Leadpages to GA4: client_id in a hidden field, outcome via MP

Read the GA4 client_id and session_id into Leadpages hidden fields at page load and pass them to your CRM with the lead. When the lead qualifies, send qualify_lead through Measurement Protocol with that client_id so it inherits the campaign. A Leadpages subdomain splits users from your main site, and only one event should be the key event.

Leadpages lets you add tracking code to a page, so GA4 can load there through gtag or a GTM container; check where your plan exposes that setting. The form then shows a message or redirects to a thank-you page. If the page sits on a Leadpages subdomain rather than your own domain, the `_ga` cookie belongs to that subdomain, and a visitor who later reaches your main site counts as a separate user.

Because the landing page is the only place you get, read the `client_id` from the `_ga` cookie, and the current `session_id`, into hidden fields at page load, and map them through to your CRM or email platform with the lead. When the lead qualifies days later, send a `qualify_lead` event through the Measurement Protocol with that `client_id`, so the outcome inherits the campaign that brought the visitor. GA4's lead-generation recommended events include `qualify_lead` and `close_convert_lead`; confirm the names in current docs before building reports on them.

Mark only one of the form fill and the qualified lead as the key event you judge campaigns on. Leadpages' own conversion count will not match GA4's form events either, since consent banners and blockers remove some browser hits; the CRM is the reference.

Leadpages → GA4 · what breaks

Why this join usually fails — Leadpages → GA4

  1. 01

    The GA4 client_id never reaches Leadpages

    Pages may sit on a Leadpages subdomain, and the form is the only place an identifier can be recorded.

  2. 02

    No first-party page to capture on

    Where the hosted page is the whole site, standard capture techniques are unavailable. A URL parameter into a hidden field is the entire mechanism, and if it is not configured the traffic is unattributable.

  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.

Leadpages → GA4 · the fix

What working looks like — Leadpages → GA4

  • The GA4 client_id on every conversion

  • 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

Leadpages → GA4 · architecture

How Leadpages and GA4 actually connect

  1. 1

    Leadpages holds the truth

    When the landing page is the entire web presence, capture has to happen on that page or not at all. There is no earlier session to fall back on.

  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 Leadpages conversion.

  4. 4

    The event source decides reliability

    Send the qualified outcome rather than the form fill, with the source from the hidden field.

  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.

Leadpages → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the conversion

  • Sent from your CRM or email platform

  • 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

    Pages may sit on a Leadpages subdomain, and the form is the only place an identifier can be recorded.

  • Sent from the browser

    Where the hosted page is the whole site, standard capture techniques are unavailable. A URL parameter into a hidden field is the entire mechanism, and if it is not configured the traffic is unattributable.

  • 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

Leadpages → GA4 · diagnose

Diagnostic order — Leadpages → GA4

  1. 01

    Count conversions carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the hidden field is populated on live submissions

    Not whether it exists — whether real submissions carry values.

  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.

Leadpages → GA4 · prove

How it gets proven — Leadpages → GA4

Source of truth

Your CRM or email platform, joined to the form submission.

  • The GA4 client_id confirmed present on a live conversion.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Qualified outcomes reconciled against imported conversions, with the hidden field verified populated.

Leadpages → GA4 · free audit

What we check in the free audit

  • Count conversions carrying the GA4 client_id
  • Follow one real conversion end to end
  • Check whether the hidden field is populated on live submissions
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Your CRM or email platform, joined to the form submission.

Get my free conversion tracking audit

Free30 minutesNo obligation

Leadpages → GA4 · when not to buy

When you don't need this — Leadpages → GA4

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the GA4 client_id.
  • If your Leadpages sits behind your own domain and site, capture normally and pass through.
  • 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.

Leadpages → GA4 · what we deliver

What gets built — Leadpages → GA4

  • Identifier capture into Leadpages

    Read the identifier from the URL into a hidden field at page load, because that is the only opportunity you get.

  • Event source: your CRM or email platform

    Send the qualified outcome rather than the form fill, with the source from the hidden field.

  • 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

    Disqualified leads reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM or email platform, joined to the form submission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Leadpages → GA4 questions, answered

You can add the GA4 tag through the page's tracking code settings; check your plan. That covers page views and the form step, but qualified outcomes still have to be sent from your CRM.

Free · 30 min

Get Leadpages and GA4 joined properly

Free30 minutesNo obligation