Impact · 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 params = new URLSearchParams({
OrderId: String(orderRef),
TotalAmount: String(checkout.totalPrice.amount),
Currency: checkout.totalPrice.currencyCode,
});
// Impact's conversion tracking is a tracking pixel/script tag — no DOM in
// the sandbox, forward via fetch beacon instead. Replace ACCOUNT_SID and
// PROGRAM_ID with your Impact partnership values (Impact > Technology
// Partner setup for your Shopify integration).
fetch(`https://trkn.us/ACCOUNT_SID/PROGRAM_ID/conversion?${params.toString()}`, {
method: 'GET',
keepalive: true,
mode: 'no-cors',
});
});What this does NOT cover
What this does NOT cover: Impact's Universal Pixel (used for site-wide, non-checkout tracking) or Deep Link/SubID capture from landing-page URL parameters — both are separate Impact integrations. Confirm in the Impact partner dashboard which tracking mode the merchant's specific program actually requires before assuming this snippet is sufficient.
Affiliate + Reviews networks · AWIN, ShareASale, Impact, Rakuten, and Yotpo reviews — all post-purchase pixels with identical Aug 26 exposure.