Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

API functions

The Optimizely Web Experimentation API has many useful functions that can be used to control Optimizely Web Experimentation and Optimizley Personalization.

The functions can be grouped into three types:

  • Functions that have a global effect on Optimizely Web Experimentation and Optimizely Personalization execution.
  • Function that can be used to develop experiences (see also JavaScript execution).
  • Function that can be used to monitor what Optimizely is doing.

Review the Push and Get sections below for documentation on all of the API functions.