How do I create a 'Thank You' page URL for tracking conversions?

Topic summary

Determining the Shopify “Thank You” (order status) page URL for conversion tracking in Google Analytics, Hotjar, and Google Ads.

Key points

  • Shopify generates a unique order status (“Thank You”) page per order; there is no single static URL. It can be revisited via the email’s “View your order” link.
  • Official docs were shared for adding and customizing tracking on the order status page; creating a custom Thank You page is not required.

Google Analytics (GA)

  • Destination Goal options are: Equals to, Begins with, Regular expressions (no “Contains”).
  • Multiple users report the Thank You URL includes either “/thank_you” or “/thank-you”. One confirmed success using “/thank_you”.
  • Recommended: place a test order to see your exact path, then set a Destination Goal using Regular Expression to match “/thank_you” or “/thank-you”.

Hotjar and Google Ads

  • Hotjar: track visits using “URL contains /orders/”.
  • Google Ads: track conversions with “URL contains thank-you” and ensure gtag is installed; test with Google’s simulator.

Open question

  • Whether revisits to the order status page via email create duplicate conversions remains unanswered.

Status

  • Consensus on using pattern-based matching and validating via a test order; no single universal URL; discussion effectively guided but not fully resolved.
Summarized with AI on December 17. AI used: gpt-5.

Hey there, you can use an app for this and these apps are really helpful and there are a lot of customization features you can search for these type of app from the shopify app store or you can use one of these apps such as Thank you page customizer or Better thank you page etc.

As well as, I would like to suggest you to try a good shopify landing page builder such as Layoubase https://apps.shopify.com/layoutbase-pagebuilder

which can help you and make your work easy and handy without any coding, It is a drag & drop page builder. Thanks