Skip to main content
Swipe Pages → GA4Integration guide

Connecting Swipe Pages to GA4

Swipe Pages optimises for mobile speed, which is exactly the case where a slow-loading tracking script loses the identifier for the visitors you most wanted to reach. 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 Swipe Pages 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

Swipe Pages to GA4: AMP pages and the lost client_id

For Swipe Pages to GA4, first check whether pages are AMP, where GA4 is limited and the AMP cache can break client_id matching. Write the client_id into a hidden form field early, then send generate_lead and later qualify_lead from the CRM through Measurement Protocol. Pick one sender, since GA4 won't dedupe browser and server generate_lead.

Swipe Pages can publish AMP pages, and AMP is where GA4 struggles. AMP restricts custom JavaScript, GA4's AMP support is more limited than the standard tag, and an AMP page served from Google's AMP cache sits on a different domain from your site, so the client_id on that visit may not match the one your main site or CRM sees later. Check whether your pages are AMP, and if they are, test what GA4 actually records.

For the lead itself, send generate_lead from the CRM through Measurement Protocol once the lead arrives, and qualify_lead when it is qualified, with the client_id written into a hidden form field. On a fast page that field has to be filled before the visitor submits, which means the GA4 tag must run early enough to set the _ga cookie and the field must be filled straight after, not by a script that loads after the form.

If Swipe Pages serves the page on a different root domain from your main site, set up cross-domain measurement so a visitor who continues to the main site isn't counted twice. GA4 also won't dedupe a browser generate_lead fired on the Swipe Pages thank-you page against a server one, so pick one sender.

Swipe Pages → GA4 · what breaks

Why this join usually fails — Swipe Pages → GA4

  1. 01

    The GA4 client_id never reaches Swipe Pages

    Mobile social traffic arrives in in-app browsers with partitioned storage and short sessions.

  2. 02

    Capture losing the race against a fast page

    The faster the page, the earlier the visitor acts, and the more likely a script that loads late misses them entirely. On mobile social traffic this can be a large minority of arrivals.

  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.

Swipe Pages → GA4 · the fix

What working looks like — Swipe Pages → 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

Swipe Pages → GA4 · architecture

How Swipe Pages and GA4 actually connect

  1. 1

    Swipe Pages holds the truth

    Fast pages attract fast bounces. On mobile social traffic, a visitor can arrive, decide and leave before a late-loading script has run at all.

  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 Swipe Pages conversion.

  4. 4

    The event source decides reliability

    Send qualified outcomes with the source captured at first paint.

  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.

Swipe Pages → GA4 · normal or broken

Working vs. broken, side by side — Swipe Pages → GA4

Normal, not a fault

  • The GA4 client_id present on the conversion

  • Sent from your CRM record

  • 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

    Mobile social traffic arrives in in-app browsers with partitioned storage and short sessions.

  • Sent from the browser

    The faster the page, the earlier the visitor acts, and the more likely a script that loads late misses them entirely. On mobile social traffic this can be a large minority of arrivals.

  • 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

Swipe Pages → GA4 · diagnose

Diagnostic order — Swipe Pages → GA4

  1. 01

    Count conversions carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check where capture sits in the load order

    If it is not in the head, some share of your fastest-converting visitors are being lost.

  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.

Swipe Pages → GA4 · prove

How it gets proven — Swipe Pages → GA4

Source of truth

Your CRM, 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 capture verified in the head.

Swipe Pages → 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 where capture sits in the load order
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Your CRM, joined to the form submission.

Get my free conversion tracking audit

Free30 minutesNo obligation

Swipe Pages → GA4 · when not to buy

When you don't need this — Swipe Pages → GA4

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the GA4 client_id.
  • On slow desktop-heavy traffic the timing is more forgiving, though head placement is still correct.
  • 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.

Swipe Pages → GA4 · what we deliver

What gets built — Swipe Pages → GA4

  • Identifier capture into Swipe Pages

    Capture in the document head, before anything else renders, and carry the identifier in the URL rather than relying on storage.

  • Event source: your CRM record

    Send qualified outcomes with the source captured at first paint.

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

Swipe Pages → GA4 questions, answered

Partially. GA4's AMP support is more limited than the standard tag, so check what your property records and capture leads server-side with the client_id.

Free · 30 min

Get Swipe Pages and GA4 joined properly

Free30 minutesNo obligation