The Full Stack Developer Guide Developer Hub

Welcome to the Full Stack Developer Guide developer hub. You'll find comprehensive guides and documentation to help you start working with the Full Stack Developer Guide as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Add events to experiments

This page covers how to create and add an event key to your experiment in the Optimizely app. For more information on how to integrate events into your application code with the SDK, see Track events.

Create an event in the Optimizely app

To create an event that tracks user actions in the Optimizely app:

  1. Navigate to the Events dashboard and click New Event.
  1. Define an event key, a unique identifier that you'll 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.

  1. Click Save Event.

Add events to your experiment

To add an event to your experiment in the Optimizely web app:

  1. Navigate to Experiment>Metrics.
  2. Click the event you created, or click Create New Event.

Track events in your application code

For more information, see Track events.

Updated about a year ago

Add events to experiments

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.