The purpose of this activity is to learn how to create experiments and features within Optimizely and understand how the experiment configuration will be applied in your code.
-
Clone the repository
-
Run
npm install
- replace the the value for
const url = 'https://cdn.optimizely.com/datafiles/Pex4GNxQnzDErs3TJZ7cc3.json';
with the URL to your Optimizely Full Stack project. You can find the url in the Settings tab.
-
Create an A/B Test within the Optimizely UI with two variations, one for each menu.
-
Create a Feature with the Optimizely UI for a prix fixe menu, so it has a appetizer, entree, and dessert
-
Create events in the Optimizely UI for a user ordering the prix fixe as well as events for ordering an app, entree, and dessert off of the regular menu.
-
Replace all instances of
/* ? */
with the appropriate API function provided by the Optimizely UI