Testing Product Changes in a Multi-Sided Marketplace
Statistics & ExperimentsModel answerLast updated
Design A/B tests for feature launches in a delivery marketplace, addressing unit selection, metric definition, interference, and trade-offs across users, merchants, and revenue.
You're working as a data scientist at a delivery platform with three stakeholders: customers who order food, merchants who fulfill orders, and the platform itself which earns revenue through fees and advertising.
The product team has proposed several changes. For each one, design an experiment to evaluate whether the change should launch. Your design should address:
- What hypothesis you're testing
- How you'll define treatment and control groups
- What granularity to randomize at (user, session, order, merchant, geographic area, etc.)
- Which metric best captures success
- What guardrails prevent unintended harm
- Where bias, interference between units, or spillover effects could arise
- How you'd interpret results to make a launch decision
Unless you have strong reasons otherwise, assume a two-week measurement window and that users stay in their assigned group throughout the experiment.
Change 1: Default credit application
Currently, customers must manually select their account credits during checkout. The proposal is to apply any available credits automatically, with an option to toggle them off.
Design an experiment to evaluate this change. Consider the tension between conversion rate, speed of credit spending, platform margin, and long-term retention. Should randomization happen at the user, session, or order level? What matters most for the launch decision?
Change 2: Removing duplicates from search
Sometimes the top paid search result and the top organic result show the same merchant, creating a duplicate. One option is to remove the duplicate (keeping the paid listing) and promote other merchants upward.
Is this change beneficial? Design a test. What metrics reflect value for customers, advertisers, and the overall marketplace? How do you handle the fact that treatment changes which merchants get exposure? How might advertiser budget dynamics create bias?
Change 3: Flexible merchant promotions
Merchants can currently offer a standard promotion: "$5 off orders of $30 or more." The team wants to let merchants customize both the discount amount and the minimum threshold.
Address three questions:
- How would you increase the number of merchants who create promotions?
- How would you test the rollout of customizable promotions?
- How would you measure whether customizable promotions perform better than the standard template?
For all three, discuss both merchant outcomes and customer outcomes. Consider variation by merchant characteristics (order volume, cuisine type, new vs. established). Explain how to distinguish true incremental value from simply shifting spend between merchants or between orders that would have happened anyway.
Hints
Hint 1
Think about what state is shared across randomization units—credit balances, advertiser budgets, merchant capacity—and how that creates dependencies between treatment and control.
Hint 2
For marketplace experiments, surface metrics like CTR can move in the opposite direction of economic value. Always tie metrics back to contribution margin or long-term platform health.
Hint 3
When one group's treatment affects another group's outcomes (a merchant gets more orders because nearby merchants are in control), standard variance estimates break down. Consider geographic clustering or variance inflation.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Model Answer: Testing Product Changes in a Multi-Sided Marketplace
This question tests your ability to design causally valid experiments in complex environments where decisions affect multiple stakeholders and where standard A/B test assumptions break down.
The key skills being evaluated:
- Choosing the right randomization unit to avoid interference and contamination
- Defining metrics that reflect true economic value rather than vanity metrics
- Identifying and mitigating bias from selection, spillover, and shared resources
- Balancing short-term wins against long-term costs across multiple stakeholders
Use a consistent structure for each scenario: state the hypothesis, design the experiment, define metrics, identify risks, and outline the decision framework.
Change 1: Default Credit Application
Hypothesis
Requiring manual credit selection creates friction. Some customers forget they have credits, others abandon checkout to calculate whether to use them now or later. Applying credits by default should increase checkout completion and order frequency. The question is whether accelerated credit spending hurts future orders or platform economics.
Experimental Design
- Control: Existing flow where credits must be manually selected
- Treatment: Credits auto-applied with a visible toggle to remove them
- Randomization unit: User level with sticky assignment
Why user-level? Credit balance is user-level state. If you randomize by session or order:
- A user sees inconsistent experiences across sessions, which is confusing
- Auto-applying in one session depletes credits needed in another session, creating cross-contamination
- The economic effects (total credit burn, retention impact) only manifest at the user level over multiple orders
Analysis population: Trigger on users who reach checkout with positive credit balance. Apply this filter to both arms using the assignment timestamp (counterfactual triggering). This ensures you're measuring the effect on users who could be affected by the change.
Primary Metric
Contribution margin per triggered user over 14 days
Why this metric?
- Pure conversion rate would reward giving money away
- Order count ignores the cost of credits
- Contribution margin = (order revenue - fulfillment costs - credit redemptions - fees refunded)
This captures the full economic picture. Report order count and checkout conversion as diagnostic metrics to understand why margin changed.
Guardrail Metrics
- Percentage of users who toggle credits off (proxy for confusion or dissatisfaction)
- Customer support contacts about unexpected credit usage
- Refund rate
- Average order value (check for customers artificially lowering baskets because credits cover more of the total)
- Credit liability on balance sheet
Key Trade-offs and Risks
-
Burn acceleration vs. incremental burn
- Most credits would eventually be redeemed anyway; treatment mainly pulls redemption forward
- The real cost is credits that would have expired unused in control
- Estimate this using historical expiration rates by credit type and age
-
Future retention impact
- Unused credits create a reason to return
- Exhausting credits faster might reduce orders after day 14
- Mitigation: Hold out 5% of users for 60-90 days and track post-credit order frequency
-
Novelty effect
- Week 1 lift might be curiosity-driven
- Compare effect magnitude between weeks 1 and 2
-
Selection bias in who gets credits
- Credits often go to churning users as a win-back incentive
- Your sample may differ systematically from average users
- Pre-stratify by credit source (win-back, referral, service recovery) and analyze separately
Launch Decision Framework
- Launch if 14-day contribution margin is neutral or positive AND the long-term holdout shows no retention decline
- Do not launch if margin is negative or retention drops significantly
- Partial launch if conversion improves but margin is slightly negative: consider auto-applying only expiring-soon credits or only promotional (non-monetary) credits
Change 2: Removing Search Duplicates
Is Duplication Good or Bad?
From different perspectives:
- Users: Wasted screen space, less variety, worse experience
- Advertisers: Paying for clicks that would likely go to their organic listing anyway (low incrementality)
- Platform (short-term): Earning ad revenue
- Platform (long-term): Poor advertiser ROI eventually reduces bid prices and budget
The likely answer is that duplication hurts the marketplace, but we test rather than assume.
Treatment Definition
Option A: Remove the organic listing, keep the paid listing Option B: Remove the paid listing, promote the next advertiser into the slot Option C: Collapse both into a single "sponsored" listing
I'd test Option A because it protects ad revenue while still freeing up a slot. State your choice explicitly.
Randomization Unit
User level with sticky assignment to maintain consistent search experience and measure cumulative behavior over 14 days.
Critical Interference Problem: Advertiser Budgets
If advertisers set daily budgets, and treatment consumes budgets faster (more impressions per advertiser), then control users see fewer ads later in the day. This creates bias in ad metrics across arms.
Mitigations:
- Split budgets by arm: each arm gets its own allocation of every advertiser's budget
- Cluster randomization at advertiser level when analyzing advertiser-side metrics
- Time-of-day stratification: balance randomization so arms have similar traffic distributions
Metrics
Primary (user experience):
- Orders per searching user over 14 days
- Search-to-order conversion rate
Ad performance:
- Ad revenue per search session
- Click-through rate on ads
- Advertiser return on ad spend (ROAS)
- Incremental orders per ad dollar (estimated via auction counterfactuals or ghost ads)
Marketplace health:
- Gross order value per user
- Contribution margin including ad revenue
- Advertiser budget utilization and renewal rates
Supply diversity:
- Share of orders going to merchants ranked 6+ in search
- Herfindahl index for order concentration
- Clicks per unique merchant
Exposure Redistribution
Removing a duplicate shifts every listing below it up one position. This isn't noise—it's a distributional effect you should measure:
- Do more orders go to mid-tier and smaller merchants?
- Does higher exposure to smaller merchants improve or hurt delivery times, cancellation rates, and fulfillment quality?
- Does increased variety improve long-term user retention?
These supply-health benefits are often long-term and won't fully materialize in 14 days, but note them qualitatively.
Launch Decision
- Launch if orders per user and GOV are flat or positive, even if ad revenue drops slightly, provided advertiser ROAS improves (this supports future CPCs)
- Do not launch if user experience worsens or if ad revenue drops significantly without offsetting improvements elsewhere
- Consider partial launches: deduplicate only when the organic and paid listings are exactly identical (same location, same menu), but keep duplicates if they differ (e.g., different storefronts of the same chain)
Change 3: Flexible Merchant Promotions
Part 1: Increasing Adoption
Approach
Map the merchant funnel: awareness → setup initiation → first promotion launched → continued usage. Interview or survey merchants to identify barriers at each stage:
- Not understanding ROI
- Setup complexity
- Fear of margin erosion
- Forgetting to turn promotions on/off
Possible interventions:
- Showing projected incremental order lift based on similar merchants
- One-click promotion templates
- Account manager outreach for high-value merchants
- Time-limited "co-funded" promotions where the platform contributes
Experiment Design
- Unit: Merchant (or parent business for multi-location chains)
- Treatment: Selected intervention
- Primary metric: Promotion adoption rate within 30 days
- Guardrails:
- Merchant payout per order (ensure they don't lose money)
- Promotion duration (do they turn it off quickly?)
- Merchant satisfaction and churn
- Order cancellation rates (promotions shouldn't overload capacity)
Adoption without profitability is failure.
Part 2: Testing Customizable Promotions
Design Considerations
Build guardrails into the product:
- Min/max discount-to-threshold ratios (e.g., discount must be ≤ 30% of threshold)
- Recommended defaults based on merchant AOV and cuisine
- Clear margin impact preview
Watch for threshold gaming: "$10 off $50" should raise average basket size, but check:
- Distribution of order values (look for bunching just above $50)
- Order frequency changes (are customers splitting orders or ordering less often?)
Randomization
It depends on what you're measuring:
- Merchant-side outcomes (adoption, satisfaction, net payout): randomize at merchant level
- Customer-side outcomes measured in isolation: randomize at user level
- Marketplace-level effects: merchant-level randomization is biased because treated merchants offering better promotions steal orders from nearby control merchants, inflating measured lift
For marketplace-level analysis, consider geographic cluster randomization (zip code or delivery zone) or accept that merchant-level randomization provides an upper bound on the effect.
Part 3: Customizable vs. Standard Promotions
Challenge: You can't randomize merchants to "standard-only" vs. "customizable-only" fairly. Merchants who choose customizable likely differ from those who don't (selection bias).
Approach A: Staggered Rollout
Roll out customizable promotions to merchants in phases (e.g., by region or alphabetically). Compare:
- Adoption rates across cohorts
- Merchant outcomes (orders, payout) before and after access
- Customer outcomes in geos with vs. without customizable promotions
Use difference-in-differences to separate the rollout effect from time trends.
Approach B: Forced Randomization (if feasible)
For merchants willing to run a promotion:
- Control: Offer only standard "$5 off $30"
- Treatment: Offer customization
This measures the value conditional on running a promotion. It doesn't capture differences in who opts in.
Approach C: Observational Analysis
After full rollout, match merchants who chose customizable promotions to similar merchants who chose standard, using propensity scores based on:
- Order volume
- AOV
- Cuisine
- Location density
- Promotion history
Compare outcomes between matched groups. This is weaker than an experiment but the best you can do if randomization isn't viable.
Key Metrics
Merchant side:
- Promotion adoption and retention
- Orders and revenue during promotion periods
- Net payout per order
- Customer acquisition (new vs. repeat customers driven by promotion)
Customer side:
- Order frequency
- Average order value
- Total spend per customer over 90 days (to capture cannibalization)
Heterogeneity Analysis
Segment by:
- Merchant order volume (high/medium/low terciles)
- Cuisine type
- New merchants (< 6 months) vs. established
- Previous promotion usage
Smaller or newer merchants may see bigger lifts because they have less organic demand.
Incrementality vs. Cannibalization
A promotion that generates 100 orders could represent:
- 100% new orders (pure lift)
- Orders pulled forward from next week (timing shift)
- Orders from competitors (true acquisition)
- Orders that would have happened anyway (pure cost)
To separate these:
- Time-shifted demand: Track order frequency before, during, and after the promotion window
- Baseline comparison: Compare promoted merchants to matched non-promoted merchants
- Synthetic control: Build a synthetic version of the treated merchant using weighted combinations of similar merchants, compare trajectories
Launch Decision
- Launch customizable if adoption increases, merchant satisfaction is neutral or positive, and incremental marketplace value (after accounting for cannibalization) exceeds the cost of increased discounts
- Keep standard only if customization creates margin-destructive promotions or confuses merchants
- Offer both as a middle ground, with customization behind an "advanced" menu
Common Mistakes
- Wrong randomization unit: Randomizing sessions when the effect persists across sessions, or randomizing merchants when spillover between merchants is strong
- Ignoring shared resources: Budget exhaustion, merchant capacity, or inventory constraints that create dependencies between units
- Optimizing surface metrics: Focusing on CTR or conversion without measuring contribution margin or long-term value
- Assuming independence: Reporting standard errors without accounting for clustering or interference
- Short measurement windows: Missing delayed effects like retention changes or merchant churn
Always tie experiment design back to the causal question you're answering and the economic trade-offs the business must make.