Evaluate a One-Click Checkout Experiment With Merchant-Level Randomisation

Last updated: November 29, 2026

Quick Overview

Razorpay wants to measure whether its one-click Magic Checkout increases completed orders for D2C merchants compared with standard checkout. Design the experiment, choose the unit of randomisation and metrics, and explain how you would analyse the result.

Razorpay
Analytics & Experimentation
Data Scientist
Razorpay
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Medium

0

0

0 solved


Razorpay wants to measure whether its one-click Magic Checkout increases completed orders for D2C merchants compared with standard checkout. Design the experiment, choose the unit of randomisation and metrics, and explain how you would analyse the result.

Magic Checkout prefills addresses and offers cash-on-delivery with risk scoring, so its effect includes conversion, RTO (return to origin) and fraud. The interviewer checks unit choice under network and merchant effects, guardrail metrics beyond conversion, and correct variance estimation for clustered data.

What the Interviewer Expects
  • Pick shopper-level vs merchant-level randomisation and justify it
  • Define primary metric (checkout conversion) and guardrails (RTO rate, prepaid share, latency)
  • Compute sample size with clustering in mind
  • Use cluster-robust or merchant-level analysis
  • Address novelty effects and heterogeneous merchants
Key Topics to Cover
A/B testing
cluster randomisation
CUPED
guardrail metrics
e-commerce checkout
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
  • Why might randomising individual shoppers within a merchant bias results?
  • Conversion rises 4% but RTO rises 2 points. Is it a win?
  • Only 40 merchants agreed to join. How do you still get a credible estimate?
  • How would you use pre-period data to reduce variance?
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

Who opts in (merchants already on Razorpay)? Is checkout fully replaced or a button alongside? What is the decision: launch to all D2C merchants, or sales pitch evidence? Metrics: primary is orders co...

Approach

Shopper-level randomisation within a merchant gives more power, but shared address caches and COD risk models learn across sessions, and merchants may treat traffic differently. If the merchant sees b...


Submit Your Answer
Markdown supported

Related Questions