Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Shopify checkout extensibility dropping pixels: how to fix it

OPS-268High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

Checkout extensibility is Shopify's newer way to customise checkout. It replaces checkout.liquid and the Additional scripts field (Settings > Checkout) with checkout UI extensions, Shopify Functions and customer events (also called web pixels). Customer events run tracking code in a sandbox and receive standard events such as checkout_started and checkout_completed.

Why it costs you leads or sales

Ad platforms learn from purchase events. If they stop arriving, reported conversions fall, bidding strategies like target ROAS lose their signal, and campaigns can shrink or waste budget. You also lose attribution, so you can't tell which channels earn revenue. The store itself keeps selling, which is why this often goes unnoticed for weeks.

Where the signal is lost
  1. Product pageView item and add to cart fire normally
  2. CheckoutCustomer pays on the upgraded checkout
  3. Old pixel codeAdditional scripts no longer run
  4. Purchase hitNo event reaches GA4 or ad platforms
  5. Ad optimisationPlatforms see no conversions

Checkout still completes, but the purchase hit never leaves the browser.

Reported purchases before and after the upgradeExample numbers
Reported purchases before and after the upgrade (example)Actual orders: 100 purchases per week; Reported before upgrade: 92 purchases per week; Reported after upgrade: 8 purchases per week03877100928Actual ordersReported before upgra…Reported after upgradepurchases per week

Example: the store sells at the same rate, but the analytics report drops when pixels stop firing.

How to check if your site has it

Signs your pixels were dropped
  • Purchases in GA4, Google Ads or Meta fall sharply while Shopify orders stay steady
  • Settings > Checkout still contains code in Additional scripts
  • Settings > Customer events lists no pixels, or only some of your platforms
  • The Shopify upgrade banner or checkout editor shows you moved to the new checkout
  • Meta Events Manager or Google Tag Assistant shows no Purchase from checkout pages

For a direct test, place an order using Shopify's test mode or a bogus gateway, with your browser's network tab open. Filter for collect (GA4), facebook.com/tr (Meta) and your other platforms. If no purchase request appears on the thank-you page, the tag is missing.

How to fix it

Restore purchase tracking
  1. List every tag the old checkout ran

    Copy the contents of Additional scripts and any checkout.liquid tags before they are lost. Note each platform and event.

  2. Pick a replacement method per platform

    Use the platform's official Shopify app or channel (Google & YouTube, Facebook & Instagram, TikTok) where one exists. Otherwise create a custom pixel.

  3. Add custom pixels if neededShopify

    Go to Settings > Customer events > Add custom pixel. Subscribe to checkout_completed and send your hit from there.

  4. Set privacy permissionsShopify

    Choose the right customer privacy setting for each pixel so it fires only when consent rules allow.

  5. Remove the old code

    Delete legacy scripts once the new pixels work, to avoid duplicates.

  6. Place a test order

    Confirm each platform receives one purchase with the right value and currency.

Custom pixel skeleton (Settings > Customer events)javascript
analytics.subscribe('checkout_completed', (event) => {
  const checkout = event.data.checkout;
  // Send to your platform here, for example via its tag or an HTTP call
  console.log('purchase', checkout.order.id, checkout.totalPrice.amount, checkout.currencyCode);
});
Checkout tracking setup

Broken

  • Pixels pasted into Additional scripts
  • Upgrade makes them stop running
  • No purchase hit leaves checkout

Fixed

  • Pixels installed via apps or customer events
  • checkout_completed triggers each hit
  • Purchases match Shopify orders

How to confirm it's fixed

Verify with a test order
  1. Complete a test checkout

    Use test mode or a bogus gateway so no real card is used.

  2. Check the network requests

    Look for one purchase request per platform on the thank-you page.

  3. Compare values

    Order value, currency and transaction id should match the Shopify order.

  4. Check platform dashboards

    GA4 DebugView, Meta Test Events and Google Tag Assistant should show the event within minutes.

How to prevent it happening again

Before any checkout or theme change
  • Keep a written list of every tracking tag and its event
  • Test on a duplicate or with a test order before and after migration
  • Prefer official apps over pasted code
  • Avoid running the same pixel from both an app and a custom pixel
  • Re-check purchase tracking after every Shopify upgrade notice or app change

How FunnelGuard handles this

FunnelGuard detects this. A robot visitor runs your checkout journey on a schedule and checks the tracking hits sent to GA4, Google Ads, Meta, TikTok, LinkedIn, Bing, Pinterest, Snapchat, X and Reddit against what each purchase or checkout step should send. If a hit that used to appear is missing, the failure is re-checked from a second region, then one alert goes out with a screenshot and a likely cause.

The robot stops before payment unless your store's test mode is set up, and never enters real card details. The Free plan covers 1 site and 2 journeys with daily checks, no card needed.

Frequently confused causes

Missing purchase hit: likely causes
CauseClueFix
Old Additional scripts no longer runCode still in Settings > CheckoutRebuild as customer events
Consent blocks the pixelHit appears only after accepting cookiesReview customer privacy settings
Duplicate pixelTwo purchases per orderRemove app or manual copy

Questions people ask

Why are my Shopify purchase events not tracking after the checkout upgrade?

Checkout extensibility stops running code from checkout.liquid and the Additional scripts box. Pixels placed there no longer fire. Reinstall them through official apps or Settings > Customer events.

Do Additional scripts still work on Shopify?

Not for checkout and order status pages once you are on checkout extensibility. Shopify moved that job to customer events (web pixels) and apps. Rebuild each tag there.

How do I add a Meta or GA4 pixel to the new Shopify checkout?

Install the platform's official Shopify app or channel where available. Otherwise go to Settings > Customer events, add a custom pixel and subscribe to checkout_completed. Then test with an order.

How can I tell if my Shopify purchase pixel is firing?

Place a test order and watch the network tab on the thank-you page for a request to each platform. You can also use GA4 DebugView, Meta Test Events or Google Tag Assistant.

Why is my Shopify revenue in GA4 lower than in Shopify?

A common cause is a purchase tag that stopped firing after a checkout migration. Consent settings and duplicate or blocked tags can also play a part. Compare daily order counts to find when the gap began.

Can FunnelGuard detect missing purchase pixels on Shopify?

Yes. It runs your checkout journey on a schedule and checks that the expected purchase and checkout hits reach each ad and analytics platform. If one is missing, it re-checks from a second region and sends one alert.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: Purchase/checkout hit contracts.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.