Articles ·

Facebook pixel stopped tracking purchases after the Shopify checkout upgrade? Here's why

Shopify's new Thank you page doesn't run Additional Scripts, so Purchase code pasted there stopped. How to confirm it, move it to Customer events and test it.

The upgrade replaced Shopify’s Thank you and Order status pages, and the new ones don’t run the Additional Scripts box. If your Facebook pixel’s Purchase code lived there, it stopped the day your store was upgraded. To fix it, send Purchase through Settings → Customer events instead, using the Facebook & Instagram app, a tracking app or a custom pixel, and test it with a real order.

For years the usual Shopify setup was the Meta pixel’s base code in the theme plus a Purchase snippet in Additional Scripts. The theme never loads in checkout, so that snippet was the only thing reporting sales. Shopify turned Additional Scripts off on the Thank you and Order status pages on August 28, 2025 for Plus and August 26, 2026 for every other plan, upgrading stores that hadn’t done it themselves. PageView and AddToCart carried on; Purchase stopped. Customer events is the only place left to send it from.

First, confirm it was the upgrade

Plenty of things can stop purchases, so spend two minutes making sure this is the one.

  1. In Events Manager, open your pixel and look at the Purchase event over the last 90 days. Find the day it dropped.

  2. In Shopify, go to Settings → Checkout. On upgraded Thank you and Order status pages, the Additional Scripts field is gone or greyed out. You’ll remember the date if you upgraded by hand. Otherwise it’s most likely August 26, 2026 (August 28, 2025 on Plus).

  3. Check PageView and AddToCart for the same days. When they carried on as normal, the theme pixel is fine and only the checkout part broke.

Dates line up? Keep reading. If Purchase dropped on some other day, or everything dropped at once, the upgrade probably isn’t your problem: the general checklist for a Purchase event that isn’t firing covers the other causes.

What the upgrade switched off

It helps to know what exactly went away, because each piece needs its own replacement.

  • The Additional Scripts box. Anything pasted there for the Thank you or Order status page no longer runs. That’s where most stores kept fbq('track', 'Purchase').

  • Liquid in your snippet. Old snippets filled in the order value with Liquid, like {{ checkout.total_price | money_without_currency }}. A custom pixel is plain JavaScript, so the old snippet won’t work there as-is.

  • App scripts on the Order status page. Apps that injected their own script there (Shopify calls these ScriptTags) were switched off on the same dates. If an app was sending your Purchase that way and hasn’t moved to Customer events, it went quiet too.

  • On Plus, checkout.liquid. Plus stores that edited the checkout template directly lost that earlier, when the information, shipping and payment steps were upgraded.

What didn’t change: your theme. Pixel code in theme.liquid still sends PageView, ViewContent and AddToCart exactly as before. It just never saw checkout, then or now.

If the old box is still visible, even greyed out, copy its contents into a note before you do anything else. Shopify’s upgrade guide also has a customizations report (Settings → Checkout → View your customizations report) that lists what was in there. You’ll want that list in a minute.

If purchases dropped by half, not to zero

This case confuses people, and it’s often good news.

It’s common for a store to have had two things sending Purchase: the Additional Scripts snippet and the Facebook & Instagram app. The app already runs through Customer events, so the upgrade didn’t touch it. When the snippet stopped, only the app was left. If both were sending to the same pixel, the sales they both saw were counted twice before the upgrade, and the “drop” is that double count going away.

To check, compare one full week of Purchase events in Events Manager with Shopify’s orders for the same week. If they’re now in the same range, your tracking got more accurate, not less. Don’t add a replacement for the old snippet, or you’ll be back to double counting. Why Meta shows a different number of purchases than Shopify explains how to read that comparison.

Move Purchase to Customer events

Go to Settings → Customer events. You want exactly one entry that sends Purchase to the pixel your ads optimise for. There are three ways to get there, and our guide to adding a Facebook pixel to Shopify compares them side by side.

The Facebook & Instagram app. Free, made by Meta and Shopify, and it shows up here as an app pixel. Install it, connect your pixel, turn data sharing on. It sends Purchase without any code. How to set up Meta Conversions API on Shopify walks through the data sharing levels.

A tracking app. It also appears as an app pixel. Check that it says Connected and that its settings point at the right Meta pixel.

A custom pixel. The closest thing to what you had. Click Add custom pixel, give it a name, paste Meta’s base code and your fbq('init', 'YOUR_PIXEL_ID') line, then the Purchase part below. Set the customer privacy permission to marketing, save, and click Connect.

analytics.subscribe("checkout_completed", (event) => {
  const checkout = event.data.checkout;
  fbq("track", "Purchase", {
    value: checkout.totalPrice?.amount,
    currency: checkout.currencyCode,
  }, { eventID: checkout.order?.id });
});

Translating your old snippet

If your old code passed extra details, here’s where each one lives now:

Old Additional Scripts (Liquid) Custom pixel (event.data.checkout)
{{ checkout.total_price | money_without_currency }} totalPrice.amount
{{ checkout.currency }} currencyCode
{{ checkout.order_id }} order.id
{% for line_item in checkout.line_items %} lineItems (an array)
{{ line_item.product_id }} lineItems[i].variant.product.id
{{ line_item.quantity }} lineItems[i].quantity
{% if first_time_accessed %} not needed

That last row matters. The old snippet needed first_time_accessed so that a shopper coming back to the Order status page later didn’t fire a second Purchase. checkout_completed fires once per checkout, on the Thank you page, so there’s nothing to guard against. If you run a post-purchase upsell, it fires on the first upsell page instead.

The eventID line is a small addition worth keeping. With the order ID as the event ID, Meta can recognise the same order if it’s ever reported twice.

Test it with a real order

Don’t trust the Meta Pixel Helper extension here. Customer events run in a sandbox it often can’t see, so it’ll tell you there’s no pixel on a checkout that’s working fine.

Use Test events in Events Manager instead: open your store from there, place a real or test order, wait for the Thank you page and look for Purchase. The full testing steps cover the catches, like server-only events that don’t show up there.

Then give it a few days and compare Purchase with Shopify orders again. Meta will still show somewhat fewer: shoppers who decline marketing, block scripts or close the tab before the Thank you page loads aren’t reported by any browser pixel.

The purchases you lost in between

There’s no way to send them now from the browser. Those Thank you pages loaded once and nothing was listening. Meta’s Conversions API also refuses events more than seven days old, so even a server tool can’t push a month of old orders in.

What you can do is note the dates. Any report in Ads Manager covering the gap will show low ROAS and fewer conversions than you really had, so don’t kill campaigns based on those weeks. Ad sets optimising for Purchase may wobble for a while after you fix it, because they went without purchase signals.

What SuperPixel does here (and doesn’t)

SuperPixel is the tracking app I build, so here’s how it fits this problem.

It installs its own pixel through Shopify’s customer events right after you install it, so there’s no Additional Scripts snippet to migrate and no custom pixel to maintain. It listens for checkout completed, along with page views, product views, add-to-carts and checkouts started, and sends them to Meta’s Conversions API from its own server, with the value, currency, product IDs and the order ID on purchases. An ad blocker that blocks Meta’s browser script doesn’t stop them.

Each purchase is matched to Shopify’s paid order, so a reloaded Thank you page or a return from a payment provider counts once. The Live Events page shows each recent event, which pixels it went to, and the reason when it wasn’t sent.

The limits matter here. SuperPixel doesn’t backfill, so it can’t recover purchases lost since the upgrade. Its pixel runs in the same sandbox, so it also needs checkout completed to fire in the shopper’s browser; a shopper who declines marketing or closes the tab first doesn’t produce a Purchase in Meta. Those paid orders still show in SuperPixel’s own revenue reports, with no known source. And if the Facebook & Instagram app is also sending Purchase, you have to turn one of them off yourself.

It costs $29 a month or $232 a year, billed through Shopify, and your first 5 purchases are sent free so you can test it.

FAQ

Did the upgrade break the Facebook & Instagram app too?

No. The app already sends its events through Customer events, so the new Thank you page doesn’t change anything for it. If you only used the app, look elsewhere for the cause.

Can I undo the upgrade to get my old Purchase code back?

No. The old Thank you and Order status pages are switched off on every plan, so there’s nothing to go back to. Move the code to a custom pixel instead.

My theme pixel still works. Why doesn’t it see purchases?

Because Shopify’s checkout and Thank you page never load your theme. Theme code reports what happens on your storefront, and that’s all it ever did. Purchase had to come from Additional Scripts before, and from Customer events now.

Should I remove the old pixel code from my theme?

Only when something in Customer events also sends PageView, ViewContent and AddToCart, like the Facebook & Instagram app or a tracking app. Then remove it, because two sources sending the same event double count. If your custom pixel only sends Purchase, the theme code is still doing a job, so leave it.

Will my ad sets recover on their own?

Usually, once purchases are flowing again. Expect some instability while they relearn, and judge performance from the day you fixed it, not across the gap.

Try it on your store

If you’d rather not maintain pixel code at all, you can try SuperPixel free on your first 5 purchases and watch the Live Events page while you place a test order. Questions first? Email me at hello@superpixel.app.