PURCHASE TRACKING

Purchases dropped after a theme or app change on Shopify

You published a new theme, added a checkout app or switched cookie banners. Shopify keeps taking orders, but in Meta, GA4 or TikTok the purchases fell the same week, sometimes close to zero. When the drop starts on the day of a change, the change is usually the cause, and there are only a few places to look.

Why it happens

The app embed is off in the new theme. Many tracking and marketing apps add their code as an app embed, which Shopify describes as code added to your store "without being visible to your customers". Embeds belong to a theme. Shopify's help says that when you change your published theme, apps you set up in the old one "won't be active by default" in the new one. The app is still installed, so nothing looks wrong in the admin.

Code pasted into the old theme stayed in the old theme. A pixel or tag added by hand to theme.liquid is part of that theme's files. A new theme starts without it. If that snippet was your only source of purchases for a platform, the platform stops getting them when the new theme goes live.

A pixel was disconnected under Customer events. Shopify lists custom pixels that are not running under the heading Disconnected pixels, and says disconnecting a pixel does not delete it. An app pixel can also have its data paused: Shopify says that with the default Optimized data access, it can pause data shared by a marketing pixel when it detects oversharing, until relevant activity resumes.

The new cookie banner holds the pixel back. In markets that require consent, Shopify says web pixels run only when visitors give the permissions the pixel asks for, and new pixels require marketing and analytics permission by default. A banner from another app has to pass the buyer's choice to Shopify through the Customer Privacy API. If it does not, Shopify says, pixels "might not fire even after a customer provides consent".

Customer accounts are not on a subdomain of your store's domain. Shopify's help says that with a custom domain, the customer account domain must be a subdomain of your store's domain, such as account.example.com. Otherwise pixels and cookie consent do not work on the new order status page.

If the drop followed Shopify's upgrade of the thank you and order status pages, read Shopify checkout extensibility and tracking.

Check it yourself

  1. 1Find the day. For the last 14 days, write down Shopify's paid online orders per day next to each platform's purchases. The first day with a gap tells you which change to look at. TikTok Events Manager has a Change Log of settings changes, with the time and who made them.
  2. 2In your Shopify admin, open Online Store, click Edit theme on the published theme and open App embeds in the sidebar. Switch on the embed of each tracking and marketing app you use, and click Save. If you sell in several markets, check the Market menu too: Shopify lets you set app embeds per market.
  3. 3Open Settings > Customer events. Check that each app pixel you rely on is there. Under Custom pixels, look for any pixel listed under Disconnected pixels and click Connect if you still need it.
  4. 4Next to an app pixel, click Test. Shopify opens its Pixel Helper on your store. Visit a product page, add to cart, and place a test order to see the checkout and thank you page events. A green dot means the event fired; a red dot means an error.
  5. 5Click the app pixel's name and read its data access setting. The activity log shows each "Data access paused" and "Data access granted" since 3 June 2026, with the reason.
  6. 6Test the new banner. Clear your browser's cookies to reset the banner, click Test on the app pixel again and accept all cookies. If the helper still says "Pixel is awaiting consent", ask the banner's provider whether it syncs consent to Shopify.
  7. 7Search the old theme's code for pixel snippets you added by hand, and decide whether the new theme needs them or whether an app now sends the same purchase. Two sources for one purchase double the count.
  8. 8If you use a custom domain, check that customer accounts run on a subdomain of it.

For Meta, the browser extension is the quickest second check; if it finds nothing, read Meta Pixel Helper not detecting the pixel. If Meta still receives no Purchase at all, the Meta pixel purchase event is not firing goes through the browser side step by step.

Run the free diagnosis

FAQ

Does Shopify move my apps to a new theme?

The apps stay installed, but Shopify says they are not active by default in a theme you publish later. Switch on their app embeds in the new theme.

I fixed it. Do the missing purchases come back?

New purchases do. Past ones only if a tool sends them again within the platform's limit. Meta's Conversions API takes events up to 7 days old and returns an error for older ones.

Only GA4 dropped, Meta did not. How?

Each platform has its own pixel and its own setting. One app embed can be off while another is on, and each pixel has its own consent settings. Check them one by one under Customer events.

My ROAS fell after I removed an old app. Is tracking broken?

Not always. If two tools used to send each purchase, the count halves when one goes, and the new number is the real one. Meta ROAS dropped, but Shopify sales did not covers this case.

Should I add a backup pixel to be safe?

No. A second pixel for the same platform sends the same purchase twice. Keep one source per platform and fix the one that stopped.

Related

Problem

Purchases counted twice after you switched tracking apps

Meta or GA4 counts more purchases than Shopify since you changed tracking apps. Where the old app's pixel, server connection or theme code keeps sending, and how to find it.

Problem

Facebook & Instagram app connected, but Meta gets few purchases

The Facebook & Instagram app is installed and connected on Shopify, but Events Manager shows few or no Purchase events. Five places where the purchase stops, and how to check each one.

Problem

TikTok shows fewer purchases than Shopify

TikTok Ads Manager reports fewer purchases than your Shopify paid orders. Why TikTok misses some, and how to check the pixel, Events API and data sharing level.

Problem

Snapchat purchases not tracked on Shopify

Snapchat Ads Manager shows fewer purchases than your Shopify orders, or none. Why the Snap Pixel misses them and how to check it in Events Manager.

All tracking problems · All guides