Tracking on a Shopify store has changed more in the last two years than in the ten before it. Shopify moved tracking into a sandboxed pixel system, retired the old script fields in stages, Google added a new traffic channel, and AI assistants started sending visitors with no referrer. A store set up in 2023 and never touched is almost certainly undercounting. This article gives you a check you can run without a developer, and the fix order if the check fails. For how to read the funnel once the numbers are right, see where a Shopify store leaks.

In brief
  • Shopify's order count is the only true number. GA4, Meta and Google Ads each count a subset.
  • Pixels now run in a sandbox. Shopify's pixel manager replaced scripts pasted into theme settings, checkout and apps; in consent markets a pixel runs only after the visitor agrees.[1]
  • Old script tags are being switched off. They already stopped on the order status page; storefront script tags stop on March 1, 2027.[2]
  • Some traffic cannot be attributed. AI referrals without a referrer land in Direct; Google AI Overview clicks land as organic.[3]
  • Reconcile weekly. One number per platform, same seven days, written down.

The 20-minute check

Pick the last seven complete days. Write down five numbers.

Divide each by the Shopify figure. GA4 should sit between 85% and 100% of Shopify. Ad platforms will be lower because they only claim orders they touched, so compare them with their own last-month ratio rather than with Shopify. The warning signs:

ReadingLikely cause
GA4 under 70% of ShopifyPurchase event not firing on the thank-you page, or consent mode blocking it
GA4 above 105% of ShopifyDuplicate purchase events (two pixels, or pixel plus old script)
Meta purchases fell sharply on one dateA script was retired or an app updated; check that date against your app and theme changes
Direct traffic rising while referrals are flatReferrer-less visits, often from AI assistants and messaging apps[5]

Why old setups stopped working

Shopify's pixel manager, under Settings, Customer events, replaced the three old places merchants pasted JavaScript: online store preferences, checkout scripts and apps. Pixels now run in a sandbox, receive a stream of standard customer events, and in markets that require consent, such as the EEA and UK, only run once the visitor has granted the permissions the pixel asks for.[1]

The old mechanisms have been switched off in stages. Shopify's developer changelog of August 24, 2026 states that script tags already stopped running on the order status page, that the API calls to create or update them start returning errors on October 1, 2026, and that storefront script tags stop running on March 1, 2027, across every API version.[2] Shopify's advice for anything that only collects analytics or conversion data is a web pixel.[2] If a tag was pasted into a thank-you page years ago by a former agency, the purchase count it fed has already gone quiet, without an error.

Why it fails silently
A purchase event that stops firing does not break the store. Orders keep coming in. The only symptom is that an ad platform's reported cost per purchase climbs and its optimisation gets worse, because it is learning from fewer sales. The reconciliation is the only test that catches it.

The traffic you cannot attribute

Some of the gap is not a bug. Shopify's own analysis notes that referrals from Google AI Overviews are classified as organic search in standard analytics, and that the real share of AI-mediated commerce is almost certainly higher than referral attribution can show.[3] Visits from chat apps often carry no referrer at all and land in Direct.[5] Google added an AI Assistant channel to GA4 on May 13, 2026 for referrals that do carry a referrer, from ChatGPT, Gemini and others, [4] but it is not retroactive and excludes Google's own AI features.[5] We cover reading those numbers in a separate article. For reconciliation, the rule is simple: a rise in Direct sessions landing on product pages is a signal, not an error.

The fix order

Twenty minutes a week. It is the least glamorous task in ecommerce and the one that makes every other number trustworthy.

Every growth audit starts with this reconciliation, because nothing else we recommend is safe until the numbers are. From $1,500, price agreed first.

Get your free AI visibility score →

Frequently asked questions

Why does GA4 show fewer purchases than Shopify?
Because GA4 only records a purchase when its event fires in the visitor's browser and consent allows it. Blocked scripts, declined consent, a missing thank-you page event and referrer-less visits all reduce the count. A GA4 figure between 85% and 100% of Shopify orders is normal; under 70% means the purchase event is broken.
Why does Meta report fewer purchases than Shopify?
Meta only claims orders it can tie to an ad click or view inside its attribution window, so its count is always lower. Compare this month's ratio to last month's rather than to Shopify's total. A sudden drop on one date usually means a pixel or script stopped firing.
Do Shopify script tags still work?
Not on the order status page. Shopify's August 2026 changelog says script tags already stopped there, that creating or updating them returns errors from October 1, 2026, and that storefront script tags stop running on March 1, 2027. Analytics and conversion tracking should use a web pixel.
What is a Shopify web pixel?
A piece of tracking code managed in Settings > Customer events that runs in a sandbox and receives Shopify's standard customer events such as product viewed, checkout started and checkout completed. App pixels are installed by apps and channels; custom pixels are added by you or a developer.
How often should I reconcile tracking?
Weekly, on the same day, for the last seven complete days. It takes about twenty minutes once the sheet exists, and it is the only check that catches a purchase event that has quietly stopped firing.
Where does a Shopify store actually leak? → How do you measure AI search traffic? → AOV, conversion or retention: which lever first? →

Sources

  1. Shopify Help Center. "Pixels overview (customer events)." 2026. https://help.shopify.com/en/manual/promoting-marketing/pixels/overview
  2. Shopify Developer Changelog. "Online Store script tags deprecation." Aug 24, 2026. https://shopify.dev/changelog/online-store-script-tags-deprecation
  3. Shopify. "AI-referred shoppers convert better and spend more: What Shopify's early data shows." May 11, 2026. https://www.shopify.com/enterprise/blog/ai-search-insights
  4. Google Analytics Help. "What's new in Google Analytics: May 13, 2026 release (AI Assistant channel)." May 13, 2026. https://support.google.com/analytics/answer/9164320?hl=en#05132026
  5. NoGood. "How To Track AI Traffic To Your Website." Sep 14, 2026. https://nogood.io/blog/how-to-track-ai-traffic/