Skip to content

Shopify Dude Fix

Shopify Additional Scripts Are Sunset: Audit Thank You and Order Status Tracking

Legacy additional scripts and checkout.liquid no longer provide a reliable tracking path on Thank you and Order status pages. Audit pixels, extensions and order attribution before removing code.

Quick answer: Do not paste new analytics or conversion scripts into the legacy Additional scripts field. Shopify sunset checkout.liquid and additional scripts for Thank you and Order status pages on August 28, 2025, and sunset script tags for non-Plus stores on August 26, 2026. Use Shopify’s supported customer events and pixels for event tracking, and checkout UI extensions for eligible checkout interface requirements.
On this page

What changed

Older tutorials recommend adding JavaScript to Order status additional scripts to fire a purchase event or show a survey. That depended on legacy checkout rendering and globals. Checkout Extensibility separates event collection from the checkout UI. A pixel is not a replacement for arbitrary DOM access, and a UI extension is not a general-purpose script injection point.

Implementation

Inventory legacy snippets in checkout settings, theme files, app embeds, tag managers and installed apps. Record each snippet’s purpose: purchase tracking, affiliate attribution, survey, upsell, support text or compliance notice. For analytics, evaluate a supported app pixel or custom pixel and subscribe to the relevant customer events. For visible checkout content, evaluate the available checkout UI extension targets and plan eligibility. Remove old scripts only after the replacement passes side-by-side event and order tests.

Example

Map a legacy purchase conversion snippet to the supported checkout_completed customer event, then verify the event payload, consent behavior, order identifier and deduplication strategy in your analytics destination. Do not blindly copy checkout.liquid JavaScript into a custom pixel: sandbox permissions and data access differ.

Common misunderstanding: A pixel can reproduce any checkout.liquid customization. Pixels handle events under privacy and sandbox rules; they cannot arbitrarily change checkout markup. A thank-you-page UI block cannot guarantee that a third-party conversion tracker receives exactly one event.
How to test this: Place test orders with guest and logged-in buyers, multiple payment methods, and consent accepted or declined. Compare recorded purchase IDs and values against actual orders, including taxes, shipping and discounts. Check duplicate events on refresh and revisit. Verify the customer-facing Thank you and Order status pages on desktop and mobile; confirm no retired script dependency remains.