Shopify additional scripts deprecation: how to fix your tracking
Your old Thank you page scripts stopped running when Shopify upgraded the page. Here is how to list them, move each one to a pixel or app block, and test purchases.
Google Ads shows zero, inactive or doubled purchases next to your real Shopify orders? Check the Google & YouTube app, remove duplicate tags, then prove it with a test order.
Shopify Google Ads conversion tracking not working usually comes down to 4 things: the Google & YouTube app sends purchases to a different action than your campaigns bid on, an old tag counts orders twice, a cookie banner holds the tag back, or the status hasn't caught up. Check the app, then the statuses, then place a test order.
This costs more than a messy report. Google Ads uses Primary conversion actions for bidding and counts only those in the Conversions column, so if real purchases never reach that column, or reach it twice, your budget is steered by a false number.
Quick test: compare your Shopify order count for the last 14 days with purchase conversions in Google Ads for the same dates. Google Ads only counts actions that follow an ad interaction, so its number should be lower. Zero means tracking is broken. Higher than your order count means something counts twice.
| What you see | Likely cause | Go to |
|---|---|---|
| Purchases show 0, or the purchase action looks inactive | No purchase has reached the action, or campaigns bid on an old action whose tag is gone | Statuses |
| Purchases close to double your orders | 2 Primary purchase actions, or an old tag running next to the app | Duplicates |
| Tracking stopped after the Thank you page upgrade | Old tags in Additional scripts or checkout.liquid no longer run | App check |
| Fewer purchases from some regions | A cookie banner waiting for consent | Consent |
| Tag Assistant sees no Google tag at all | No Google tag, or one hidden in a custom pixel | Duplicates |
Timing is often the clue. Shopify sunset checkout.liquid and Additional scripts for the Thank you and Order status pages on August 28, 2025, and August 26, 2026 was the deadline to upgrade those pages; stores that hadn't were upgraded automatically. Google tags left in those places don't run on the upgraded pages. If purchases dropped around your upgrade, an old script was doing the counting. Our guide to the Shopify Additional scripts deprecation shows where each script goes now.
Most cases of Shopify Google Ads conversion tracking not working start here. The Google & YouTube app connects your Google Ads account to Shopify for conversion measurement, so make it the one place your purchase tracking comes from. To check it:
The shape you want is one Primary purchase action fed by the app, with every other purchase action, such as one from an old tag or a Google Analytics import, set to Secondary. Secondary actions still report in All conversions but stay out of bidding and the Conversions column.
Send your website and we will record a free 2 minute video on where your ad traffic leaks, with the 3 fixes we would make first.
In Google Ads, open your list of conversion actions and read the status of each purchase action next to its Primary or Secondary label. Read the two together: a healthy status on a Secondary action still adds nothing to the Conversions column, and an inactive Primary action usually means your bids are working without purchase data.
| What you see | What it usually means | What to do |
|---|---|---|
| The app's purchase action has never recorded a purchase | No ad-driven order has reached it yet | Run the test order in Step 5 |
| An older purchase action went inactive around your upgrade | The tag behind it no longer runs | Make the app's action Primary, the old one Secondary |
| An action that recorded purchases before shows none lately | Often no ad-driven sale lately, or a tag was removed or changed | Check campaigns are running and spending, then run Step 5 |
| Purchases show in All conversions, but the Conversions column shows 0 | The action is Secondary | Make it Primary, as below |
Primary actions count in both the Conversions and All conversions columns and are used for bidding. Secondary ones normally count only in All conversions. In the Google Ads interface, the two options read "Primary action used for bidding optimization" and "Secondary action not used for bidding optimization". Set the app's purchase action to Primary and the old one to Secondary, save, then check that the Conversions column counts only one of them.
Duplicates usually come from more than one Google tag on the store, or conversion tracking set up before the Google & YouTube app was installed and never removed. To see what your storefront loads, turn off ad blockers and run Google Tag Assistant on your store's address, which Shopify suggests for testing which Google tags load on a page. Two different Google Ads tag IDs, which start with AW-, on the same page are worth chasing down.
Then check each place an old tag can hide:
gtag, AW-, GTM-, googletagmanager.com and googleadservices.com. Tags usually sit in the head, sometimes just before the closing body tag.Leave Shopify's own code, such as {{ content_for_header }}, alone. In Google Ads, disable only the duplicated actions; switching off one that isn't a duplicate leaves a gap in your measurement. A GA4 purchase import should stay Secondary so it doesn't count the same order as the app's purchase action.
Custom pixels run in Shopify's sandbox, and a tag manager loaded there has the same restrictions as any other pixel. Shopify also says Tag Assistant doesn't detect Google tags in a custom pixel, so a tag hidden there won't show up in the check above.
Shopify's pixels overview says new pixels need Marketing and Analytics permissions by default, and in consent-required markets, usually the EEA and UK, web pixels run only after visitors give those permissions. Pixels set up as a data sale skip visitors who opted out of sale or sharing, unless the pixel supports limited data use.
To see where your banner shows, go to Settings, then Customer privacy, and open the Cookie banner section. If you switched the banner on for every region, including the US, you may see fewer measured purchases from visitors who never accept. Whether you need it in a region is a legal question, so ask whoever handles your privacy policy before changing it.
Enhanced conversions supplements the online conversions your tag records with first-party data customers give you, such as the email address or phone number entered at checkout, hashed with SHA-256. Google requires you to accept its customer data terms before you can use it. Turn it on where your purchase tag already lives rather than adding a second purchase tag, which would count orders twice. Avoid a custom pixel for it, since Tag Assistant can't see Google tags there and you couldn't confirm it works.
Shopify offers 3 ways to place a test order: Shopify Payments test mode or the test payment gateway, neither of which charges you, or a real order you cancel and refund right away, which may carry processor fees. Customers can't place live orders while your provider is in test mode, so test at a quiet hour. Run Tag Assistant on your store while you place the order, so you can see which Google tags load at each step, then check the purchase action's status in Google Ads again later. If nothing changes after a test mode order, repeat with a real, low-priced order and refund it.
If 2 test orders still don't register, or your theme holds tags nobody can explain, doing it yourself usually stops paying off. A specialist checks what each tag sends, which actions are Primary and whether each campaign's goals point at the right one. That cleanup is part of our Google Ads management work.
First, confirm the Google & YouTube app is connected to the right Google Ads account and that its purchase action is the one set as Primary. Second, keep one Primary purchase action and remove the old tags behind any others. Third, place a test order with Tag Assistant open, then compare 2 weeks of conversions with real orders. Tracking leads on a non-Shopify site? Read Google Ads conversion tracking not working. Shopping ads not serving at all? Start with Shopify products not showing on Google Shopping.
Want a second pair of eyes on the store your ads send people to? We'll record a free 2 minute video audit of your site showing the 3 fixes we'd make first.
Usually no purchase has reached that action yet, or it belongs to an old tag that no longer runs, such as one in Additional scripts, which Shopify sunset on the Thank you and Order status pages. If an old action is inactive, make the Google & YouTube app's purchase action Primary, set the old one to Secondary and run a test order with Tag Assistant open.
Something counts the same order twice, usually a second Google tag on the store or conversion tracking set up before the Google & YouTube app was installed. Look for old tags in theme.liquid, custom pixels and other apps, and keep only one Primary purchase action in Google Ads. If you import a GA4 purchase event, keep it Secondary.
You can, but it is harder to check. Shopify lets you run Tag Manager as a custom pixel, where it has the same sandbox restrictions as any other pixel, and Shopify says Tag Assistant doesn't detect Google tags in a custom pixel. For most stores, the Google & YouTube app is the simpler home for Google Ads tracking. Don't send purchases from both to Primary actions, or orders count twice.
Some gap is normal. Google Ads only counts a purchase when the shopper interacted with your ad first, so orders from people who never saw an ad won't appear. In consent-required markets, usually the EEA and UK, Shopify runs pixels only after visitors give permission. Purchases on a Secondary action show only in All conversions. Zero purchases, though, means tracking is broken.
For most stores, yes. Enhanced conversions supplements the online conversions your tag records with first-party data customers give you, such as the email address or phone number entered at checkout, hashed with SHA-256. You must accept Google's customer data terms first. Turn it on where your purchase tag already lives, not as a second purchase tag, and avoid a custom pixel, where Tag Assistant can't see it.
The 3 fixes we'd make first on your site, within 1 business day.