Skip to main content
Loox → GA4Integration guide

Connecting Loox to GA4

Loox is photo reviews and referrals for Shopify, and the referral half is where the measurement problem lives — a customer-to-customer referral is not paid media, no matter which cookie is still sitting in the browser. 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 Loox referral 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

Loox referrals in GA4: let the referral visit own the sale

Make sure Loox referral links land with UTM parameters so GA4's last non-direct attribution credits the referral visit over an older paid session. Add the referral code in the purchase coupon parameter or a referral_source custom dimension. Don't send purchase from both Shopify's Google channel and Measurement Protocol, and keep review submissions as ordinary events, not key events.

GA4 is the destination where Loox referrals can be credited correctly with little engineering, because its default attribution favors the last non-direct visit rather than the last ad click. If the Loox referral link lands with UTM parameters, and you should check what it actually carries on your store, the referred visit outranks an older paid session and the purchase goes to referral. Without UTM tags, GA4 may record that visit as direct, and the earlier paid session keeps the credit.

Add the referral flag to the purchase event itself: the Loox referral code in GA4's coupon parameter, or a custom parameter such as referral_source registered as a custom dimension. That lets you compare referral and non-referral revenue in explorations regardless of which channel GA4 assigned. If purchase already comes from Shopify's Google and YouTube channel and you add Measurement Protocol too, one of them has to stop sending purchase; GA4 counts both.

Keep Loox review submissions as ordinary events, not key events. A photo upload happens after the purchase, usually from a review-request email, and marking it as a key event inflates conversion rates for whichever channel GA4 assigns to those email visits.

Loox → GA4 · what breaks

Why this join usually fails — Loox → GA4

  1. 01

    The GA4 client_id never reaches Loox

    Referral links route through Loox and land on your store with their own parameters, frequently overwriting or colliding with whatever was already stored.

  2. 02

    Word of mouth billed to the ad account

    The more successful your referral program is, the worse your paid reporting gets, which is a genuinely perverse outcome and an entirely avoidable one.

  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.

Loox → GA4 · the fix

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

Loox → GA4 · architecture

How Loox and GA4 actually connect

  1. 1

    Loox holds the truth

    Referral orders arrive from a friend's shared link. If your last-touch model has an old paid identifier persisted, that campaign takes the credit for a sale word of mouth produced.

  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 Loox referral order.

  4. 4

    The event source decides reliability

    Purchases, with referral-sourced orders marked and held out of paid conversion imports.

  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.

Loox → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the order

  • Sent from the Shopify order 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

    Referral links route through Loox and land on your store with their own parameters, frequently overwriting or colliding with whatever was already stored.

  • Sent from the browser

    The more successful your referral program is, the worse your paid reporting gets, which is a genuinely perverse outcome and an entirely avoidable one.

  • 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

Loox → GA4 · diagnose

Diagnostic order — Loox → GA4

  1. 01

    Count orders carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check precedence between referral and paid parameters

    Whichever wins in your storage logic determines who gets credit, and almost nobody has consciously chosen this.

  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.

Loox → GA4 · prove

How it gets proven — Loox → GA4

Source of truth

Shopify orders, flagged by whether a Loox referral link or review-reward coupon produced them.

  • 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.
  • Non-referral orders reconciled against imported conversions; referral volume reported separately.

Loox → 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 precedence between referral and paid parameters
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Shopify orders, flagged by whether a Loox referral link or review-reward coupon produced them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Loox → GA4 · when not to buy

When you don't need this — Loox → GA4

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the GA4 client_id.
  • No referral program means no conflict. Keep review events out of the conversion list and there is nothing else to do.
  • 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.

Loox → GA4 · what we deliver

What gets built — Loox → GA4

  • Identifier capture into Loox

    Detect the referral parameter explicitly and let it take precedence, rather than allowing a stale paid identifier to win by default.

  • Event source: the Shopify order record

    Purchases, with referral-sourced orders marked and held out of paid conversion imports.

  • 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 reduce the figure.

Written guarantee

95%+ tracking accuracy

Measured against Shopify orders, flagged by whether a Loox referral link or review-reward coupon produced them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Loox → GA4 questions, answered

Send the Loox referral code in the purchase event's coupon parameter, or a custom parameter registered as a custom dimension, and filter on it.

Free · 30 min

Get Loox and GA4 joined properly

Free30 minutesNo obligation