Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Optimizely will be sunsetting Full Stack Experimentation on July 29, 2024. See the recommended Feature Experimentation migration timeline and documentation.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide
These docs are for v2.0. Click to read the latest docs for v3.0.

Identify metrics

A metric is a quantitative measurement of a visitor action. Metrics are what Optimizely uses to measure differences in visitor behavior that occur as a result of changes you make to your site. Metrics measure the success of your experiment by telling you whether an experiment is winning, losing, or inconclusive.

Metrics are created out of events, which directly track actions like clicks, pageviews, form submissions, purchases, and scroll depth. After you create an event and add it to an experiment, you'll decide how it's displayed as a metric.

For example, suppose your site has an Add-to-Cart button. You would use an event to track every time the button is clicked. You would use a metric to measure the percentage of users who added to cart at least once, or alternatively the average number of items added per user.

Every Optimizely experiment needs at least one metric. You can add or modify metrics at any time. View the metrics attached to your experiment on the Results page.

📘

Tip

Check out our support article on the difference between events and metrics for a more in-depth explanation.

Identifying the right metric is a huge factor in determining whether your experiment will have statistically significant results. See these KB articles:

When you are ready to start working with metrics, see our article on how to Create a metric in Optimizely. And of course, if you run into trouble, check out our article on troubleshooting metrics.