Designing a Push Notification Frequency Experiment
Statistics & ExperimentsModel answerLast updated
Design an end-to-end experiment to measure the causal impact of sending more order-related push notifications, covering metrics, long-term effects, and interference.
Context
A consumer app's growth team believes that sending more order-related push notifications — and sending them at better times — will increase the number of sessions and completed orders. Before any change ships broadly, you are asked to design a rigorous experiment to measure the true incremental impact.
Your Task
Address each of the following parts. A strong answer is specific: name your choices, justify them, and flag the trade-offs.
Part 1 — Experiment Design
Propose an experiment design that isolates the effect of notification frequency and send timing. Specify:
- the randomization unit and why you chose it,
- the treatment arms, including any holdout,
- exposure caps and quiet hours,
- how you control for other messaging channels (email, SMS),
- whether you would use a multi-armed bandit for any part of this, and when you would not.
Part 2 — Metrics
Define:
- the primary decision metric,
- secondary success metrics,
- guardrail metrics that would cause you to stop or roll back,
- the difference between user-level and notification-level metrics, and how you aggregate each correctly.
Part 3 — Long-Term Effects
Notifications can produce novelty spikes that fade, or fatigue that compounds over weeks. Describe:
- how you would detect and separate novelty from a genuine sustained lift,
- how you would design a holdout or staggered rollout to measure persistent effects over 4–8 weeks,
- how you would model decay and arrive at a single long-run lift estimate.
Part 4 — Interference and Diminishing Returns
Users receive multiple notifications over the course of the test. Describe:
- how you would randomize to produce a clean dose-response curve,
- how a trigger-level instrumental variable design works here and what it estimates,
- how marketplace-level spillovers (e.g., Dasher supply, delivery time) could contaminate user-level estimates and what you would do about it.
Part 5 — Power, Stopping Rules, and the Decision Framework
- What assumptions go into your MDE calculation?
- What are your stopping rules, and why would you avoid peeking?
- Write out a concrete decision matrix: under what conditions do you ship, iterate, or roll back?
Hints
Hint 1
Start with the question: what does 'incremental' mean here? Push-attributed orders are not the same as causal lift. Your primary metric and randomization unit must both be defined so you measure the difference, not the credit.
Hint 2
Novelty and fatigue work in opposite directions and on different timescales. Think about how a long-lived holdout combined with a weekly lift curve lets you distinguish a spike that decays from a lift that compounds into churn.
Hint 3
Frequency is a dose, not a binary treatment. If you randomize the cap itself across users, you get a dose-response curve for free and can find the profit-maximizing send rate without running separate experiments.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
What This Question Is Really Testing
The interviewer wants to know whether you can separate attributed lift (a user got a push and ordered) from incremental lift (a user ordered more than they would have without the push). Every design and metric choice flows from that distinction. A strong answer also treats opt-outs and churn as real economic costs, not just guardrails, and arrives at a single decision rule that weighs short-term orders against long-run retention risk.
Part 1 — Experiment Design
Randomization unit: user (consumer ID), not device or session. Notifications accumulate at the user level, opt-out decisions are per-user, and all business metrics (orders, revenue, churn) are per-user. Randomizing at any finer grain creates spillover within users and inflates variance.
Assignment is sticky for the entire test window plus the follow-up period — no re-randomization.
Arms — a 2×2 factorial plus a long-lived holdout:
| Arm | Frequency | Timing | Allocation |
|---|---|---|---|
| Control | Current policy | Current rules | 25% |
| Frequency+ | +1–2 order pushes/week | Current rules | 25% |
| Timing | Current volume | Model-predicted best window | 25% |
| Frequency + Timing | Higher volume | Smart timing | 20% |
| Holdout | Current policy, frozen | — | 5% |
The factorial structure estimates main effects and their interaction — smart timing may reduce the fatigue that extra frequency produces. The holdout is frozen at the current policy even after launch and serves the long-term measurement in Part 3.
Exposure caps. Set hard per-user caps: at most one order push per day and a weekly maximum in each arm. Enforce quiet hours (e.g., 9 pm–8 am local time). Apply a cross-channel cap so push + email + SMS together cannot exceed a fixed daily ceiling. Log every cap that actually binds, because assigned dose and received dose diverge and you need both for the IV analysis in Part 4.
Cross-channel controls. Freeze email and SMS send policies for all arms during the test period. If a complete freeze is operationally impossible, apply any change uniformly across arms. Measure total orders across all channels as the primary metric — extra push sends may simply cannibalize email-driven orders, not create new ones.
Bandits: when yes, when no.
- Use a contextual bandit for decisions with fast, observable feedback inside an already-approved policy — for example, choosing the send-time slot or subject-line copy within a given frequency budget.
- Do not use a bandit for the frequency decision itself. Fatigue costs surface weeks later, rewards are non-stationary, and adaptive allocation biases causal estimates. The core question here is about long-run causal effects, which requires fixed-allocation randomization.
Part 2 — Metrics
Primary metric: incremental contribution profit per user per week — Δ(orders × margin) minus campaign costs (promos, infrastructure). This is the number you take to a go/no-go meeting.
Secondary metrics (user-level, per week):
- Orders per user
- Gross order value (GOV) per user
- Active-user rate (any session)
Guardrail metrics — any breach triggers a pause:
- Push opt-out rate (the most sensitive early signal)
- App uninstall rate
- Complaint or "stop" reply volume
- Session quality: bounce rate, sessions without an order
- Marketplace health: delivery time, cancellation rate
Notification-level diagnostic metrics:
- Open rate per send
- Orders within 24 hours per send
- Opt-outs per 1,000 sends
- Marginal response by ordinal position (1st, 2nd, 3rd push of the week)
Aggregation. The decision unit is the user, so all primary and guardrail metrics are user-level averages compared with a two-sample t-test (or CUPED-adjusted equivalent). Pre-period orders as a covariate in CUPED typically cuts variance by 30–50%, which meaningfully reduces required sample size. Notification-level metrics are ratio estimators with sends nested in users — use the delta method or cluster-robust standard errors by user, never naive per-send binomial variance.
Part 3 — Long-Term Effects
Long-lived holdout. The 5% holdout stays on the frozen current policy for 8+ weeks after full rollout. Plot lift week-by-week since exposure. The typical pattern: a novelty spike in weeks 1–2, followed by fatigue-driven decay, and eventually either a stable plateau or erosion below zero.
Modeling decay. Fit:
lift(w) = a + b · exp(−w / τ)
The coefficient a is the persistent lift. Report its confidence interval at weeks 6–8. If a is not distinguishable from zero, the benefit is transient.
Separating novelty from habit. Two supplementary analyses help:
- Cohort comparison — compare lift for users newly entering the treatment arm in week k against users who have been in it since week 1. Lift concentrated in new exposures signals novelty rather than durable habit.
- Post-period kill test — in week 6, randomly turn off treatment for half the treated users. If orders stay elevated, a habit formed. If they revert immediately, the lift was reminder-driven.
Staggered rollout. Ramp markets in waves (10% → 25% → 50%). Use difference-in-differences across adoption cohorts with a heterogeneity-robust estimator (e.g., Callaway–Sant'Anna) to avoid the known bias of two-way fixed effects.
Part 4 — Interference and Diminishing Returns
Dose-response via cap randomization. Randomize the weekly cap itself across users — for example 0, +1, +2, or +3 extra pushes. This yields a clean causal dose-response curve from a single experiment. Expect a concave order response and a convex opt-out response. The profit-maximizing frequency is where marginal contribution profit equals the marginal cost of opt-outs (estimated via a willingness-to-pay model or the long-run revenue value of a retained user).
Trigger-level instrumental variable. At each eligible trigger (cart abandonment, reorder window), randomize send probability at some p < 1. Log "ghost" non-sends as well as sends. The randomized send flag instruments for actual delivery, since delivery can fail due to OS-level disablement or cap binding. The Wald estimate — Δ(orders) / Δ(delivered) — gives the per-notification causal effect on orders within 24–72 hours. Interacting the instrument with the user's ordinal push count that week estimates marginal returns by position.
Marketplace spillovers. At large treatment shares in dense markets, incremental demand can strain supply, raising delivery times for all users including controls. This deflates the measured treatment effect. Mitigate by capping test allocation per market to below ~30%, and measure marketplace health metrics by market as a secondary diagnostic. For a full-market rollout, use region × time-block switchback tests or a synthetic control built from untreated markets to isolate supply-side effects separately.
Part 5 — Power, Stopping Rules, and Decision Framework
MDE calculation inputs:
- Baseline: mean weekly orders per user (e.g., 0.6) and standard deviation
- Minimum meaningful lift: ~2–3% in orders per user (a lift smaller than this is strategically immaterial or undetectable before the opt-out cost becomes visible)
- Two-sided α = 0.05, power = 0.80
- Adjustment for CUPED covariate (reduces required N by roughly 30–50%)
- Duration: at least 4 weeks to capture one weekly order cycle and catch fatigue onset
Stopping rules. Pre-register the analysis plan. Do not peek at primary metrics before the planned end date — early stopping inflates false-positive risk. Exception: run a guardrail monitor daily. If the opt-out rate exceeds a pre-specified absolute threshold (e.g., +0.5 percentage points over control) at any point, pause and investigate.
Decision matrix:
| Condition | Decision |
|---|---|
| Primary metric positive, all guardrails green | Ship |
| Primary metric positive, one guardrail yellow | Ship to lower-frequency arm only; revisit in 4 weeks |
| Primary metric null, guardrails green | Do not ship frequency increase; A/B timing-only arm separately |
| Any guardrail breaches threshold | Immediate rollback to current policy |
| Long-run holdout shows lift decaying below zero by week 6 | Roll back even if short-term experiment was positive |
The rollback criterion is explicit: if the 8-week holdout shows that the persistent lift estimate a has a 95% confidence interval entirely below zero, the change is net-negative for retention and the policy reverts regardless of the short-term order numbers.
Common Mistakes to Avoid
- Using push-attributed conversions as the primary metric. This overstates lift because it gives the push credit for orders that would have happened anyway.
- Treating opt-out rate as a soft guardrail rather than pricing it into the primary metric. Opt-outs destroy long-term value.
- Forgetting that email and SMS are substitutes. Measuring only push-driven orders can show a positive lift while total orders are flat.
- Running the test for only 1–2 weeks and missing the fatigue curve entirely.
- Using a bandit where you need a causal estimate — bandits optimize fast-feedback proxies and will systematically under-weight delayed costs like churn.