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

The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.

Dev guideRecipesAPI ReferenceChangelog
Dev guideAPI ReferenceRecipesChangelogUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev guide

Choose metrics

Defines metrics and describes how to add a primary and secondary metric in Optimizely Feature Experimentation.

Metrics are a quantitative measure of the success of your experiment. They tell you whether the variations in an experiment are winning, losing, or inconclusive based on changes in visitor behavior in response to your experiment.

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 the cart at least once or the average number of items added per user.

Choose primary and secondary metrics

The primary metric is the one Optimizely Feature Experimentation uses to determine a statistically significant winning or losing variation. It is the most important goal of the experiment and decides whether your hypothesis is proven or disproven. In Optimizely Feature Experimentation, the primary metric always achieves statistical significance at full speed, regardless of any other goals or events added.

All other metrics are secondary or monitoring metrics. Select secondary metrics that give you insights into long-term success. See Primary metrics, secondary metrics, and monitoring goals.

Identifying the correct metric is a huge factor in determining whether your experiment has statistically significant results. See these supporting articles:

How metrics are calculated

Optimizely Feature Experimentation creates metrics by aggregating events over time. Directly track actions like clicks, pageviews, form submissions, purchases, and scroll depth. After you create an event and add it to an experiment, you decide how it is displayed as a metric.

Add metrics to experiments

Every Optimizely Feature Experimentation experiment needs at least one metric. You can add or modify metrics at any time.

If your organization uses metrics hub, you must first create a metric in metrics hub before adding it to an experiment. For more information, see Metrics hub.

👍

Beta

Metrics hub is in beta. Contact your Customer Success Manager or Optimizely Support for information.

For details on adding metrics to experiments, see Run A/B tests or Run a multi-armed bandit optimization. To create a metric, see Create a metric in Optimizely with the metric builder.

You can view the metrics attached to your experiment on the Experimentation Results page.