Event API Overview

You must first send the data to Optimizely Experimentation to analyze your experimental data.

You can easily send data to Optimizely with the following products:

  • 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's backends.
  • Using 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.
  • Using the Event API – You can send event data directly to Optimizely using the Event API by making a POST request with the proper payload to the endpoint: <https://logx.optimizely.com/v1/events>. Optimizely Web Experimentation and Optimizely Feature Experimentation both use this endpoint under the hood; however, using this API directly allows you to track events that would otherwise be difficult to do through Optimizely Experimentation's products, like tracking offline conversions.