I have over 100 tests on VWO with my commerce site. Usually, I can get the exact testing setup I need fairly quickly.
However I have a particular situation where I need to match 4 variables in a url that could appear in Random Order.
Here is how the URL's are structured:
1. https://www.website.com/buy/product-page?utm_x=utms&aid=12345&tid=12345678901234567890&productvarid=123
2. https://www.website.com/buy/product-page?utm_x=utms&aid=12345&tid=12345678901234567890
3. https://www.website.com/buy/product-page?utm_x=utms&aid=12345&productvarid=123
4. https://www.website.com/buy/product-page?aid=12345&utm_x=utms&tid=12345678901234567890&productvarid=123
5. https://www.website.com/buy/product-page?tid=12345678901234567890&utm_x=utms&aid=12345&productvarid=123
a. buy/product-page is a constant
b. utm's - ignore, those are basically referral and ad campaign tracking
c. aid - can appear anywhere in query string, this gives credit to aid for a product sale
d. productvarid=123 - can appear anywhere in query string, usually at end, this tells the page which product variation to offer
e. tid= - ignore - This can appear anywhere in query string, this is a unique hash
generated per usersession
Goal: I must match and apply test to url begins with
https://www.website.com/buy/product-page
AND contains ?productvarid=123
AND contains ?aid=12345
AND exclude utm(.*) contains=test
but in any order
I can apply this to fixed order strigs, but havent had success doing variable order strings to successfully track a/b test on.
(I had to format this whole post as code because i'm getting unable to post error :( )