13

Metrics people agree on

If two teams compute “conversion” differently, they are not disagreeing about results. They are running different experiments. Metrics need owners, definitions and checks, like any other product.

In a company running a handful of tests, the analyst who builds each report decides what each metric means, and nobody notices. At a hundred tests a quarter, that stops working. One team counts bookings at payment, another at confirmation; one excludes staff accounts, another forgets to. Results stop adding up, arguments are about definitions instead of decisions, and trust leaks away.

One definition, written as code

Every metric used to decide experiments should have exactly one definition, kept in one place, written in the query language your platform runs, with a plain-language description next to it.

“Conversion rate: users with at least one confirmed booking during the experiment, divided by users assigned, excluding internal and bot traffic.” If it is not written down that precisely, two people will compute it differently.

Three moments someone calls a conversion

How to read itWireframes of three screens from one booking. The thing each definition counts is drawn in blue.

PaymentPay
Clicked “Pay”what the checkout team counts
Booking confirmedRef. 48213View booking
Booking confirmedwhat the definition above counts
Booking cancelledRef. 48213Search again
Cancelled two days laterwhat finance subtracts
What it showsThe same visitor is a conversion in one report, a conversion in the second and nothing in the third. A test read with the first definition can win while the third says it lost. One written definition decides which of these the word means.

Every metric has an owner

The owner is the person who answers questions about it, approves changes to it, and notices when it behaves strangely.

Usually an analyst paired with the product lead of the area it describes. Without an owner, broken metrics stay broken because nobody is sure it is their job.

Changes are deliberate and versioned

Definitions change: a new booking flow, a new bot filter.

When they do, the change gets a version and a date, old results keep the definition they were computed with, and the change is announced. Silent redefinitions are how a company ends up comparing this year’s experiments with last year’s and drawing the wrong conclusion.

The deciding metric changes rarely, by decision of leadership, and never in the middle of a test.

New metrics earn their place

Before a metric is allowed to decide experiments, test it like a product feature, against the four qualities of chapter 5. Pavel Dmitriev and Xian Wu, and Alex Deng and Xiaolin Shi, describe how mature teams do this. In short:

A standard set, everywhere

Each product area has its deciding metric. But some checks belong to every experiment in the company, computed automatically, with the same thresholds: the trust checks (sample ratio, logging completeness) and the organisation-wide guardrails (speed, errors, crashes, complaints, unsubscribes, cancellations).

No team should be able to launch a test that skips them, and no result should be presented without them.

A catalogue to start from

Every product needs its own metrics, but most fall into a handful of families.

Here is a starting catalogue: the generic idea first, then what it often looks like in specific kinds of product. Use it to check that your set has a deciding metric, guardrails and trust checks, not to copy it.

Conversion

usually the deciding metric

Generic
share of visitors who complete the main action
Shop
orders per visitor
Travel
bookings per searcher, net of cancellations
Software
trial-to-paid conversion
Marketplace
share of listings that get an enquiry

Activation and engagement

decides tests early in a journey

Generic
share of new users who reach the key first experience
Software
users who create their first project in week one
News
share of visitors who read a second article
Travel
searches that include dates
App
users active on three or more days a week

Value

watch it; decide on it only with capping

Generic
revenue per visitor, capped at a high percentile
Shop
average order value
Software
revenue per account
Travel
booking value per searcher
Ads
revenue per thousand page views

Retention

slow; often a goal rather than a driver

Generic
share of users who return within 7 or 28 days
Subscription
monthly churn rate
Shop
repeat purchase within 90 days
Software
accounts active after 30 days
Media
subscribers who stay after the trial

Experience guardrails

must not get worse

Speed
page load time at the 75th percentile
Reliability
error rate, app crash rate
Support
contacts per thousand users
Regret
cancellations, refunds, returns
Annoyance
unsubscribes, complaints, uninstalls

Trust checks

about the data, not the product

Split
sample ratio, per group and per segment
Logging
share of sessions with complete events
Platform
share of A/A tests that come out significant
Identity
users seen on several devices
Freshness
data delay against the schedule

Two warnings. Ratios such as “clicks per page view” need the delta method and their denominators checked (chapter 5). And every metric in this list can be gamed by some change; that is what guardrails are for.

If this sounds stricter than what you see around you

It probably is. Plenty of teams, in every industry and in some very successful companies, decide tests on loosely defined metrics, skip the trust checks, and read more into results than the data can carry. Most of the time that is not carelessness. They started small, when one analyst and a spreadsheet were enough, and the rules only become necessary once there are many tests, many teams and real money riding on the answers. The habits in this chapter are what the companies running the most experiments arrived at, usually after learning the hard way, and they are still adopting some of them. Nobody gets all of it in place at once; pick the piece that would have prevented your last wrong call, and start there.

Know your metrics’ moods

Metrics behave differently in different weeks: holidays, campaigns, outages. Publishing a short calendar of known disturbances, and a running A/A test that shows the normal day-to-day noise of each metric, helps everyone tell an effect from the weather.

In practice

Four habits that keep a company’s metrics trusted.

What we’ve learned

  • Every deciding metric needs one definition, written as code, with an owner.
  • Change definitions deliberately, with versions, never mid-test.
  • New metrics must prove they move, point the right way and predict the goal.
  • Trust checks and company guardrails should run on every experiment automatically.

Sources

  • Kohavi, R., Tang, D. and Xu, Y. (2020). Trustworthy Online Controlled Experiments. Chapter 6, Organizational Metrics; chapter 7, Metrics for Experimentation and the OEC; chapter 21, Sample Ratio Mismatch and Other Trust-Related Guardrail Metrics.
  • Dmitriev, P. and Wu, X. (2016). Measuring Metrics. CIKM 2016.
  • Deng, A. and Shi, X. (2016). Data-driven metric development for online controlled experiments: seven lessons learned. KDD 2016.
  • Dmitriev, P., Gupta, S., Kim, D. W. and Vaz, G. (2017). A Dirty Dozen: Twelve Common Metric Interpretation Pitfalls in Online Controlled Experiments. KDD 2017.