About Tracking

Ad Platform Tracking

Meta Pixel + CAPI TikTok CAPI LinkedIn CAPI Snapchat CAPI Pinterest CAPI Quora Pixel Bing + UET Tag

Google Ecosystem

Google Ads Tracking GA4 Setup & Audit Google Tag Manager

Advanced Solutions

Server-Side Tracking Looker Studio Offline Conversion
Case Studies Blog Free Checklist Book Free Audit →

You open GA4, check your purchase report, and see 47 purchases. You open your Shopify dashboard — 91 orders. Same time period. Where did the other 44 go?

Related Articles

This is one of the most common problems Shopify store owners face after switching to Google Analytics 4. The gap is usually between 30% and 50%, and most stores don’t even know it’s happening.

In this guide, we’ll explain exactly why Shopify GA4 purchase tracking breaks, how to check if yours is affected, and the step-by-step fix.

Why Is There a Gap Between GA4 and Shopify Orders?

There are three main reasons GA4 purchase tracking fails on Shopify. Most stores have at least one of them — many have all three.

1. Shopify’s Checkout Extensibility Broke Your Old Setup

In 2023–2024, Shopify migrated all stores from the old checkout.liquid template to a new system called Checkout Extensibility. The new checkout runs inside a sandboxed iframe — custom JavaScript, including your GA4 tag, can no longer be injected into the checkout pages.

If your GA4 setup relied on custom code inside checkout.liquid — or on a Google Tag Manager container that fired inside checkout — it stopped working silently the moment Shopify migrated you. No error, no warning.

2. Browser-Side Tracking Is Blocked

Even when your GA4 tag is correctly placed, it still misses purchases. Here’s why:

The result: even a perfectly configured browser-side GA4 tag will miss 20–40% of real purchases before any setup issues are considered.

3. Duplicate or Misconfigured GA4 Tags

Shopify gives you multiple places to add a Google Analytics tag — and many stores accidentally add it in more than one place. Common duplicate sources:

If GA4 shows significantly more purchases than Shopify — that’s the duplicate problem. If it shows fewer, your tag is either missing, blocked, or broken by Checkout Extensibility.

How to Check If Your Shopify GA4 Tracking Is Broken

Before fixing anything, confirm the problem:

  1. Open GA4 → Reports → Monetisation → Ecommerce purchases
  2. Set the date range to the last 30 days
  3. Note the total “Item purchases” or “Transactions” count
  4. Open Shopify Admin → Analytics → Reports → Sales over time
  5. Set the same 30-day date range
  6. Compare the order counts

What the numbers mean:

How to Fix Shopify GA4 Purchase Tracking

Step 1: Remove All Duplicate GA4 Tags

Before adding anything, remove every existing GA4 implementation except one. Check these locations:

Step 2: Use the Official Google & YouTube Channel App

Shopify’s official Google & YouTube app is the only method that works correctly with Checkout Extensibility. It uses Shopify’s Web Pixel API — a sandboxed tracking layer that Shopify built specifically to work inside the new checkout.

  1. Go to the Shopify App Store and install Google & YouTube
  2. Connect your Google account and select your Google Analytics 4 property
  3. Set conversion events (purchase is enabled by default)
  4. Complete the onboarding — the app will handle the Web Pixel configuration automatically

This setup will send purchase events from inside the checkout, including the thank-you page, using Shopify’s official API rather than custom JavaScript injection.

Step 3: Verify in GA4 DebugView

After setting up, confirm it’s working:

  1. In GA4, go to Admin → DebugView
  2. Install Google Tag Assistant browser extension
  3. Enable debug mode on your store URL
  4. Place a test order (use a test payment method or a real order you’ll refund)
  5. Watch for the purchase event in DebugView

If you see the purchase event appear in DebugView, your basic setup is working. The 30-day comparison test from earlier will give you an accurate read on overall capture rate after a few weeks.

Going Further: Server-Side Tracking for Shopify

The Google & YouTube app’s Web Pixel method is browser-side — meaning it still gets blocked by iOS, ad blockers, and privacy browsers. It’s the right starting point, but it has a ceiling.

For stores spending $5,000 or more per month on ads, the next step is server-side tracking via Shopify webhooks:

Server-side tracking combined with browser-side Web Pixel — with proper event deduplication — gives you the most complete picture of your Shopify store’s performance in GA4.

Quick Summary

ProblemCauseFix
GA4 shows 30–50% fewer purchasesCheckout Extensibility broke old setupUse Google & YouTube app (Web Pixel)
GA4 shows more purchases than ShopifyDuplicate tags firingRemove all duplicate GA4 sources
Still missing 20–30% after fixBrowser blocking (iOS, ad blockers)Add server-side tracking via webhooks

Need Help Setting Up Shopify GA4 Tracking?

Getting GA4 purchase tracking right on Shopify is more involved than it looks — especially after the Checkout Extensibility changes. If you’re not confident in your setup or you’re still seeing a big gap between GA4 and Shopify orders, we can audit your tracking and fix it properly.

Book a free tracking audit → We’ll check your GA4 setup, identify exactly where purchases are being lost, and put together a fix plan for your store.

Leave a Reply

Your email address will not be published. Required fields are marked *