Skip to main content
Yotpo → GA4Integration guide

Connecting Yotpo to GA4

Yotpo runs reviews, loyalty points and SMS off one customer record, and the loyalty half generates real redemptions — which means it is one of the few review platforms that genuinely touches revenue. 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 Yotpo loyalty redemption 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

Yotpo to GA4: loyalty and referral revenue next to paid

Add an order-type parameter to the GA4 purchase event, first order, loyalty redemption or referral, populated from the Yotpo code on the order and registered as a custom dimension. Add UTM parameters to Yotpo referral links if you control their format, and never send a second purchase for the redemption. Widget interactions need Yotpo's own events.

GA4 is where Yotpo's three revenue types can sit side by side, because you control the parameters. Add an order-type parameter to the purchase event (first order, loyalty redemption, referral), populated from the reward or referral code on the order and registered as a custom dimension. Channel reports can then show paid search revenue with and without retention orders inside it.

Yotpo referral links route through Yotpo before reaching your store. Check whether they arrive with UTM parameters, and add them if you control the referral link format, so referred sessions show as referral rather than (direct). Yotpo's review and loyalty widgets render in their own frames, so GA4 events for widget interactions have to come from whatever events or integration your Yotpo plan exposes, not from your page tag.

For Shopify stores the purchase usually comes from Shopify's GA4 integration or your own server. Whichever sends it, do not add a second purchase for the Yotpo redemption; send a separate event if you need the redemption counted. Reversed loyalty points do not change revenue, and refunds still go as a GA4 refund event with the order's transaction_id.

Yotpo → GA4 · what breaks

Why this join usually fails — Yotpo → GA4

  1. 01

    The GA4 client_id never reaches Yotpo

    Reviews and loyalty widgets render in Yotpo-served frames that do not share your page's storage, and referral links route through Yotpo before landing on your site.

  2. 02

    Retention revenue laundered into acquisition performance

    This is the specific failure mode of every combined reviews-and-loyalty platform. A referral code brings in an order, the order carries the referrer's original click identifier, and a paid campaign gets credit for revenue a retention program created.

  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.

Yotpo → GA4 · the fix

What working looks like — Yotpo → GA4

  • The GA4 client_id on every redemption

  • 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

Yotpo → GA4 · architecture

How Yotpo and GA4 actually connect

  1. 1

    Yotpo holds the truth

    The flag is what matters. A redeemed order is revenue that a retention program produced, and crediting it to the paid click that acquired the customer eighteen months ago overstates that campaign badly.

  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 Yotpo loyalty redemption.

  4. 4

    The event source decides reliability

    Send purchases with a channel attribute distinguishing first orders, loyalty-driven repeats and referral-driven orders. Three different economics, three different owners.

  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.

Yotpo → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the redemption

  • Sent from your order feed with Yotpo attributes attached

  • 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

    Reviews and loyalty widgets render in Yotpo-served frames that do not share your page's storage, and referral links route through Yotpo before landing on your site.

  • Sent from the browser

    This is the specific failure mode of every combined reviews-and-loyalty platform. A referral code brings in an order, the order carries the referrer's original click identifier, and a paid campaign gets credit for revenue a retention program created.

  • 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

Yotpo → GA4 · diagnose

Diagnostic order — Yotpo → GA4

  1. 01

    Count redemptions carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Count orders carrying a reward or referral code

    Then check whether any of them appear in your paid conversion figures. If they do, the acquisition numbers are inflated by exactly that amount.

  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.

Yotpo → GA4 · prove

How it gets proven — Yotpo → GA4

Source of truth

Orders in your store, flagged by whether a Yotpo loyalty reward or referral code was applied.

  • The GA4 client_id confirmed present on a live redemption.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • First-time-buyer orders reconciled against imported conversions, with loyalty and referral orders excluded and reported separately.

Yotpo → GA4 · free audit

What we check in the free audit

  • Count redemptions carrying the GA4 client_id
  • Follow one real conversion end to end
  • Count orders carrying a reward or referral code
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Orders in your store, flagged by whether a Yotpo loyalty reward or referral code was applied.

Get my free conversion tracking audit

Free30 minutesNo obligation

Yotpo → GA4 · when not to buy

When you don't need this — Yotpo → GA4

  • Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the GA4 client_id.
  • If you run Yotpo for reviews only and have no loyalty or referral program, this reduces to the Trustpilot case: keep reviews out of your conversion list and stop there.
  • 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.

Yotpo → GA4 · what we deliver

What gets built — Yotpo → GA4

  • Identifier capture into Yotpo

    Capture the identifier on your own domain before any widget interaction, and record the reward or referral code on the order so acquisition and retention revenue can be told apart afterwards.

  • Event source: your order feed with Yotpo attributes attached

    Send purchases with a channel attribute distinguishing first orders, loyalty-driven repeats and referral-driven orders. Three different economics, three different owners.

  • 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; reversed loyalty points do not.

Written guarantee

95%+ tracking accuracy

Measured against Orders in your store, flagged by whether a Yotpo loyalty reward or referral code was applied.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Yotpo → GA4 questions, answered

Send the order's reward or referral status as a parameter on the purchase event and register it as a custom dimension, then filter channel reports by it.

Free · 30 min

Get Yotpo and GA4 joined properly

Free30 minutesNo obligation