Shopify: tracking purchases since the August 26 cutoff
Since August 26, 2026, Shopify no longer runs scripts added to the order confirmation page. A tracking setup built the old way sees every page of your store except the one that matters: the purchase. Oriva gets that purchase through a web pixel, then sends each sale from the server to Meta, TikTok, Google Ads and ChatGPT Ads.
What changed on August 26?
Shopify stopped running scripts on the order status page for every store outside Shopify Plus (Plus stores were cut off a year earlier, on August 28, 2025). The way left to track a purchase from the browser is a web pixel: an app pixel, or a custom pixel under Settings → Customer events. Our guide covers who is affected and how to check in five minutes.
How do I install Oriva on Shopify?
- The script, for your store's pages: Online Store → Themes → “…” → Edit code →
theme.liquid. Paste the Oriva script just before</head>. - The pixel, for the purchase: Settings → Customer events → Add pixel. Name it “Oriva” and paste the code Oriva gives you. Under Customer privacy, set Permission to Required and choose Marketing, then Save and Connect.
- The DNS setting, the same for every site. If your domain was bought through Shopify, the setup wizard tells you where to add it.
How does the pixel tie the purchase to the visit?
Shopify's pixel runs in an isolated space, with no access to your store's cookies. Oriva reads its visitor identifier through the API Shopify provides for that, then attaches it to the purchase. The sale stays tied to the ad that brought it. If the identifier is missing (cleared cookie, blocked script), the purchase is still recorded, with its amount: only its attribution is missing.
Can a purchase be counted twice?
Not by Oriva: the event identifier comes from the Shopify order number, so refreshing the confirmation page doesn't create a second sale.
Watch out for Meta: if Shopify's official Facebook & Instagram app already sends your purchases to Meta from the server (the “Maximum” setting), don't add a Meta destination in Oriva for that store. You can't choose the identifier the app uses, so nothing guarantees Meta matches the two.
What about consent?
Shopify only runs the pixel if the visitor accepted marketing tracking, according to the permission set on the pixel. You have nothing to code for that.
What the pixel doesn't do
- It only tracks the purchase. The steps of Shopify's checkout (cart, shipping, payment) are out of reach.
- It doesn't trigger affiliate postbacks. To protect your commissions, a postback only goes out for a sale sent by your server. If you pay affiliates, also send your sales through the server API.
Try Oriva for free.
14 days to connect your site and watch your sales reach your platforms.
Start free trial