Ecommerce Wholesale/Retail testing based on search query
Noob over here, so I do apologize if this question is too basic.
I have a retail/wholesale e-commerce website. I would like to test different versions of my page based on the search query used to arrive at my site. IE if the customer used the word "wholesale" in their search they would see a version of my homepage tweeked for that kind of customer.
Does this fall under QUERY PARAMETERS ? I've been playing around with it but cannot seem to make it work.
Thanks for your time.
Thanks for reaching out to Optiverse!
The easiest way would be to set up a specific experiment for a specific audience. Through the audience settings you can exclude or include visitors from your experiment.
You could set a Query Parameter filter where only visitors are getting bucketed into your experiment if they meet the requirements e.g. if the parameter 'wholesale' got appended to the URL.
Please check out our knowledge base article about the audience settings. It gives you a good overview of the available filters.
Also please ensue that the Optimizely snippet is installed on all the pages you are going to run your experiment on.
I hope that helps!
EMEA | Amsterdam
For example, say a user is coming in from a search for "personalized brown widgets". I scan the relevant query string value for keywords that I'm targeting experiments on, say in this case "widget(s)". The script sets the value of the demographic cookie to "widgets", and then I set up an Optimizely audience to check the cookie value. This is vastly over-simplifying the process (especially in regards to what the actual value is being set in the cookie - it's not being set as a recognizable word and multiple things are being stored at one time) but should give you some ideas towards building out a system of your own.