- Optimizely Feature Experimentation
- Optimizely Full Stack (Legacy)
- Optimizely Web Experimentation
- Optimizely Performance Edge
A benefit of using Optimizely Web Experimentation as an AB testing tool is that you do not need to remove the flag from the page when you are done running a particular experiment.
Experiment on pages that are not easily captured by URL targeting
Optimizely Web Experimentation's default URL targeting lets you specify the pages where your experiment should run. However, you may want to run an experiment on a group of pages or for a group of visitors that is not easily captured by the default targeting functionality.
Experiment on a page for logged-in visitors only
You want to run a test on your product page that targets only visitors that are currently logged in. You use a variable on your page called
logged_in that is either set to yes or no according to the visitor’s status, but targeting based on cookies does not work.
window.logged_in = “yes”; </script>
logged_in === “yes” that will evaluate to true only if the visitor is logged in.
Experiment on certain days
You want to test a weekday (Monday - Friday only) promotion on your homepage, but day/time conditions do not work.
new Date().getDay() > 0 && new Date().getDay() < 6 that evaluates to true only when the day of the week is Monday (day 1), Tuesday (day 2), Wednesday (day 3), Thursday (day 4), or Friday (day 5) (based on the visitor’s location).
Experiment on pages with certain meta-values
You want to target customers that are on a page with a certain meta-value.
$(‘meta[name=”desired_value”]’).length > 0 that ensures that the experiment only runs on pages with that meta-value.
Experiment for visitors with certain screen sizes
You have a responsive design site and only want the experiment to run for certain screen sizes.
screen.width > 1400 && screen.height < 800; that ensures that the experiment runs only if the screen width is greater than 1400 and the height is less than 800.
Experiment for visitors who are not on mobile devices
You want to display an experiment to visitors who are not on mobile devices, but setting a condition based on device or browser does not work.
screen.width <= 800 && screen.height === 1280
If you know the device-specific