Hi everyone! I’m looking to run Split URL test on collection and product pages on Shopify but don’t know how to!
I previously did Split URL on home page and it was easy as I just created another page of Home Page but this is not possible with collection and product pages as they are assigned to products and collections!
Anyone has experience on how to achieve this? I’m using VWO for split testing.
You can change the template that is visualized by adding a GET argument in the URL. The argument is ?view=[template-name].
For example, if you have a collection that uses the default template, and the URL is /collections/all-products. If you want to see this collection through another template without changing it from the backend, just change the URL to /collections/all-products?view=alt, where alt is the name of the other template.
I hope this is helpful.
Running a Split URL Test on collection and product pages in Shopify is trickier than on the homepage because Shopify automatically assigns URLs to collections and products. However, you can duplicate collections/products to achieve this using VWO. Here is how to do it:
Duplicate the Collection/Product Page
In Shopify Admin, go to Products or Collections.
Duplicate the product/collection you want to test.
Change the URL handle (e.g., /collections/test-a and /collections/test-b).
Update any differences you want to test (pricing, images, descriptions, etc.).
Hide the duplicate from navigation and search engines (use noindex in theme.liquid).
Set Up a Split Test in VWO
In VWO, go to A/B Testing → Create Split URL Test.
Add the original URL (/collections/original) and the variation (/collections/test-b).