Rakuten Advertising · Web Pixels API replacement · confidence: medium
Dies 2026-08-26
analytics.subscribe('checkout_completed', (event) => {
const { checkout } = event.data;
if (!checkout || !checkout.totalPrice) return;
const orderRef = checkout.order ? checkout.order.id : checkout.token;
const items = checkout.lineItems
.map((i) => (i.variant && i.variant.sku ? i.variant.sku : ''))
.join(',');
const qtys = checkout.lineItems.map((i) => i.quantity).join(',');
const prices = checkout.lineItems
.map((i) => (i.variant ? i.variant.price.amount : ''))
.join(',');
const params = new URLSearchParams({
mid: 'MERCHANT_ID',
ord: String(orderRef),
cur: checkout.totalPrice.currencyCode,
sku: items,
qty: qtys,
cost: prices,
});
fetch(`https://track.linksynergy.com/ep?${params.toString()}`, {
method: 'GET',
keepalive: true,
mode: 'no-cors',
});
});What this does NOT cover
What this does NOT cover: Rakuten's SubID/MID multi-advertiser routing for stores running more than one Rakuten Advertising program, or the Rakuten Datafeed product-catalog sync. Confirm program-specific parameter requirements with the Rakuten account manager before treating this snippet as a complete replacement.
Affiliate + Reviews networks · AWIN, ShareASale, Impact, Rakuten, and Yotpo reviews — all post-purchase pixels with identical Aug 26 exposure.