Merchant-Level Randomization for Menu Photo Suggestions

Last updated: November 29, 2026

Quick Overview

DoorDash wants to test a tool that suggests merchants add professional photos to menu items. The goal is higher merchant sales. How would you design and analyze the experiment?

DoorDash
Analytics & Experimentation
Data Scientist
DoorDash
November 29, 2026
Data Scientist
Technical Screen
Analytics & Experimentation
Medium

0

0

0 solved


DoorDash wants to test a tool that suggests merchants add professional photos to menu items. The goal is higher merchant sales. How would you design and analyze the experiment?

DoorDash's merchant products team runs tests where the merchant, not the consumer, is the unit. The interviewer checks that you pick the right unit, handle skewed merchant sizes, and think about spillover onto competing merchants.

What the Interviewer Expects
  • Randomize at the merchant level
  • Choose a metric robust to merchant size skew
  • Account for the opt-in nature: intent-to-treat versus compliance
  • Discuss spillover where treated merchants steal orders from control merchants
  • Use stratification and pre-period covariates to reduce variance
Key Topics to Cover
merchant experiments
stratified randomization
intent-to-treat
spillover
skewed metrics
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • How would you estimate the effect of actually adding photos?
  • What if large chains dominate the results?
  • How would you measure whether total marketplace orders grew?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Analytics Questions
Sample Answer
Clarify

The treatment is a suggestion, so merchants decide whether to add photos. Metric: weekly sales per merchant over 6 weeks. Ask whether chains are in scope, since they manage menus centrally....

Approach

Randomize merchants (store or business ID, keeping all locations of a business in one arm). Stratify by sales decile and cuisine so arms balance on size. Report intent-to-treat: the effect of offe...


Submit Your Answer
Markdown supported