All things Shopify and commerce
hello folks,
I am learning a Shopify and made 1 ecommerce website with the help of video tutorials. The website is working fine and received a good response from the online world.
I am here to know that if my customer buy the product and after successful purchase which static "Thanks You" page URL I can able to track in Google Analytics. When I set the GOAL in google analytics, it asks me for the destination URL and when I check with dummy order for the URL, I came to know that Shopify default page is dynamic and it change the URL.
Can somebody help me on this? my website URL is www.comfortcollections.co.uk
The final thank you page should contain this: /checkout/thank_you
Hey, @mobeenhassan!
Great question. As shared here, the URL will be `/checkout/thank_you`. If you're just getting set up with Google Analytics you'll find our Complete guide for Google Analytics helpful in speeding up the learning process! Check it out.
Hope that hleps!
Rio | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
For some customers there may be a string between checkout and thank_you so contains won't work for `/checkout/thank_you` when its this url something like this /checkouts/cn/xxxxxxxxxxxxxxxxxxxxxxxxx/thank_you
It doesn’t work. Google Analytics wants the whole link and what you are giving me is dead.
@mobeenhassan as per the response from @Rio and @claricelin you use that snippet in your Google Analytics tracking. The key thing when setting up the tracking event is to select the option where the url "contains" and not the "exact" match.
I hope that helps.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025