Create events
Use events to track key user behaviors in your Full Stack application or elsewhere in your technology stack. You can track events server-side using one of the Full Stack SDKs, client-side using the JavaScript SDK, or at any other point in your technology stack.
Events can be aggregated over time to produce metrics for your experiments. Create one or more metrics for your experiments to measure the impact.
Create an event
To create an event that tracks user actions:
- Navigate to the Events dashboard and click New Event.
- Define an event key, a unique identifier that you will reference in your code when you call
Track
.
Event keys can contain spaces (unlike experiment keys) to conform to industry event-naming standards. Also, event keys must be unique for the project.
In Event Tracking Code, Optimizely automatically populates example code for a Track call with your event key and a user_id
.
- Click Save Event.
Updated about 1 year ago