Push

This topic describes the optimizely.push API function that updates the state of Optimizely Web Experimentation in the browser.

This topic describes the optimizely.push API function that updates the state of Optimizely Web Experimentation in the browser.

window["optimizely"].push({
  type: "event",
  eventName: "watchedVideo",
  tags: { // Additional metadata for targeting (optional)
    title: "Funny Cats",
    duration: 30,
  }
});