Part 14 · Business, product and marketing

Chapter 85: Analytics, experiments and data-informed design

Part 14 · Business, product and marketing8 min read

Analytics records what people do in a product; experiments show what a change caused. Both give designers evidence at a scale no lab study reaches, and both are easy to misread.

Product analytics

Product analytics is the recording and analysis of what people do inside a digital product. The unit is the event, a record of one action. Mixpanel’s documentation gives the shape: an event such as “Played Song” carries a name, a time, a user ID, and event properties such as the song and the app version at that moment, while a separate user profile holds the user’s current state, such as their plan.1

Start from the questions, not the tool. A tracking plan writes this down: each event, its properties, and the question it serves. Without one, teams log either everything or the wrong thing, and discover the gap the week they need the data.

Analytics is behavioral and quantitative research (→ 51 Qualitative and quantitative research). It shows that 30% of people abandon the delivery-slot step of a grocery app. It can’t show whether the slots are too few, too far ahead, or hard to read. Logs also need cleaning. Kerry Rodden and colleagues at Google named two standing problems: filtering out automated traffic such as crawlers, and making sure important actions are logged at all, which doesn’t happen by default in rich web interfaces.2 What gets logged also raises privacy questions (→ 95 Privacy and data ethics).

Funnels and cohorts

A funnel is a report showing how many users complete each of an ordered series of steps, and where the rest drop out. In a grocery checkout the steps might be basket, delivery slot, payment and confirmation. The conversion rate is the share who finish out of those who started; the step-by-step rates show which screen loses the most people. Funnels need a conversion window, the time allowed to finish. Mixpanel’s default is seven days from the first step, and by default steps must happen in order.3 A shopper who builds a basket on Monday and pays on Thursday converts in a seven-day window and drops out of a one-day one, so the window changes the answer. The marketing funnel is in chapter 84 (→ 84 Marketing).

A cohort is a group of users who did the same starting action in the same period, such as everyone who signed up in the week of 3 March. A retention report follows each cohort and counts how many come back to do a return action in later weeks.4 Retention is that returning share; its opposite, churn, drives a subscription’s lifetime value (→ 82 How businesses work).

Basket 10,000 70% Delivery slot 7,000 90% Payment 6,300 94% Order placed 5,900 −3,000 Overall 59% Weekly retention by sign-up cohort 0 25 50 75 100 0 1 2 3 4 5 6 7 8 Weeks since sign-up Users returning (%) January cohort February cohort March cohort, after onboarding change A curve that flattens means some users have found lasting value
Figure 85.1 A funnel shows where people drop out of one task; cohorts show whether they come back.

Cohorts separate questions that totals blur. When the stock market fell in September 2008, Google Finance saw page views and weekly active users jump. Totals couldn’t say whether newcomers had arrived or existing users were checking their investments; the team split the traffic into new and returning users to find out.2

North Star metric and HEART

A North Star metric is the single metric a team treats as most predictive of long-term success. Mixpanel credits the growth marketer Sean Ellis with the term and gives three tests: it leads to revenue, reflects customer value and measures progress. Its examples include weekly customers completing a first order, for e-commerce.5 Input metrics are the smaller numbers a team can move directly that feed it; Amplitude’s North Star Playbook pairs the metric with these inputs.6 Strategy sets the North Star (→ 83 Product strategy); design moves the inputs.

HEART is a set of categories for user-experience metrics, published by Kerry Rodden, Hilary Hutchinson and Xin Fu of Google at CHI 2010.2 They built it because the usual company dashboard tracked what they called PULSE metrics: Page views, Uptime, Latency, Seven-day active users and Earnings. These matter, but they measure user experience only indirectly. A rise in page views might mean a feature is popular, or that people are lost in it.

CategoryWhat it measuresExample from the paper
HappinessAttitudes: satisfaction, ease, likelihood to recommendWeekly in-product satisfaction survey (iGoogle)
EngagementFrequency, intensity or depth of use, per userShare of active Gmail users who visited on five or more days a week
AdoptionNew users of a product or feature in a periodAccounts created in the last seven days
RetentionUsers from one period still active in a later oneWeekly active users still active three months later
Task successEfficiency, effectiveness, errorsError rates when Google Maps tested a single search box

The authors pair HEART with Goals-Signals-Metrics: state the goal, name the behavior or attitude that would show it was met, then turn that signal into a number for a dashboard, usually a rate or an average per user rather than a raw count.2 Not every category fits every product. The authors note that engagement may mean little when people must use a tool for work.2

A/B and multivariate testing

An A/B test is a controlled experiment: users are randomly assigned to the control, the current version, or the treatment, the changed one, and the two groups are compared on an overall evaluation criterion (OEC), the metric the test is judged on.7 Random assignment is what lets a test show cause rather than correlation. Teams often deliver the split with feature flags (→ 80 The software development lifecycle).

Eligible users Random assignment (by user ID) 50% 50% A · Control: current checkout B · Treatment: no coupon field Conversion rate Conversion rate Compare on the OEC: difference, confidence interval, p-value Fixed duration and sample size, set before the test starts
Figure 85.2 In an A/B test chance alone decides who sees which version, so a reliable difference can be credited to the change.

The results regularly overturn opinion. In 2012 Microsoft’s Bing tested a change to how ad headlines were displayed, an idea that had sat in the backlog for more than six months. Revenue rose 12%, worth over $100 million a year in the US, with no harm to user-experience metrics.8 Ron Kohavi and colleagues describe a checkout redesign at Doctor FootCare that lost 90% of its revenue, mainly because it added a coupon-code field, which made shoppers wonder whether they were overpaying.7

Two effects distort short tests. The primacy effect is the slump while experienced users relearn a changed layout; the novelty effect is the spike of curiosity clicks on anything new. Both argue for running some tests over several weeks.7 An A/A test, which shows both groups the same version, checks the system: it should report a significant difference only about 5% of the time.7

A multivariate test changes several elements at once and compares every combination. Combinations multiply: three images and two headlines make six versions, and traffic splits six ways, so the test needs far more visitors.9 Kohavi’s group found that strong interactions between elements are rarer than people assume. They advise single-factor tests for incremental changes, occasional bold tests of very different designs, and factorial designs only when elements are expected to interact.7

Statistical significance

A test starts from the null hypothesis, that the versions don’t differ and any gap is chance. The p-value measures how surprising the observed data would be if that were true. A result has statistical significance when the p-value falls below a threshold set in advance, conventionally 0.05. Power is the probability that the test detects a real difference of a given size; teams usually aim for 80% to 95%.7

The American Statistical Association’s 2016 statement lists six principles. Among them: a p-value doesn’t measure the probability that the hypothesis is true, doesn’t measure the size or importance of an effect, and shouldn’t alone decide a business decision.10 So “p = 0.03” does not mean “97% chance B is better”.

Sample size follows from the minimum detectable effect, the smallest change worth finding. Kohavi’s worked example: if 5% of visitors buy, detecting a 5% relative change in conversion at 95% confidence and 90% power needs nearly 500,000 users. Detecting a 20% change needs about 30,400, because the required sample grows with the square of how fine a difference you want to see.7

Fix the sample size before starting and don’t stop early. Peeking, checking repeatedly and stopping at the first significant result, inflates false wins. In Evan Miller’s 2010 simulation of a change that did nothing, stopping at the first significant reading produced a false positive 26.1% of the time, against a nominal 5%.11 Tools that allow early stopping use sequential or Bayesian methods built for it.11

Data-informed design

Data-informed design weighs data as one input alongside research, strategy and judgment; data-driven design lets the metric decide. Andrew Chen traces the distinction to a 2010 Facebook talk by Adam Mosseri, and warns that optimizing a current product’s metrics climbs toward a local maximum: the best version of this design, not the best design.12

Experiments say which version won and by how much, but not why. Kohavi’s group lists this as their first limitation and recommends pairing them with usability studies (→ 53 Usability testing).7 Metrics can also mislead in the short run. After an iGoogle redesign, satisfaction fell and then recovered, which the team read as change aversion, so they kept the design.2

The cost of the other extreme is on record. Douglas Bowman, Google’s first visual designer, left in March 2009 after a team tested 41 shades between two blues rather than choose one, and after he was asked to justify border widths of 3, 4 or 5 pixels with data.1314 Metrics that reward short-term gains can also push teams toward manipulative patterns (→ 96 Ethical design).

Vanity metrics

A vanity metric is a number that looks impressive but doesn’t tell a team what to do. Eric Ries set it against the actionable metric in 2009: total hits say nothing about what drew visitors or what to change, while a split test or a cohort comparison does.15 Vanity metrics are usually cumulative totals, such as downloads, sign-ups or page views, which can only rise. Aurora Harley of Nielsen Norman Group recommends turning them into rates: the share of downloads that lead to active use, or plays per user per week.16

See also

51 Qualitative and quantitative research · 50 Planning design research · 53 Usability testing · 83 Product strategy · 84 Marketing · 96 Ethical design

Sources

  • American Statistical Association (2016). Statement on statistical significance and p-values. Wasserstein, R. L. and Lazar, N. A., The American Statistician 70(2), 129–133.
  • Amplitude (n.d.). The North Star Playbook. Co-authored by J. Cutler.
  • Bowman, D. (2009). “Goodbye, Google.” Stopdesign.
  • Chen, A. (c. 2012). “Know the difference between data-informed and data-driven.”
  • Fiveash, K. (2009). Report on Douglas Bowman leaving Google. The Register.
  • Harley, A. (2019). “Vanity Metrics: Add Context to Add Meaning.” Nielsen Norman Group.
  • Kohavi, R., Henne, R. M. and Sommerfield, D. (2007). “Practical Guide to Controlled Experiments on the Web.” Proceedings of KDD 2007.
  • Kohavi, R. and Thomke, S. (2017). “The Surprising Power of Online Experiments.” Harvard Business Review.
  • Miller, E. (2010). “How Not To Run an A/B Test.”
  • Mixpanel (n.d.). Docs: “Concepts”, “Funnels: Advanced”, “Retention”; Mixpanel Team (2018), “What is a North Star metric?”
  • Optimizely (n.d.). “Multivariate testing.” Optimization glossary.
  • Ries, E. (2009). “Vanity Metrics vs. Actionable Metrics.” The Blog of Author Tim Ferriss.
  • Rodden, K., Hutchinson, H. and Fu, X. (2010). “Measuring the User Experience on a Large Scale.” Proceedings of CHI 2010.

Notes

  1. Mixpanel (n.d.). “Data Structure: Concepts.” Mixpanel Docs. https://docs.mixpanel.com/docs/data-structure/concepts ↩
  2. Rodden, K., Hutchinson, H. and Fu, X. (2010). “Measuring the User Experience on a Large Scale: User-Centered Metrics for Web Applications.” Proceedings of CHI 2010. ACM. https://research.google/pubs/measuring-the-user-experience-on-a-large-scale-user-centered-metrics-for-web-applications/ ↩ ↩ ↩ ↩ ↩ ↩
  3. Mixpanel (n.d.). “Funnels: Advanced.” Mixpanel Docs. https://docs.mixpanel.com/docs/reports/funnels/funnels-advanced ↩
  4. Mixpanel (n.d.). “Retention.” Mixpanel Docs. https://docs.mixpanel.com/docs/reports/retention ↩
  5. Mixpanel Team (2018, December 10; edited 2025). “What is a North Star metric?” Mixpanel blog. https://mixpanel.com/blog/north-star-metric/ ↩
  6. Amplitude (n.d.). The North Star Playbook, co-authored by J. Cutler; and “Introducing The North Star Playbook,” Amplitude blog. https://amplitude.com/books/north-star ; https://amplitude.com/blog/introducing-north-star-playbook ↩
  7. Kohavi, R., Henne, R. M. and Sommerfield, D. (2007). “Practical Guide to Controlled Experiments on the Web: Listen to Your Customers not to the HiPPO.” Proceedings of KDD 2007. ACM. https://exp-platform.com/Documents/GuideControlledExperiments.pdf ↩ ↩ ↩ ↩ ↩ ↩ ↩ ↩
  8. Kohavi, R. and Thomke, S. (2017, September–October). “The Surprising Power of Online Experiments.” Harvard Business Review. https://hbr.org/2017/09/the-surprising-power-of-online-experiments ↩
  9. Optimizely (n.d.). “Multivariate testing.” Optimization glossary. https://www.optimizely.com/optimization-glossary/multivariate-testing/ ↩
  10. American Statistical Association (2016, March 7). “American Statistical Association releases statement on statistical significance and p-values.” News release, EurekAlert. Statement by Wasserstein, R. L. and Lazar, N. A., The American Statistician 70(2). https://www.eurekalert.org/news-releases/906692 ↩ ↩
  11. Miller, E. (2010, April 18). “How Not To Run an A/B Test.” https://www.evanmiller.org/how-not-to-run-an-ab-test.html ↩ ↩
  12. Chen, A. (c. 2012). “Know the difference between data-informed and data-driven.” https://andrewchen.com/know-the-difference-between-data-informed-and-versus-data-driven/ ↩
  13. Bowman, D. (2009, March 20). “Goodbye, Google.” Stopdesign. https://stopdesign.com/archive/2009/03/20/goodbye-google.html ↩
  14. Fiveash, K. (2009, March 23). Report on Douglas Bowman leaving Google. The Register. https://www.theregister.com/2009/03/23/douglas_bowman_quits_google/ ↩
  15. Ries, E. (2009, May 19). “Vanity Metrics vs. Actionable Metrics.” Guest post, The Blog of Author Tim Ferriss. https://tim.blog/2009/05/19/vanity-metrics-vs-actionable-metrics/ ↩
  16. Harley, A. (2019, October 13). “Vanity Metrics: Add Context to Add Meaning.” Nielsen Norman Group. https://www.nngroup.com/articles/vanity-metrics/ ↩