Optimizely Event API
Overview of the Optimizely Event API, which you use to send event data to Optimizely Experimentation.
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 the following:
- Optimizely Web Experimentation – After implementing the one-line snippet on your web page and creating events to track user's behavior, the snippet automatically sends event data to Optimizely Experimentation's backends.
- Optimizely Feature Experimentation – After implementing one of Optimizely Feature Experimentation's SDKs or Optimizely Agent, create events, and instrument those events in your code, the Optimizely client sends event data to Optimizely Experimentation's backend.
- 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 Optimizely events endpoint,<https://logx.optimizely.com/v1/events>
. Using thelogx
endpoint is helpful for tracking events that would otherwise be difficult to do through Optimizely Experimentation's products, like tracking offline conversions.
Updated 11 days ago