KatInterview

Designing A/B Tests and Metrics for Subscription Paywalls

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsexperimentationmetricsa-b-testing

Last updated

Define success metrics, instrumentation, experimental framework, and statistical power calculations for testing subscription product changes.

You're working on a subscription-based mobile application. The product team wants to test a change to how users encounter the paywall during onboarding. Currently, users hit a hard gate that blocks content until they subscribe. The proposed variant introduces a 7-day free trial before requiring payment.

Your task is to design the complete experimental framework for this test:

  1. Define the metrics hierarchy: What are the primary, secondary, and guardrail metrics? How do you avoid common statistical pitfalls in metric definition?

  2. Design the instrumentation: What events need to be logged? What properties should each event capture? Where might data quality issues arise?

  3. Specify the experimental setup: How will randomization work? What controls are needed? How long should the test run?

  4. Calculate sample size requirements: Given reasonable baseline assumptions, how many users are needed to detect a meaningful effect?

  5. Plan for heterogeneous effects: How would you investigate whether the treatment works differently for different user segments? What are the statistical considerations?

  6. Establish decision criteria: What conditions must be met before launching the change?

Walk through your reasoning for each component, explaining the statistical principles and practical trade-offs involved.

Hints

Hint 1

Think carefully about denominators in conversion metrics—should you use assigned users or users who started a trial?

Hint 2

Revenue metrics are typically heavy-tailed and underpowered; consider how to handle this in your metric hierarchy.

Hint 3

Don't forget that a 7-day trial means you need to wait for the outcome window to complete before analyzing results.