On this page
What this issue is
checkout.liquid was a theme file that let Shopify Plus merchants edit the checkout page and add their own scripts, such as ad pixels, analytics tags and chat widgets. Shopify replaced it with checkout extensibility, a newer system where checkout is customised through the checkout editor, apps and pixels instead of raw code.
Why it costs you leads or sales
Ad platforms learn from the conversions you send them. If checkout events vanish, Google Ads, Meta and others see fewer conversions than really happened. Smart bidding gets less data, reports show a drop in sales that did not occur, and you may cut budget on campaigns that work.
- Ad clickVisitor lands on the product page
- Add to cartTheme tags still fire
- Checkoutcheckout.liquid scripts ignored
- Platform conversionNo begin_checkout or purchase received
- Bidding dataAlgorithms optimise on partial data
The store still sells, but checkout events stop reaching ad platforms.
Example: illustrative numbers showing reported purchases dropping when checkout tags stop firing while real orders stay the same.
How to check if your site has it
See if you are on checkout extensibilityShopify
In Shopify admin, open Settings > Checkout. If you use the checkout editor and see an upgrade or customisation banner, check whether your old checkout.liquid customisations were retired.
Look for old scriptsShopify
Check your notes, theme backups or Shopify's upgrade report for tags that lived in checkout.liquid, such as Google Ads, Meta, TikTok or Hotjar.
Run a test checkout with a debug tool
Open Chrome DevTools > Network, filter for collect, facebook.com/tr or your platform's endpoint, then go through cart and checkout steps. Missing requests on the checkout pages confirm the problem.
Compare platform reports with Shopify
If Shopify orders are steady but GA4, Google Ads or Meta show far fewer checkout events, tags are likely missing.
How to fix it
The replacement for checkout.liquid scripts is Shopify's Customer events system. It runs pixels in a sandbox and receives standard events such as checkout_started and checkout_completed. You can use an official app for each platform or write a custom pixel.
Use the official channel apps first
Install or reconnect Google & YouTube, Facebook & Instagram, TikTok and similar apps from the Shopify App Store. They add their pixels through Customer events, so checkout is covered.
Add a custom pixel for the rest
Go to Settings > Customer events > Add custom pixel. Paste your tag code, subscribe to events such as checkout_started and checkout_completed, then click Connect.
Remove duplicates
Make sure the same event is not sent by both an app and a custom pixel, or conversions will be counted twice.
Set customer privacy
In each pixel's settings, choose the consent permission it needs so it respects your cookie banner.
Load GTM inside a custom pixel
Pixels run in a sandbox, so a normal GTM snippet may not see the page. Use a custom pixel that loads GTM and forwards Shopify events to the dataLayer, following Shopify's and Google's current guidance.
Map events
Push events such as begin_checkout and purchase with the data your tags expect, then update triggers in GTM to listen for them.
analytics.subscribe('checkout_started', (event) => {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'begin_checkout',
currency: event.data.checkout.currencyCode,
value: event.data.checkout.totalPrice.amount
});
});
analytics.subscribe('checkout_completed', (event) => {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'purchase',
transaction_id: event.data.checkout.order.id,
currency: event.data.checkout.currencyCode,
value: event.data.checkout.totalPrice.amount
});
});How to confirm it's fixed
- Run a test checkout and see requests for each platform on the checkout steps in the Network tab
- Check GA4 DebugView or Tag Assistant for begin_checkout and purchase
- Confirm Meta Events Manager Test Events shows the checkout events
- Verify each event fires once, not twice
- Compare a day of platform conversions with Shopify orders
How to prevent it happening again
Keep a list of every tag your checkout needs and where it lives. Review it before any Shopify checkout upgrade, theme change or app removal. Avoid placing the only copy of a tag in a place Shopify can retire. Test checkout after every change to pixels or apps, and keep a regular automated check running so a silent drop does not go unseen for weeks.
Day 0
Store upgrades to checkout extensibility; checkout.liquid stops being used
Day 1
Checkout tags stop firing; no error appears
Week 1
Platform conversions look low; bidding has less data
Week 2
Someone notices, rebuilds tags as pixels
How FunnelGuard handles this
FunnelGuard detects this today. A robot visitor runs your checkout journey on a schedule and checks the tracking hits sent to platforms such as GA4, Google Ads, Meta and TikTok. If hits that should appear on checkout are missing, the check fails with a note of missing hits on checkout. The failure is re-checked from a second region, then you get one alert with a screenshot and a likely cause.
Test traffic is marked and stops before payment unless your store's test mode is set up, and it never enters real card details. The Free plan covers 1 site and 2 journeys with daily checks and no card, and a free read-only website audit is available.
Questions people ask
Why did my Shopify checkout tracking stop working?
If your store moved to checkout extensibility, scripts in checkout.liquid no longer run. Tags for ads and analytics that lived there stop firing without any error. Rebuild them as Shopify pixels or use the official channel apps.
What replaced checkout.liquid in Shopify?
Checkout extensibility replaced it. You customise checkout through the checkout editor, apps and checkout UI extensions, and you add tracking through Customer events pixels instead of pasting scripts into a theme file.
How do I add a tracking pixel to Shopify checkout now?
Go to Settings > Customer events and add a custom pixel, or install the platform's official Shopify app. Subscribe to events like checkout_started and checkout_completed, then connect the pixel and test.
Can I still use Google Tag Manager on Shopify checkout?
Yes, but not by editing checkout.liquid. You load GTM through a custom pixel and forward Shopify events to it. Because pixels run in a sandbox, test that your tags and triggers actually receive the events.
How do I know if my checkout events are missing?
Run a test checkout with the browser Network tab open, or use GA4 DebugView and Meta Test Events. If begin_checkout or purchase requests do not appear, tags are missing. Large gaps between Shopify orders and platform conversions are another sign.
Will missing checkout tags affect my ad performance?
They can. Ad platforms optimise on the conversions they receive, so fewer events mean weaker bidding and misleading reports. Fixing the tags restores the data, though learning may take some time to recover.
Can FunnelGuard detect missing checkout tracking on Shopify?
Yes. FunnelGuard runs your checkout journey on a schedule, checks the tracking hits sent to ad and analytics platforms, and alerts you with a screenshot and likely cause when expected hits are missing.
Related issues
- TRK-394Shopify Customer Events (web pixel) sandbox missing eventsFix guide
- TRK-395Shopify thank-you 'additional scripts' deprecated, purchase lostFix guide
- TRK-392Headless checkout loses tracking from main siteFix guide
- TRK-397WordPress plugin update removed tracking snippetFix guide
- TRK-401Iframe-embedded checkout tracking not reaching parentFix guide
- TRK-389SPA route change sends no page_viewFix guide