Connecting Rakuten Advertising to Segment
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. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Rakuten transaction before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Rakuten through Segment: affiliate context without double orders
Unless Segment's catalog has a Rakuten Advertising destination that fits, keep Rakuten's own tracking separate. Put the Rakuten publisher ID, click time and a cashback flag as properties on Order Completed, with the order ID as messageId, and send Order Refunded with the same ID so downstream revenue matches Rakuten's commission reversals.
Segment and Rakuten overlap awkwardly. Segment wants one Order Completed event that every destination reads, while Rakuten needs its own tag or order data with commission-specific fields so it can pay publishers. Check whether Segment's catalog offers a Rakuten Advertising destination that fits your program; if not, keep Rakuten's own tracking separate and use Segment for the order event the rest of your stack consumes, carrying Rakuten context as properties.
Put the Rakuten publisher ID, the click time and a cashback flag on Order Completed as properties, kept apart from other networks' click IDs. That way a downstream ad destination can see that a Meta- or Google-attributed order also carried a last-second cashback click, and a warehouse destination gets everything it needs for the new-versus-returning split. Use the order ID as messageId so a retried checkout webhook does not become two orders in every connected tool.
Refunds are where the two drift apart. Rakuten reverses commission on returns through its own adjustment process; Segment knows about a refund only if you send Order Refunded. Without it, every downstream analytics and ad tool keeps the revenue while Rakuten has already clawed back the commission, and the reports diverge by the return rate. Send both the order and its refund through Segment with the same order ID.
Rakuten Advertising → Segment · what breaks
Why this join usually fails — Rakuten Advertising → Segment
- 01
The userId and anonymousId never reaches Rakuten Advertising
Cashback clicks arrive immediately before checkout, overwriting whatever earlier identifier was stored.
- 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.
- 03
One bad event multiplied across every destination
Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.
- 04
Nothing reconciles afterwards
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
Rakuten Advertising → Segment · the fix
What working looks like — Rakuten Advertising → Segment
The userId and anonymousId on every conversion
Conversions arriving in Segment
Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.
Reconciled against the source
Rakuten Advertising → Segment · architecture
How Rakuten Advertising and Segment actually connect
- 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
Segment needs a click to match
Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.
- 3
The identifier is the bridge
The userId and anonymousId, captured at the visit and carried into the Rakuten transaction.
- 4
The event source decides reliability
Send orders net of commission, with cashback-sourced orders reported as their own category.
- 5
Deduplication at the destination
Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.
Rakuten Advertising → Segment · normal or broken
Working vs. broken, side by side — Rakuten Advertising → Segment
Normal, not a fault
The userId and anonymousId present on the conversion
Sent from your order record with Rakuten attribution
Deduplicated correctly
Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.
Reconciles with the source
Actually broken
The userId and anonymousId 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
Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.
Nobody has reconciled it
Rakuten Advertising → Segment · diagnose
Diagnostic order — Rakuten Advertising → Segment
- 01
Count conversions carrying the userId and anonymousId
- 02
Follow one real conversion end to end
- 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.
- 04
Check identity resolution before checking anything downstream
If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.
- 05
Read the match rate, not the success message
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
Rakuten Advertising → Segment · prove
How it gets proven — Rakuten Advertising → Segment
Source of truth
Orders flagged by publisher, with cashback-sourced orders identified.
- The userId and anonymousId confirmed present on a live conversion.
- An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
- Orders reconciled net of commission, with cashback orders split by new versus returning customer.
Rakuten Advertising → Segment · free audit
What we check in the free audit
- Count conversions carrying the userId and anonymousId
- Follow one real conversion end to end
- Measure what share of cashback-attributed orders are from existing customers
- Check identity resolution before checking anything downstream
- Read the match rate, not the success message
Checked against
Orders flagged by publisher, with cashback-sourced orders identified.
Free30 minutesNo obligation
Rakuten Advertising → Segment · when not to buy
When you don't need this — Rakuten Advertising → Segment
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the userId and anonymousId.
- If your programme excludes cashback publishers, this pattern does not arise.
- If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.
Rakuten Advertising → Segment · what we deliver
What gets built — Rakuten Advertising → Segment
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 Segment
Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.
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.
From $400 · See packages
FAQ
Rakuten Advertising → Segment questions, answered
Check whether a Rakuten destination exists for your Segment workspace. Many programs keep Rakuten's own tag or order data and use Segment only to carry Rakuten context to other tools.
Add the publisher ID, click time and a cashback flag as properties on Order Completed, with the order ID as messageId, so downstream tools can separate affiliate and cashback orders.
Almost always because the userId and anonymousId never reached the Rakuten transaction. Cashback clicks arrive immediately before checkout, overwriting whatever earlier identifier was stored. Measure coverage before debugging the dispatch.
Segment identifies people by anonymousId before they are known and userId afterwards, and the alias between them is what stitches a session to a customer. Click identifiers travel as event properties or traits rather than as a matching key — Segment does not match anything itself, it forwards. That distinction changes the whole design: get the identity resolution right and every downstream destination inherits it.
Your order record with Rakuten attribution. Send orders net of commission, with cashback-sourced orders reported as their own category.
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
More on Rakuten Advertising → Segment
- Rakuten Advertising → Google AdsConnecting Rakuten Advertising to Google Ads
- Rakuten Advertising → MetaConnecting Rakuten Advertising to Meta Conversions API
- Rakuten Advertising → GA4Connecting Rakuten Advertising to GA4
RELATED GUIDES
Where Rakuten Advertising → Segment fits in the rest of your tracking
- Everflow → SegmentConnecting Everflow to Segment
- Rewardful → SegmentConnecting Rewardful to Segment
- ShareASale → SegmentConnecting ShareASale to Segment
- Rakuten Advertising → BigQueryConnecting Rakuten Advertising to BigQuery
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Tapfiliate → SegmentConnecting Tapfiliate to Segment
- FirstPromoter → SegmentConnecting FirstPromoter to Segment
- Refersion → SegmentConnecting Refersion to Segment
Free · 30 min
Get Rakuten Advertising and Segment joined properly
Free30 minutesNo obligation
