Code samples
Introduction of code samples provided by Optimizely.
There are many valuable applications for the JavaScript API. Be sure to modify the code appropriately before running it in production.
Use the code samples in this section in Shared Code, Project JS, or the variation code in the Visual Editor.
Updated 10 days ago