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
Dev Guide

Optimizely Event API

Overview of the Optimizely Event API, which you use to send event data to Optimizely Experimentation.

The Optimizely Event API

Optimizely Experimentation uses the Event API to send event data to the backend servers. In fact, Optimizely Web Experimentation and Optimizely Feature Experimentation implement the Event API to send your event data to Optimizely Experimentation.

Use the Event API

In order for Optimizely Experimentation to ingest your data, you must send that event data to Optimizely. You can do so using one of the Optimizely Experimentation products or directly using the Event API.

You can send data to Optimizely Experimentation using:

  • Optimizely Web Experimentation – Once you have implemented the one-line snippet on your web page and created events, the snippet will automatically send event data to Optimizely Experimentation's backends.
  • Optimizely Feature Experimentation – Once you have implemented one of Optimizely Feature Experimentation's SDKs or Optimizely Agent, created events, and instrumented those events, the Optimizely clients will send event data to Optimizely Experimentation's backends.
  • The Event API – You can send event data directly to Optimizely Experimentation using the Event API by making a POST request with the proper payload to the endpoint: <https://logx.optimizely.com/v1/events>. This is especially helpful for tracking events that would otherwise be difficult to do through Optimizely Experimentation's products, like tracking offline conversions.