Skip to content

Goals

Choose the primary goal that decides the winner, the key metrics shown first in results, which orders count, and custom metrics like clicks, page visits and scrolling.

On this page

Every test records the standard metrics (orders, revenue, add-to-carts, checkouts and more) for every group. On Goals you choose which one decides the winner, which ones results show first, and extra actions that show whether a change helps before it shows up in orders.

The primary goal

The primary goal is the one number that decides the winner. Pick it at the top of Goals, under What decides the winner? (it's marked Primary in the lists below):

Primary goalMeaning
Revenue per visitor (default)Order revenue divided by visitors
Conversion rate (default for content tests)Visitors who placed an order
Average order valueRevenue divided by orders
Add-to-cart rateVisitors who added anything
Checkout rateVisitors who started checkout
Any custom metric you addVisitors who reached it

New tests start on revenue per visitor: template, split URL, theme, price, offer, shipping and checkout tests. Content tests (visual editor and code) start on conversion rate. To change it, pick another card under What decides the winner?, or click the trophy next to a custom metric. Every other metric is still measured for every group.

Key metrics

Key metrics are the numbers you watch for a test, besides the primary goal. They only change what results show first (under More detail in results), in the order you set here; every metric is recorded either way. Visitors, orders and revenue are always key metrics; add up to 7 more.

  1. Click Add key metric.
  2. Tick the ones you want (search, or browse by group), then Save.
GroupMetrics
ConversionConversion rate, Add-to-cart rate, Checkout rate, Abandoned cart rate, Abandoned checkout rate
RevenueRevenue per visitor, Average order value, Orders per visitor
Profit (price tests)Profit per visitor, Profit per order: the tested products' revenue minus their cost per item in Shopify
ShippingOrders with free shipping, Shipping paid per order

Metrics marked Reported are shown with their significance but can't decide the winner. For abandoned cart and checkout rates, lower is better.

On checkout tests, Add-to-cart rate and Checkout rate are always Reported: visitors are counted when they start checkout, so every counted visitor has already done both. For the same reason, custom metrics for storefront actions (cart opens, clicks, forms, scrolling, seeing a section, time on page, storefront pages) are reported only. Checkout steps, the thank-you page, subscription orders and custom events can still be the primary goal.

Which orders count

When a test can count tested products only, Goals has an Advanced: which orders count section (folded, it says which option is on):

  • All orders: every order a visitor in the test places, whatever is in it.
  • Only orders with a tested product: orders that include a product in the test. Recommended, and the default, for price tests: a shopper who only buys untested products doesn't tell you anything about the new price.

What a tested product is depends on the test:

TestTested products
PriceThe products you priced
OfferThe products the offer applies to
Template or content test on exact product or collection pagesThe products whose pages are in the test (for collection pages, the products in those collections)

On template and content tests that run on more pages than a list of exact product or collection pages (every product page, a "contains" rule, other page types), the section isn't shown and every order counts.

You can switch at any time; nothing collected is lost, the results are simply counted the other way.

Custom metrics

Click Add custom metric. Pick one of the Popular metrics in one click, or Build your own. A test can have up to 10 custom metrics.

Popular metrics: Opened the cart, Clicked the Add to cart button, Clicked Buy it now, Reached checkout shipping, Visited the cart page, Visited a collection, Visited a product page, Signed up for the newsletter, Saw the reviews, Scrolled half the product page, Used search, Ordered a subscription, Stayed 30s on a page.

Build your own:

Custom metricCounts when a visitor…
Clicks an elementclicks an element (by CSS selector) or anything inside it
Visits a pageopens a page whose address is exactly, starts with, contains, ends with or matches a pattern you give, checkout steps included
Opens the cartopens the cart drawer (your theme's, an app's or Crovio's, also when it opens by itself after Add to cart) or the cart page
Submits a formsends a form: newsletter, contact, quiz, back-in-stock, also inside an app's own widget. Leave the selector empty for any form except add to cart, cart, search, collection filters and sorting, and login; forms the browser rejects don't count
Scrolls down a pagescrolls this far down a page (%)
Sees an elementhas at least half of the element on screen for one second
Stays on a pagekeeps one page open and visible this long
Orders a subscriptionplaces an order with at least one subscription item
Triggers a custom eventyour theme or another app calls Crovio.track("name") (custom events)

Click, form, scroll, view and time goals can be limited to URLs containing some text, for example /products/.

Page goals

  • Letter case, a trailing slash and the language or market prefix (/fr, /en-ca) don't matter, and a pasted full address keeps only its path.
  • The query string is ignored unless your value has one: is exactly /search?q=hoodie counts searches for "hoodie", whatever else is in the address.
  • Checkout steps read as /checkouts/information, /checkouts/shipping, /checkouts/payment and /checkouts/thank-you.
  • A product opened from a collection (/collections/x/products/y) is the product page: starts with /products/ counts it, starts with /collections/ doesn't.
  • A pasted product address copied from a collection (https://your-store.com/collections/x/products/y) is saved as the product page /products/y, so it counts however shoppers reach it. To count only visits through that collection, type /collections/x/products/y without the domain.
  • A space in a query value matches however the address writes it: contains /search?q=t shirt counts q=t+shirt and q=t%20shirt.
  • Starts with a collection, page or blog (/collections/shirts) counts that page and its sub-pages and filtered pages, never another handle such as /collections/shirts-sale. For a family of handles use contains or a pattern.

Pick an element on your store

Click, view, form and cart metrics need a CSS selector. You don't have to write one:

  1. In the metric, click Pick on my store. Your store opens with the Crovio picker at the bottom.
  2. Hover to highlight and click the element (the button, section or form). Links and buttons don't do anything while you pick; click Browse the store to use the page normally, for example to open a menu or popup, then Start picking again. Holding Alt / Option while you click also picks.
  3. The picker shows the selector and how many elements it matches on that page. Click Use in Crovio: the selector fills in, with a green Matches line.

For Opened the cart, the picker starts in browse mode: open your cart drawer first (cart icon or add a product), then click Start picking and click inside the drawer. It picks the drawer panel and refuses cart icons, buttons and anything smaller than 200 × 150 px. Leave the selector empty unless a preview shows your drawer isn't detected. Crovio's own cart drawer is always detected, so the picker tells you to leave the field empty. A drawer app that draws its cart inside its own web component is picked by that component, and Crovio counts it as open while the panel inside it shows.

You can also type a selector: the element's id (#…) or class (.…). Separate several with commas.

Test a metric before you launch

Open a custom metric and click Test this metric, or click the eye button next to it. Your store opens in preview with the preview bar expanded: it lists every custom metric and turns each green once you do the action (click the button, open the drawer, reach the page). Nothing is counted while you preview.

Checkout steps (/checkouts/… page metrics) and Orders a subscription happen in checkout, which the preview bar can't follow, so they have no eye button. To check them, place a test order with Shopify's Bogus gateway while previewing; test orders never count in results.

Custom metrics added to a running test count from then on. Editing one keeps the data collected so far. Tick Make it the primary metric when adding one to make it decide the winner.

Was this page helpful?