Skip to main content
Recart → GA4Integration guide

Connecting Recart to GA4

Recart recovers carts over SMS and messaging rather than email, which shortens the recovery window dramatically and puts the message somewhere the customer will see within minutes. 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 Recart recovered order 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

Recart to GA4: SMS recoveries that take paid channel credit

Send the purchase to GA4 from the Shopify order via Measurement Protocol, using the client_id written to a cart attribute before abandonment, which the order inherits if the Recart link reopens the same checkout (confirm on a test order). Add a recovered_by custom dimension, so the order stays on the original user and source with the recovery visible.

GA4 sees a Recart recovery differently from the ad platforms. If the recovery link carries UTM parameters (check what Recart appends on your account), the tap starts a new session with that source, and GA4's reports credit SMS. If it carries none, the tap often opens the phone's default browser rather than the one the shopper was using, which holds a different _ga cookie, so GA4 sees a new user arriving direct.

Neither is what you want. Send purchase from the order record via Measurement Protocol with the client_id written to a cart attribute on the storefront before abandonment, which the order inherits if the recovery link reopens the same Shopify checkout (confirm on a test order), plus a recovered_by parameter registered as a custom dimension. The purchase then lands on the original user and source, with the recovery visible as a dimension rather than a fight between channels.

Add minutes from abandonment to purchase as a parameter too. Plotted against the paid sessions that started those carts, it shows how often SMS closes carts within the hour, which is the case where a paid session and a recovery are hardest to separate.

Recart → GA4 · what breaks

Why this join usually fails — Recart → GA4

  1. 01

    The GA4 client_id never reaches Recart

    The customer taps a link in a message app, which frequently opens an in-app browser with partitioned storage.

  2. 02

    Fast recovery hiding inside the original session

    Because SMS recovery is quick, the recovered order can look like an uninterrupted paid session. The paid campaign takes full credit for an order that a paid message closed, and the SMS cost never appears against it.

  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.

Recart → GA4 · the fix

What working looks like — Recart → GA4

  • The GA4 client_id on every recovery

  • 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

Recart → GA4 · architecture

How Recart and GA4 actually connect

  1. 1

    Recart holds the truth

    SMS recovery closes carts within an hour rather than a day, which means the recovered order frequently falls inside the same session window as the original paid click — making the double-claim harder to spot, not easier.

  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 Recart recovered order.

  4. 4

    The event source decides reliability

    Send orders with recovery flagged, and account for the per-message cost of SMS in the channel's economics.

  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.

Recart → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the recovery

  • Sent from your order record with recovery attribution

  • 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

    The customer taps a link in a message app, which frequently opens an in-app browser with partitioned storage.

  • Sent from the browser

    Because SMS recovery is quick, the recovered order can look like an uninterrupted paid session. The paid campaign takes full credit for an order that a paid message closed, and the SMS cost never appears against it.

  • 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

Recart → GA4 · diagnose

Diagnostic order — Recart → GA4

  1. 01

    Count recoverys carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare time from abandonment to recovery against your session window

    If recovery routinely happens inside the session window, the two channels are indistinguishable without an explicit flag.

  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.

Recart → GA4 · prove

How it gets proven — Recart → GA4

Source of truth

Store orders flagged by whether a messaging recovery preceded them.

  • The GA4 client_id confirmed present on a live recovery.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Orders reconciled with recovery flagged and SMS send cost attributed to the recovery channel.

Recart → GA4 · free audit

What we check in the free audit

  • Count recoverys carrying the GA4 client_id
  • Follow one real conversion end to end
  • Compare time from abandonment to recovery against your session window
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Store orders flagged by whether a messaging recovery preceded them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Recart → GA4 · when not to buy

When you don't need this — Recart → GA4

  • Measure identifier coverage yourself first — pull your last hundred recoverys and count how many carry the GA4 client_id.
  • If you recover only by email, the longer window makes the two channels naturally separable.
  • 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.

Recart → GA4 · what we deliver

What gets built — Recart → GA4

  • Identifier capture into Recart

    Carry the identifier in the recovery link itself rather than relying on storage surviving the in-app browser.

  • Event source: your order record with recovery attribution

    Send orders with recovery flagged, and account for the per-message cost of SMS in the channel's economics.

  • 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 reverse.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by whether a messaging recovery preceded them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Recart → GA4 questions, answered

If the recovery link carries UTMs, the tap starts a new session with that source and GA4 gives it the sale. Send the purchase with the original client_id and a recovery flag.

Free · 30 min

Get Recart and GA4 joined properly

Free30 minutesNo obligation