A/B Testing Collection and Product Pages

A/B Testing Collection and Product Pages

alonelanister
Shopify Partner
8 0 1

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.

Reply 1 (1)

htmlBurger
Shopify Partner
83 7 20

Hello,

 

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.

Found this helpful? Like and accept as solution to help others too!
htmlBurger – Founded in 2007, Shopify experts for 10+ years.
Custom themes, UI/UX design, ongoing maintenance & support.
Let's talk: ecom@htmlburger.com