Skip to main content
Stamped → GA4Integration guide

Connecting Stamped to GA4

Stamped bundles reviews with loyalty and rewards for mid-market ecommerce, so like Yotpo it produces genuine repeat revenue that must not be confused with acquisition. 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 Stamped reward 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

Stamped in GA4: reward codes in the coupon field, apart

Pass the Stamped reward, review or referral code into the coupon parameter of the GA4 purchase event, and add an order_type custom dimension such as first_order or reward_repeat. Tag Stamped email and referral links with UTMs so they do not land as direct or Stamped referrals. Server-side, take both values from the order and send refunds on the same transaction_id.

GA4's purchase event already has a coupon parameter, and it is the cheapest way to separate Stamped reward and referral orders from everything else. Make sure the Stamped reward code, review coupon or referral code applied to the order is passed into coupon on the purchase, and add an order_type parameter with values like first_order and reward_repeat registered as a custom dimension. Then a single exploration shows paid acquisition revenue with reward-driven repeat orders filtered out.

Stamped referral and reward links may pass through a Stamped domain before reaching your store. Check what source GA4 records on those sessions: if they arrive as a referral from Stamped or as (direct)/(none), reward revenue gets attributed to a channel that did nothing, or credited to whatever paid click the customer made months ago. Adding UTM parameters to the links in Stamped's emails and referral shares, where the settings allow it, puts that revenue under a channel you can name.

If you send purchases server-side through Measurement Protocol, pull the coupon and order type from the order rather than the browser, and keep the browser purchase or the server one, not both; GA4 will not deduplicate them for you. Refunds on reward orders go back as refund events on the same transaction_id so the retention figure stays net.

Stamped → GA4 · what breaks

Why this join usually fails — Stamped → GA4

  1. 01

    The GA4 client_id never reaches Stamped

    Widgets render in Stamped-served frames; referral and reward links route through Stamped before returning to your store.

  2. 02

    Two programs claiming the same order

    Paid acquisition and the rewards program will both count a reward-driven repeat purchase, and neither will mention it. The order gets paid for twice in the reporting and once in reality.

  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.

Stamped → GA4 · the fix

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

Stamped → GA4 · architecture

How Stamped and GA4 actually connect

  1. 1

    Stamped holds the truth

    Reward-driven orders are retention revenue. They belong in a retention figure, and they belong out of the paid acquisition figure.

  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 Stamped reward redemption.

  4. 4

    The event source decides reliability

    Purchases, tagged first-order versus reward-driven repeat.

  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.

Stamped → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the redemption

  • Sent from your order feed with Stamped 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

    Widgets render in Stamped-served frames; referral and reward links route through Stamped before returning to your store.

  • Sent from the browser

    Paid acquisition and the rewards program will both count a reward-driven repeat purchase, and neither will mention it. The order gets paid for twice in the reporting and once in reality.

  • 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

Stamped → GA4 · diagnose

Diagnostic order — Stamped → GA4

  1. 01

    Count redemptions carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Count reward-coded orders inside the paid figure

    The overlap is the overstatement, and it is usually larger than anyone expects on stores with mature loyalty programs.

  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.

Stamped → GA4 · prove

How it gets proven — Stamped → GA4

Source of truth

Store orders flagged by whether a Stamped reward, review coupon or referral 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 orders reconciled against imported conversions, reward-driven orders excluded and reported on their own.

Stamped → 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 reward-coded orders inside the paid figure
  • 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 Stamped reward, review coupon or referral applied.

Get my free conversion tracking audit

Free30 minutesNo obligation

Stamped → GA4 · when not to buy

When you don't need this — Stamped → GA4

  • Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the GA4 client_id.
  • Reviews-only setups need nothing here beyond keeping review events out of the conversion list.
  • 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.

Stamped → GA4 · what we deliver

What gets built — Stamped → GA4

  • Identifier capture into Stamped

    Capture on your own domain first, then record the reward code on the resulting order so the two revenue types stay separable forever after.

  • Event source: your order feed with Stamped attributes attached

    Purchases, tagged first-order versus reward-driven repeat.

  • 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 Store orders flagged by whether a Stamped reward, review coupon or referral applied.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Stamped → GA4 questions, answered

Pass the reward or referral code into the purchase coupon parameter and add an order type custom dimension, then filter reward orders out of acquisition reports.

Free · 30 min

Get Stamped and GA4 joined properly

Free30 minutesNo obligation