Optimizely Web Experimentation JavaScript snippet

  • Updated
  • Optimizely Web Experimentation
  • Optimizely Web Personalization

Optimizely Web Experimentation creates experiments on your site by executing a one-line JavaScript snippet that contains your unique Project ID. After you implement the snippet, you can build experiments and campaigns on your site. This snippet automatically updates to run any experiment you create in the editor. See how you can set up Optimizely Web Experimentation.

Optimizely Web Experimentation lets you perform A/B testing (also known as split testing) and multivariate testing across your entire technology stack. In Optimizely Web Experimentation, these are called experiments.

Experiments that you perform on your website are executed via a one-line JavaScript snippet. This single line of code loads Optimizely Web Experimentation on your site and changes the experience for visitors who are randomly bucketed into variations. Other visitors see a baseline or original experience. Optimizely Web Experimentation helps you compare these variations of an experience and determine which leads to a better user experience and more conversions. The snippet determines how changes execute for visitors to your site. Each snippet lives in a project in your Optimizely Web Experimentation account.

The project is a space where you build and manage experiments and track the results.

If your account uses custom snippets, you might have more than one snippet listed in your projects.

Optimizely Web Experimentation collects data about your visitors and conversions and runs them through our Stats Engine to show you which variations are winners or losers compared to your baseline so that you can make decisions about which changes to implement on your site.

The following image shows how the process works:

snippet-1.png

If you are experimenting with your mobile app or across your technology stack, Optimizely Experimentation offers software development kits (SDKs) with Optimizely Feature Experimentation.

How else can you use Optimizely Web Experimentation?

Additional resources