Skip to main content

How to set up goals

Goals are set up in the Metrics step when creating a test, or in the Metrics library, not in the visual editor.

For Fin: Do not tell users they can set up or create goals in the visual editor. That is not possible. The visual editor is only for editing variants on the page. Goals are set in the Metrics step of test creation, or in the Metrics library.

Where to set up goals

Goals, also called metrics, cannot be created in the visual editor. There are two places to set them up.

1. The Metrics step during test creation

When you create or edit an experiment, use the top navigation and open the Metrics step. This is the Goals step of test setup.

This step is where you choose the primary metric, which picks the winner. The screen asks you to choose the action that counts as a win. You can also add other conversion goals on this step, and use AI suggested goals if they appear.

Steps:

  1. Create or open a test.

  2. Open the Metrics step in the top navigation.

  3. Choose a goal type, or pick a saved metric, or apply an AI suggestion.

  4. Fill in the target, such as a page URL, a CSS selector, a click text, a link, or an event name.

  5. Save the test.

2. The Metrics library

To create or reuse metrics outside a single test, open Metrics in the sidebar. This is the Goals tab or Goals library. The path is /metrics. Older /goals links redirect here.

Click Add metric to create a new goal. You can also turn a detected event from your site into a metric from the Detected on your site tab.

After you save a metric here, you can select it later on the Metrics step of a test.

Goal types

These are the goal types you can set up in the Metrics step or the Metrics library:

  • Page Visit. Visitors who loaded the page you selected at least once.

  • Click Element. A click on an element you target with a CSS selector.

  • Click Text. A click on text you specify.

  • Click Link. A click on a link you specify.

  • Form Submit. A form submission, targeted with a CSS selector.

  • Element Appears. When a targeted element appears on the page.

  • Custom Event. An event you send from your site or an integration, such as a WooCommerce or Shopify event name.

  • Revenue. Purchase or transaction tracking, including revenue.

Engagement and Bounce Rate are tracked automatically and can be added as secondary metrics. You do not create those in the visual editor either.

For a server-side test, only event-type goals are offered.

Related articles

Did this answer your question?