Skip to main content
Rakuten Advertising → GA4Integration guide

Connecting Rakuten Advertising to GA4

Rakuten's network is closely tied to a consumer cashback proposition, which puts a large population of shoppers who route through cashback as a habit into your affiliate programme. 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 Rakuten transaction 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

Rakuten Advertising to GA4: separating cashback orders in reports

Tag Rakuten Advertising links with utm_medium affiliate, or GA4 files cashback visits as referral. Add a publisher type custom dimension from the landing URL parameter or the order's Rakuten attribution, send purchase and refunds with transaction_id equal to your order ID to match Rakuten's report, and record commission as a custom metric, not purchase value.

GA4's last-click view rewards Rakuten cashback clicks for the same reason commissions do: the portal is the shopper's deliberate final step before checkout. GA4's default channel grouping files that traffic under Affiliates only when utm_medium is affiliate, so check how your Rakuten links are tagged; without UTMs the visit lands as referral from the cashback site and Rakuten's real share is spread across other channels.

Add publisher type as a custom dimension, with cashback as one value, set from the publisher identifier on the Rakuten landing URL (check which parameter your program passes) or from the order's Rakuten attribution server-side. A GA4 exploration can then show how often a cashback order followed a paid search or social session earlier the same day, which is the overwrite pattern made visible.

Send purchase with transaction_id equal to your order ID so it lines up with Rakuten's transaction report, and send refunds with the same ID; Rakuten reverses commission on refunds and GA4 revenue should move the same way. Keep commission out of GA4's purchase value and record it as a custom metric, so finance can still reconcile gross revenue.

Rakuten Advertising → GA4 · what breaks

Why this join usually fails — Rakuten Advertising → GA4

  1. 01

    The GA4 client_id never reaches Rakuten Advertising

    Cashback clicks arrive immediately before checkout, overwriting whatever earlier identifier was stored.

  2. 02

    Paying commission on customers you already had

    A returning customer who routes through cashback before every purchase costs you a commission on revenue that required no acquisition. Whether that is acceptable is a business decision — but it should be a decision, not an accident.

  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.

Rakuten Advertising → GA4 · the fix

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

Rakuten Advertising → GA4 · architecture

How Rakuten Advertising and GA4 actually connect

  1. 1

    Rakuten Advertising holds the truth

    Cashback shoppers frequently already intended to buy. Their click happens last, deliberately, to capture the reward — which is exactly the pattern last-click attribution rewards most.

  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 Rakuten transaction.

  4. 4

    The event source decides reliability

    Send orders net of commission, with cashback-sourced orders reported as their own category.

  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.

Rakuten Advertising → GA4 · normal or broken

Working vs. broken, side by side — Rakuten Advertising → GA4

Normal, not a fault

  • The GA4 client_id present on the conversion

  • Sent from your order record with Rakuten 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

    Cashback clicks arrive immediately before checkout, overwriting whatever earlier identifier was stored.

  • Sent from the browser

    A returning customer who routes through cashback before every purchase costs you a commission on revenue that required no acquisition. Whether that is acceptable is a business decision — but it should be a decision, not an accident.

  • 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

Rakuten Advertising → GA4 · diagnose

Diagnostic order — Rakuten Advertising → GA4

  1. 01

    Count conversions carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure what share of cashback-attributed orders are from existing customers

    If it is high, you are paying an acquisition cost on retention, and the commission structure is the lever rather than the tracking.

  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.

Rakuten Advertising → GA4 · prove

How it gets proven — Rakuten Advertising → GA4

Source of truth

Orders flagged by publisher, with cashback-sourced orders identified.

  • 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.
  • Orders reconciled net of commission, with cashback orders split by new versus returning customer.

Rakuten Advertising → GA4 · free audit

What we check in the free audit

  • Count conversions carrying the GA4 client_id
  • Follow one real conversion end to end
  • Measure what share of cashback-attributed orders are from existing customers
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Orders flagged by publisher, with cashback-sourced orders identified.

Get my free conversion tracking audit

Free30 minutesNo obligation

Rakuten Advertising → GA4 · when not to buy

When you don't need this — Rakuten Advertising → GA4

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the GA4 client_id.
  • If your programme excludes cashback publishers, this pattern does not arise.
  • 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.

Rakuten Advertising → GA4 · what we deliver

What gets built — Rakuten Advertising → GA4

  • Identifier capture into Rakuten Advertising

    Record click timestamps so the last-second pattern is visible rather than invisible.

  • Event source: your order record with Rakuten attribution

    Send orders net of commission, with cashback-sourced orders reported as their own category.

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

Written guarantee

95%+ tracking accuracy

Measured against Orders flagged by publisher, with cashback-sourced orders identified.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Rakuten Advertising → GA4 questions, answered

GA4 puts sessions in the Affiliates channel only when utm_medium is affiliate. Add UTM parameters to your Rakuten links, or build a custom channel group that recognizes the cashback domains.

Free · 30 min

Get Rakuten Advertising and GA4 joined properly

Free30 minutesNo obligation