The Optimizely Experiments extension integrates your existing Optimizely Experiments with Contenstack’s UI and allows you to retrieve and display the Experiment details into your entry page. Additionally, this extension allows you to start and pause Optimizely experiments directly from the sidebar, and view their variations, their traffic distributions, and Audiences.
We have created a step-by-step guide on how to create an Optimizely extension for your Stack. You can refer the Optimizely Experiments extension guide on our documentation site for more info.
To modify the extension, first clone this repo and install the dependencies. Then, edit the HTML, CSS and JS files from the source folder, and create a build using gulp task. To install dependencies, run the following command in the root folder
npm install gulp-cli -g
npm install
To create a new build for the extension, run the following command (index.html):
gulp build