Conversion Tracking Setups Graded: Shopify Pixel vs GTM vs Server Side
Five Shopify conversion tracking setups graded F to A, from the app pixel to a Google Tag Manager Shopify custom pixel and server side, plus how to move up.
By the Ecom Graded editorial team
People who run e-commerce ad accounts every day.
Last checked 15 min readMarkdown
On this page
Say it is Tuesday, ten days before Black Friday, and Google Ads reports 300 purchases for last week while Shopify shows 200 paid orders in total. You open Settings, then Customer events, and find the Google & YouTube app pixel and a custom pixel a freelancer added in 2025. Then you open the theme code and find a Google Tag Manager Shopify snippet nobody remembers installing. Any of them could be sending the same purchase.
Short version: Conversion tracking on Shopify should run from Shopify customer events, never from theme code alone. Grade A sends each purchase from the browser and from order data on a server, deduplicated by order ID into one Primary purchase action in Google Ads. A reviewed Google & YouTube app pixel or a Google Tag Manager Shopify custom pixel earns a B. Stacked, unaudited tags earn an F.
What a good Shopify conversion tracking setup does
A good conversion tracking setup on Shopify records every paid order once, with the right value, in the platform that bids on it, and someone on your side can change it and check it. A setup that misses any of those three is weaker than the Google Ads interface makes it look.
Conversion tracking is the setup that tells Google Ads which ad clicks led to a sale and what the sale was worth. Smart Bidding, Google's automated bidding, learns from those conversions, so whatever the tracking reports is what your budget chases. The Google Ads conversion tracking a Shopify store inherits from old installs is a common reason a bid strategy behaves strangely.
Completeness: every checkout path
Completeness means a purchase is recorded whichever way the shopper pays: the standard checkout, an express wallet such as Shop Pay, Apple Pay or PayPal, or a post-purchase upsell page. It also means the purchase survives an ad blocker or a shopper who closes the tab before the Thank you page finishes loading, which is where server delivery earns its place.
One count: each order once
Each order should count once, in one Primary purchase conversion action. Google Ads removes duplicates within a single conversion action when they carry the same transaction ID, which on Shopify is the order ID, but it does not remove duplicates across two different conversion actions. Two Primary purchase actions fed by two tags mean every order can count twice, and Smart Bidding treats the inflated return as real.
Control: you can change it and check it
Control means someone on your side knows what each tag sends, can add a parameter such as a margin value, and can test a change before a sale. A setup that only one freelancer understands, inside a container the store does not own, fails this test however well it works today.
Where Google Tag Manager Shopify tags can run
Tracking on Shopify can run in three places: theme code, Shopify customer events and a server. Only the last two can see a completed checkout, and only a server can record a paid order that the browser never reported, whether you use the Google & YouTube app or a Google Tag Manager Shopify container.
Theme code
Theme code is the set of Liquid files in your online store theme, usually theme.liquid, where most older Google Tag Manager Shopify tutorials tell you to paste the container snippet. Theme code loads on storefront pages such as home, product, collection and cart pages. It does not load in checkout, and on stores using checkout extensibility the old Additional scripts box on the Thank you and Order status pages no longer runs scripts. Check Shopify's help center for the current status of your store's checkout.
Shopify customer events
Shopify customer events is the section under Settings, then Customer events, where tracking pixels are managed. It holds two kinds. App pixels are installed and configured by apps such as the Google & YouTube app. Custom pixels are code you paste in yourself. Both subscribe to standard events Shopify publishes, such as product_viewed, product_added_to_cart, checkout_started and checkout_completed, on the storefront and in checkout.
Pixels run in a sandbox, separate from the page, so they read Shopify's event data rather than the page itself. Most setups that send Shopify customer events to Google Ads use one of two pixel types: the app pixel from the Google & YouTube app, or a custom pixel that loads Google Tag Manager or the Google tag.
A server
A server, in tracking, is a container you rent, host yourself or get through a tracking app, which receives events and forwards them to Google Ads, Google Analytics 4 (GA4) and other platforms. A server can also take the purchase from Shopify's order data, so the sale reaches Google Ads even when the browser never fired. The guide to Shopify server side tracking options such as Stape and Elevar compares the ways to get one.
How we graded each conversion tracking setup
Each setup below gets a letter from F to A for completeness, one count and control together, judged for a Shopify store spending a few thousand dollars a month or more on Google Ads. The grades apply to setups, never to an app, tool, agency or company, and the reason for each grade is written out in its own section.
The table is the quick view. The full method for grading setups and practices is on the how we grade page.
| Setup | Grade | Where it runs | What it sees | Main risk |
|---|---|---|---|---|
| Stacked tags nobody has audited | F | Theme code, Customer events and leftover scripts at once | Most orders, often more than once | Inflated conversions that Smart Bidding chases |
| Google Tag Manager in the theme only | D | Theme code | Storefront pages, never checkout | Purchases missing, or tracked by scripts that no longer run |
| The Google & YouTube app on its defaults | C | App pixel in Customer events | Storefront and checkout | Old purchase actions still Primary, enhanced conversions and consent unchecked |
| One reviewed browser source | B | App pixel or one custom pixel | Storefront and checkout, counted once | Orders lost to ad blockers and closed tabs |
| Browser and server, deduplicated and monitored | A | Customer events plus a server | Every paid order, counted once | Needs a named owner, a weekly check and running costs |
F: stacked tags nobody has audited
A store where the Google & YouTube app, a container in the theme and a leftover custom pixel all send purchases, with nobody sure which of them count, earns an F. The F is not for any single tag; it is for the stack and the missing owner.
Nobody chooses this setup. It builds up over time: the app goes in at launch, an agency adds a container to the theme, a freelancer adds a custom pixel for a new platform, and nobody removes the old pieces. Each step made sense on the day, and together they make the conversion numbers impossible to trust.
How to spot double counting
Take a full week from about a month ago, so late conversions have landed. If purchases in the Google Ads Conversions column, segmented by conversion action, so only purchase actions are counted, are higher than all paid orders in Shopify for the same dates, something is very likely counting twice, since Google Ads should only claim orders that followed an ad interaction. Then open Goals, then Conversions, then Summary in Google Ads and look at the Purchase category: more than one action marked Primary is the usual cause.
Some difference between the three systems is normal even in a clean setup. The guide on why Google Ads, GA4 and Shopify never show the same revenue explains which gaps are expected and which point to a broken tag.
D: a Google Tag Manager Shopify install in the theme only
A Google Tag Manager Shopify install pasted into theme.liquid as the only tracking earns a D. It tracks browsing well enough, but it cannot see checkout, so the one event Google Ads bids on is either missing or still depends on scripts Shopify has retired.
This is what many older tutorials describe: paste the head snippet into theme.liquid, paste the body snippet after the opening body tag, and build the tags in Google Tag Manager. On storefront pages, a Shopify GTM container placed that way behaves as it would on any website, and page views, product views and add to cart clicks can all be tracked.
Why theme code cannot see the purchase
Shopify's checkout and its Thank you page are not rendered by your theme, so a container in theme.liquid never loads there. Stores used to work around this by pasting the container or a Google Ads tag into the Additional scripts box in checkout settings, and that is the part Shopify has retired with checkout extensibility. As of November 2026, if your purchase action still depends on that box, check its status in the Google Ads conversion summary. A status such as No recent conversions may be the only sign that it stopped.
Why the D is not an F
A D at least has one container and one place to look. Moving that container into a Shopify custom pixel, or handing purchase tracking to an app pixel, fixes the checkout blind spot without throwing away the tags and variables already built.
C: the Google & YouTube app on its defaults
Installing Shopify's Google & YouTube app and leaving every setting as it was earns a C. Purchase tracking runs through Shopify customer events, so checkout is covered, but nobody has checked what else in Google Ads counts the same purchase or exactly what the app sends.
The Google & YouTube app is Shopify's free sales channel app for Google. At the time of writing it connects Merchant Center and Google Ads, installs an app pixel in Customer events and creates its own conversion actions in Google Ads. For a new store with no other tracking, that is a sound start, and it takes minutes rather than days.
What the defaults leave open
The weak points are in what surrounds the app. Purchase actions from a previous setup may still be Primary next to the app's own action. Enhanced conversions may be off, or on in two places. Your cookie banner's choices may not reach Google as consent signals. And the conversion value may include or exclude tax and shipping differently from how you read revenue in Shopify. None of this shows up as an error; it shows up as numbers that never quite match.
B: one reviewed browser source
One browser source for each Google purchase, either the Google & YouTube app pixel or a Google Tag Manager Shopify custom pixel, with exactly one Primary purchase action, enhanced conversions on and consent passed, earns a B. Every order the browser reports is counted once; the gap left is the orders the browser never reports.
The Shopify app pixel or a Google Tag Manager Shopify custom pixel
The choice inside a B is about control, not accuracy. Both routes run in Shopify customer events and both see checkout. The difference is who decides what gets sent, and how much work it takes to change.
The Google & YouTube app decides which events fire and what they carry. Little to build or maintain, and it suits a store whose Google tracking needs are standard. Custom values, such as margin, are hard or impossible to add.
You decide every event, value and destination, all from one container you own. It suits a store with someone who can build and test tags. Debugging is harder inside the sandbox, and every change is yours to maintain.
A server also sends the purchase from order data, so blocked or closed browsers stop costing conversions. It suits a store with steady Google Ads volume. It adds running costs and needs a weekly check.
A Shopify custom pixel is code you add under Settings, then Customer events, then Add custom pixel. Shopify's help center documents a pattern for loading Google Tag Manager this way: the pixel loads the container, subscribes to standard events such as checkout_completed and pushes each one into the data layer with the values you choose. A Google Tag Manager Shopify setup built like this lets you send the order ID, value, currency and items exactly as you want, and keep Google Ads, GA4 and other tags in one container.
The cost is debugging and upkeep. Because the pixel runs in a sandbox, Google Tag Manager preview mode does not behave the way it does on a normal page, and page details such as the URL have to be read from Shopify's event data. Plan to test with real test orders, the Google Ads conversion diagnostics and GA4's DebugView instead.
Enhanced conversions and consent
Enhanced conversions is a Google Ads feature that sends a hashed version of customer data from the order, such as the email address, with the conversion, so Google can match more sales to ad clicks. Turn it on in one place only, and accept the customer data terms in the Google Ads conversion settings. The guide to enhanced conversions for Shopify covers the setup for each route.
Consent mode is Google's way of passing a visitor's cookie choice to Google tags, through the signals ad_storage, analytics_storage, ad_user_data and ad_personalization. Shopify's customer privacy settings record the choice from your cookie banner, and pixels in Customer events receive it. Check that your setup turns that choice into consent mode signals rather than ignoring it.
A: browser and server, deduplicated and monitored
A browser source and a server source sending the same purchase to one Google Ads conversion action, deduplicated by order ID, with enhanced conversions, consent and a weekly check against Shopify orders, earns an A. It recovers the orders the browser misses without counting any order twice.
What server side tracking adds for Google Ads
Server side tracking for Google Ads means the purchase reaches Google from a server, not only from the shopper's browser. The server can be a Google Tag Manager server container on a subdomain of your store, or the servers of a tracking app. It helps most when shoppers close the tab before the Thank you page loads, or when browser tags are blocked.
Server side tracking for Google Ads still depends on the browser for one thing: the click identifier. Google Ads matches a conversion to an ad click through the gclid, or the gbraid and wbraid parameters on some Apple device traffic, which have to be captured when the shopper lands. If nothing stores that identifier, the server has little to match on, and enhanced conversions data becomes the main way Google connects the sale to the click.
Deduplication by order ID
When the browser and the server both send a purchase to the same conversion action with the same transaction ID, Google Ads counts it once. On Shopify the order ID is the natural transaction ID, so both paths must send exactly the same value in the same format. If one path sends the order number customers see, such as #1001, and the other sends Shopify's internal order ID, every order counts twice.
The weekly check
An A setup stays an A only while someone looks at it. Once a week, compare Shopify paid orders with Google Ads and GA4 purchases for a week that has had time to settle, and read the conversion diagnostics in Google Ads for warnings. A break caught after a week costs a week of bidding on bad data; one caught after a quarter costs a quarter.
Which tracking setup fits your store
Most small stores should aim for a B and stop there until order volume grows, while stores with steady Google Ads spend and plenty of orders should aim for an A. The deciding factors are how many orders the browser misses, who maintains the tags and how much you need to customize what is sent.
Score your Google Tag Manager Shopify or app pixel setup
The checklist below scores your tracking against the same tests used for the grades, whether it runs on the app pixel or a Google Tag Manager Shopify container. The two must-haves are one Primary purchase action and purchases recorded on every checkout path; until both are ticked, no total reads as in good shape.
A small store on the Google & YouTube app
A small store already on the Google & YouTube app can move from C to B without adding Google Tag Manager at all. Set one Primary purchase action, switch on enhanced conversions in one place, confirm consent reaches Google, and remove leftover tags from the theme. That covers the parts of a B that cost nothing and needs no developer.
A store with someone to own the tags
A store with an in-house marketer or developer who can build and test tags gets more from a Google Tag Manager Shopify custom pixel, because it can send custom values such as margin and feed several platforms from one container. Once that container is stable, adding a server container on top is the natural route to an A.
An account run by an agency
If an agency runs your Google Ads, ask which of the five setups your store has today and what it would take to move up one grade. A good answer names the Primary purchase action, the source of the purchase event and who checks it each week. Make sure the container, the server account and Google Ads all sit in accounts the store owns, so the tracking stays when the agency changes.
Moving up a grade without breaking reporting
Move one grade at a time, run the new source as a Secondary action beside the current Primary one, and switch Primary only after the numbers agree with Shopify orders. Changing the Primary purchase action changes what Smart Bidding learns from, so the timing matters as much as the setup.
As of November 17, 2026, Black Friday on November 27, 2026 is ten days away, which leaves no room for a proper comparison period. If Google Ads is clearly counting orders twice, setting the duplicate purchase action to Secondary is usually worth doing now, because Smart Bidding is already bidding on inflated numbers. Leave every other change until January, when traffic is calmer.
Before you switch the Primary purchase action
Run through these checks before the new source becomes the one Google Ads bids on.
- Shopify paid orders, Google Ads purchases and GA4 purchases are compared for the same settled week
- The new source runs as a Secondary purchase action next to the current Primary one
- Both the browser and the server send the Shopify order ID in the same format
- Test orders paid by card, by express wallet and with a Shopify automatic discount applied each fire one purchase event with the order ID in GA4 DebugView
- Every pixel in Customer events and every script in the theme is listed, with what it sends
- The switch date sits outside the Black Friday and Cyber Monday weeks
Remove old tags last
Once the new action is Primary and has matched Shopify paid orders for a few weeks, set the old action to Secondary and remove its tag a little later. Removing the old tag first leaves you with nothing to compare against if the new source turns out to miss a checkout path.
What to do next
Find your current grade this week, fix double counting first, and plan the next grade for after the holiday peak.
- Grade your current setup. Open Settings, then Customer events in Shopify, then your theme code, and list every tag that sends a purchase. Compare the list with the five setups above and write down which one you have.
- Fix the count. In Google Ads, open Goals, then Conversions, then Summary, keep exactly one purchase action as Primary and set the others to Secondary. Use the checklist above to find what else is missing.
- Plan one move and date it. Choose the next grade up, usually a reviewed browser source or a server path, build it as a Secondary action in January and make it Primary only once it matches Shopify paid orders for a few weeks.
Summary: The strongest Shopify conversion tracking setup sends each purchase from Shopify customer events and from a server into one Primary Google Ads action, deduplicated by order ID, while a Google Tag Manager Shopify container left in the theme alone earns a D.
Frequently asked questions
Should I use Google Tag Manager on Shopify or the Google & YouTube app?
Use the Google & YouTube app if your Google tracking needs are standard and nobody on your team builds tags; a reviewed app pixel setup earns the same B as a reviewed Google Tag Manager custom pixel setup. Choose a Google Tag Manager Shopify custom pixel if you need custom values such as margin, several platforms fed from one container, or a path to server side tracking. Either way, keep exactly one Primary purchase action in Google Ads.
Can Google Tag Manager track Shopify checkout?
Not from theme code. A container pasted into theme.liquid never loads in checkout, and the old Additional scripts box no longer runs scripts on stores using checkout extensibility. To see checkout and purchases, load Google Tag Manager inside a custom pixel under Settings, then Customer events, and subscribe to standard events such as checkout_completed. Shopify's help center documents this pattern for a Google Tag Manager Shopify setup.
Do I need server side tracking for Google Ads on Shopify?
Not at first. Fix double counting, enhanced conversions and consent in your browser setup before you pay for a server. Server side tracking helps when the browser misses purchases because of ad blockers or closed tabs, and it suits stores with steady Google Ads spend and someone to check it weekly. It still needs the click identifier captured in the browser and the same order ID as the browser purchase.
Why does Google Ads show more purchases than Shopify?
Usually because more than one purchase conversion action is set to Primary, often the Google & YouTube app action next to an older tag from the theme or a custom pixel. Google Ads removes duplicates within one action that share a transaction ID, but not across two different actions. Open Goals, then Conversions, then Summary, keep one Primary purchase action and set the rest to Secondary.
What is a Shopify custom pixel?
A Shopify custom pixel is tracking code you add yourself under Settings, then Customer events, then Add custom pixel. It runs in a sandbox separate from the page and subscribes to standard events Shopify publishes, such as product_viewed and checkout_completed, on the storefront and in checkout. It is the supported place for tracking code that once lived in theme files or the Additional scripts box.
How do I stop the browser and a server counting the same order twice?
Send both to the same Google Ads conversion action with the same transaction ID, and use the Shopify order ID on both paths, in exactly the same format. Google Ads then counts the order once. If one path sends the order number customers see and the other sends the internal order ID, or the two paths feed different conversion actions, every order counts twice.
Related guides
- Tracking and attributionNorthbeam vs Triple WhaleYou will be able to decide whether Northbeam, Triple Whale or a free baseline fits your spend, channel mix and team, and how to trial it before you sign.
- Tracking and attributionEnhanced Conversions for Shopify: Setup and What It FixesYou will be able to decide which of the three Shopify setup routes fits your store, what to fix before turning enhanced conversions on, and whether it is working afterwards.
- Tracking and attributionTriple Whale Alternatives for Shopify BrandsYou will be able to decide whether to stay with Triple Whale and fix tracking, move to a lighter free setup, or trial a Shopify-first, measurement or customer-based alternative.
Listings
Run or use a tool or agency that belongs here?
Submitting is free. Every submission is reviewed for fit before it is listed.