Shopify Additional Scripts Displaying On /orders/ Path Instead Of Just /checkouts/

- 1 answer

I work with tracking pixels on a wide range of sites. We have an implementation that we've been using for Shopify that utilizes the "Additional Scripts" field in Settings >> Checkouts to populate a tracking pixel to the checkouts "thank-you" page.

Currently we've been seeing some edge cases where the pixel set up like this seems to be displaying on other pages in the order tracking section of the site. Just wondering if anyone knows why this might be happening. Current theory is that one of the apps that all of these clients are using is causing the problem.

As an example, the standard pixel using this set up fires on

where xxxxxx and yyyyyy are the account and order numbers respectively. Currently we are seeing the pixel triggered from the same additional scripts firing on

Which obviously isn't stemming from the checkouts controller, which begs the question as to why a script defined in the settings for the checkout controller (which I believe edits the config file for the checkout directly) is ever changing this. When you visit the pages in the second format they contain order tracking status.



Yes, there is a new URL format for the order status page. If the customer returns to the order status page (for example from an email that used the {{ order_status_url }} Liquid variable) then they'll see the{shop_id}/orders/#{order_token} structure.

You can find out more from the announcement here: