How to change "thank you"/"order status" page url?

Topic summary

Main issue: Need a single, universal “thank you/order status” URL for Facebook purchase tracking. Shopify generates a unique URL per order, complicating link-based tracking. OP asks if they can change the URL or inject a Facebook Pixel in Checkout > Order status page scripts.

Suggested approach:

  • Use Shopify’s official Facebook & Instagram app to connect the Pixel and send purchase events via Shopify’s backend (server-side), not via a page URL.
  • This method is more accurate than injecting client-side scripts on the order status page.
  • Verify Meta (Facebook) data sharing settings to ensure the correct events (e.g., purchase) are sent. Help Center links were provided.

Clarifications:

  • Adding custom scripts on the order status page is described as an older, less reliable method.
  • No direct method to make the thank-you URL universal was provided in the thread.

Status/outcome:

  • OP already installed the Pixel but marketer requested a single link; guidance is to rely on the app/server-side events instead.
  • Another user reports the same issue since May 12 and asks for updates.
  • No confirmed resolution; discussion remains open.
Summarized with AI on January 25. AI used: gpt-5.

Hello,

I need a universal url to be able to track purchase actions on facebook, however, the “thank you page” url or “order status page” is different for each order, which makes it impossible to track correctly that way. Is there any way to change the url and make it universal?

When I go to settings > checkout and scroll to the bottom of the page, I can see that it’s possible to add scripts to the Order status page.

Would it be possible to put a facebook pixel code there to track that specific page?

What can be done?

Thank you in advance!

Hello,

You should use the facebook app and add your pixel there Facebook & Instagram - Bring your products to people on Facebook and Instagram. | Shopify App Store

Hello,

Thank you for your answer. I already have the facebook pixel set up! But the person I hired to do the marketing specifically needs the link from the “thank you” or “order status page” page (supposedly they are the same) in order to be able to track the purchase event. As I explained above, the url is different for each order, which makes it impossible to track.

Isn’t there some other way?

Hello,

Adding the code as described by the person you hired is the old way and not very accurate. The app should be used to send the purchase data via the backend without affecting your website.

Here is a list of the data it should be sending Facebook data sharing · Shopify Help Center

Here is some info on making sure you have allowed the right kind of data access

https://help.shopify.com/en/manual/promoting-marketing/analyze-marketing/meta-data-sharing

Hopefully this helps

Hey!

I’ve been facing the same issue from 12th of May, but haven’t found any solution yet.

did you manage to get your issue sorted with adding script ?