Experiment Design for a Flexible Merchant Promotions Feature
Statistics & ExperimentsModel answerLast updated
Design success metrics, an A/B test, and a ramp strategy to evaluate a new tool that lets merchants schedule time-based discounts and control their own promotional eligibility.
Scenario
Your platform is rolling out a new promotions capability for merchants. Instead of platform-controlled blanket discounts, merchants can now:
- schedule deals for specific hours of the day (for example, a lunch rush special),
- fund their own discounts rather than relying on platform subsidies, and
- opt into a broader eligibility pool to reach more customers.
The product team wants to know whether this feature actually grows the business before a full launch.
Your Task
Answer the following questions as you would in a live interview. Structure your response and be specific.
-
Metrics. What are the right success metrics for this feature? Name a primary metric, supporting metrics, and at least two guardrails. State a decision rule that would let you ship or kill the feature.
-
Experiment design. What is the correct randomization unit? Why does the choice matter in a two-sided marketplace? Would you run one experiment or multiple? How long would you run it, and how would you handle the heavy-tailed nature of merchant GMV?
-
Pre-period data. How would you use data from before the experiment starts? Cover balance checks, variance reduction, and causal interpretation — and explain what happens when those checks fail.
-
Ramp split. Would you launch at 80/20 (treatment/control) or 50/50? Walk through the statistical and risk-based trade-offs, and describe any staged rollout you would recommend.
Hints
Hint 1
Start by separating what you want to measure (marketplace-level incrementality vs. merchant adoption) — the answer may require two different randomization units, each answering a different question.
Hint 2
CUPED and diff-in-diff both use pre-period data, but for different unit types and different reasons. Think about what ρ buys you in sample size, and what parallel-trends assumes about your markets.
Hint 3
The 50/50 vs. 80/20 debate is really a risk-vs-power trade-off. The variance of a difference estimator scales with 1/(p(1−p)) — compute the cost of 80/20 explicitly, then argue whether the risk reduction justifies it.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Step 1: Business goals and metrics
The feature's purpose is to generate incremental, profitable demand — especially during off-peak hours — without expanding platform-funded subsidies. Frame metrics at three layers.
Primary metrics
- Incremental GMV per merchant-week, net of discount. This separates real demand lift from relabeled spending. A merchant moving a sale from Tuesday to Monday does not grow the business; new orders do.
- Platform contribution margin per order and in aggregate. Broader eligibility could increase subsidy exposure even if merchants self-fund, because the platform may still absorb fulfillment cost on marginal low-value orders.
Supporting metrics
- Merchant adoption rate (share of eligible merchants who create at least one scheduled promo), promos per merchant per week, and repeat usage after week one. These are leading indicators. If adoption stalls, the feature cannot produce marketplace lift regardless of design quality.
- Merchant net payout and 90-day retention. Merchant-funded discounts must produce enough volume uplift to pay off for the merchant; otherwise churn rises and the supply side degrades.
- Consumer conversion rate and new-customer acquisition rate, which reveal the demand mechanism.
Guardrails (pre-register kill thresholds before the experiment starts)
- Cannibalization of non-promoted merchants' GMV — a surge in one merchant's promo-hour orders should not purely come at the expense of neighboring control merchants.
- Delivery time (ASAP ETA) during promoted hours. A flood of orders in a single time slot strains Dasher supply and degrades experience for everyone.
- Cancellation rate and support ticket volume, as signals of merchant misconfiguration (for example, stacked or miscalculated discounts).
Decision rule example: Ship if marketplace incremental GMV is significantly above zero, contribution margin degradation is within a pre-set tolerance (say −50 bps), and no guardrail breaches its threshold.
Step 2: Experiment design
Randomization unit depends on the question.
For measuring merchant adoption and merchant-level outcomes, randomize at the merchant level: treatment merchants get the scheduling tool, control merchants keep the legacy promo interface. This is clean for product iteration but inflates the measured marketplace lift. A treatment merchant's 3pm deal can pull orders away from a nearby control merchant, making the treatment arm look better than it really is.
For measuring true marketplace incrementality, randomize at the market or geo level. Pair 40–100 delivery zones on pre-period GMV, cuisine mix, and Dasher utilization, then assign matched pairs to treatment and control. Spillovers now stay within a market, so total market GMV and margin are unbiased estimates of the real effect.
A strong answer runs both: merchant-level randomization for product decisions and fast iteration, geo-level for the ship/no-ship call.
Analysis choices
Use intent-to-treat as the primary estimate — analyze all eligible merchants in the treatment arm, not just those who actually created a promo. Adopters self-select (the most capable, engaged merchants run promos), so a naïve adopter-only analysis will overstate the feature's causal effect. A treatment-on-treated estimate (ITT divided by the adoption rate) is a valid secondary metric, but label it clearly.
Run at least 2–4 complete weeks to capture full day-of-week and time-of-day cycles. Monitor for novelty effects: merchants sometimes try a new tool and abandon it, producing a spike that vanishes.
Merchant GMV is heavy-tailed. Winsorize at, say, the 99th percentile, or use per-merchant GMV ratios rather than raw totals. Cluster standard errors at the merchant or market level depending on the randomization unit.
Step 3: Using pre-period data
Balance and A/A check. Before the experiment runs, compare the arms on 4–8 weeks of GMV, order count, and promo usage. An imbalance signals a randomization bug or a stratification problem. Fix it before launch; do not adjust for it post hoc.
CUPED (merchant-level). Let X be each merchant's pre-period GMV, which is strongly correlated with the in-experiment outcome Y. Compute the adjusted outcome:
Y_adj = Y − θ(X − X̄), where θ = Cov(Y, X) / Var(X)
The estimate remains unbiased because X is unaffected by treatment. Variance shrinks by a factor of (1 − ρ²). With a typical merchant-GMV autocorrelation of around 0.8, variance drops roughly 64%, which cuts the required sample size or experiment duration by about 2.8×. That is a meaningful saving when merchant and geo units are scarce. Compute θ on pooled data from both arms. For merchants with no history, impute the overall mean or add a "new merchant" indicator.
Diff-in-diff (geo-level). With few markets, compare the change in each arm:
Effect = (Ȳ_treatment, post − Ȳ_treatment, pre) − (Ȳ_control, post − Ȳ_control, pre)
Before relying on this, validate the parallel-trends assumption by plotting weekly pre-period series and running placebo tests on fake launch dates. If trends diverge — for instance, treated markets were already growing faster — use synthetic control: build a weighted combination of control markets that reproduces each treated market's pre-period trajectory, then measure the post-launch deviation.
Pre-period data also gives context: it reveals seasonal patterns, weather effects, and each merchant's baseline promo behavior, which helps separate genuine incremental lift from tool substitution (a merchant who would have run a legacy promo anyway, just using the new interface).
Step 4: 80/20 vs. 50/50
The statistical case for 50/50. The variance of a difference estimator scales with 1/(p(1−p)). At 50/50 that term equals 4; at 80/20 it equals 6.25. So an 80/20 split needs roughly 56% more sample or time to achieve the same minimum detectable effect. When merchant and geo units are limited, this is a real cost.
The risk case for starting small. The new capability introduces several failure modes: stacked or misconfigured discounts, Dasher overload during a promoted slot, and margin burn through broader eligibility. These are unknown unknowns early in the rollout.
Recommended approach: staged ramp, then 50/50 for the readout.
- Canary at 1–10% for roughly one week. The goal is catching bugs — exposure logging integrity, guardrail signal, discount calculation errors. Do not make a ship decision on this data; it is not powered for that.
- 50/50 for the readout window (2–4 weeks minimum) with CUPED or DiD variance reduction. This is the most statistically efficient design. Kill switches and guardrail thresholds bound the downside during this period.
- After launch, hold out 5–10% in a long-term control group. Use it to detect delayed effects: merchant retention changes, consumer deal-habituation, and margin drift over months.
Reserve 80/20 as the main design only when the per-exposed-unit downside is genuinely large and poorly understood — for example, platform-funded discounts in a price-sensitive market where a bad experiment burns real subsidy budget at scale. In that case, accept the longer runtime explicitly rather than pretending 80/20 carries no cost.
Common mistakes to avoid: treating guardrail breaches as surprises rather than pre-registered triggers; failing to account for marketplace spillovers when choosing the randomization unit; and interpreting an ITT estimate on a low-adoption experiment as evidence the feature doesn't work, when the real finding is that merchants didn't use it.