The Shopify thank you page (the order confirmation page a customer sees after completing a purchase) is the single most important page in your entire tracking setup. If something goes wrong here, your purchase events do not fire, your ad platforms see fewer conversions, your smart bidding suffers, and you cannot accurately measure ROAS.
This guide explains exactly what happens on the Shopify thank you page after the checkout extensibility update, what does and does not fire automatically, and how to verify your setup is working.
What Is the Shopify Thank You Page?
After a customer completes checkout, Shopify shows them an order confirmation page at a URL like:
yourdomain.com/thank_you
or (on older stores): yourdomain.com/orders/[order-id]
This page is hosted on Shopify’s checkout infrastructure, separate from your storefront theme. This is why standard theme customisations and most tracking scripts that work on your storefront pages do not automatically work here.
What Fires on the Thank You Page (Standard Setup)
On a correctly set up Shopify store using the Web Pixel API (Customer Events system), the following fires on the thank you page:
- Shopify checkout_completed event — Shopify’s internal event that confirms the order. This is what Customer Events pixels subscribe to.
- GA4 purchase event — if your GA4 Customer Events pixel is correctly configured, it receives the checkout_completed event and fires a GA4 purchase event with the order data
- Meta purchase event — if the Meta app is updated and using Customer Events, it fires a Purchase event to Meta
- TikTok CompletePayment event — same condition: TikTok app must be updated to use Customer Events
- Google Ads conversion — either via a Google Ads conversion Customer Events pixel, or via imported GA4 conversions
What Does NOT Fire Automatically
- GTM tags — unless you have explicitly added your GTM container ID to Shopify’s checkout Additional Scripts, GTM does not fire on the thank you page. And even if it is in Additional Scripts, some GTM triggers do not work correctly in the new checkout environment.
- Old script injection code — any tracking code that was manually added to checkout.liquid or older Additional Scripts configurations may have stopped working after the checkout extensibility migration.
- App-based tracking that has not been updated — apps that have not updated their Shopify integration to use Customer Events are not firing on the thank you page on stores that have migrated to checkout extensibility.
How the Checkout Extensibility Migration Affected Thank You Page Tracking
Before 2024, many Shopify stores fired purchase tracking on the thank you page through one of these methods:
- Scripts in Settings → Checkout → Additional Scripts
- Code in checkout.liquid (Shopify Plus only)
- App-injected scripts that used Shopify’s older checkout scripting API
After the checkout extensibility migration, Shopify changed the checkout environment significantly. Additional Scripts still exists on some plans but has more limited access. checkout.liquid is being phased out. Apps that used the old injection methods lost access to the thank you page without updating to Customer Events.
The result for many stores: tracking that appeared to work fine in the dashboard actually stopped firing purchase events on the thank you page, causing a silent drop in conversion reporting.
How to Test What Is Actually Firing on Your Thank You Page
Test 1: Compare GA4 to Shopify for the last 30 days
Pull the purchase count from GA4 (Reports → Monetisation) and compare to your Shopify order count. If GA4 shows less than 90% of Shopify orders, purchase events are not firing correctly on the thank you page.
Test 2: Place a real test order
Make a small real purchase on your own store (you can refund it). Immediately after seeing the confirmation page, check GA4 Realtime to see if a purchase event appeared. Check Meta Events Manager and TikTok Events Manager the same way. If no event appears within 30 seconds, it is not firing.
Test 3: Check Customer Events
Go to Shopify Admin → Settings → Customer Events. If your tracking apps are listed here and show as active, they are using the Web Pixel API. If an app is not listed here, it is using the old method and may not be working on the thank you page.
Fix Missing Thank You Page Tracking
The correct fix depends on what broke:
- If your app is not in Customer Events: update the app, or reinstall it — most major tracking apps now provision a Customer Events pixel on install
- If GTM is not firing on the thank you page: add your GTM ID to Additional Scripts and update your GTM purchase tag to fire on the Customer Events checkout_completed event
- If using a custom implementation: migrate your purchase event code to use Shopify’s Customer Events API
Get Your Thank You Page Tracking Confirmed
The thank you page is where the majority of tracking problems occur, and it is the most impactful to fix because every missing purchase event here affects your ad optimisation data directly.
Book your free Shopify tracking audit here. We test your thank you page tracking, confirm what is firing and what is not, and fix every gap.