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.

I was trying to do it for Google Tag Manager and found these videos very helpful! https://www.youtube.com/watch?v=h8o7CBqa-C4

1 Like