Designing Metrics and Experiments for a Messaging Feature Launch
Statistics & ExperimentsModel answerLast updated
Define success metrics, guardrails, and an experimental framework to evaluate whether a new messaging product achieves its goals.
You're working on a product team that plans to ship a new messaging feature on a social platform. Your task is to create a measurement strategy and design an experiment that will determine whether the launch should proceed.
Your framework should include:
- A primary success metric that captures real user value
- Guardrail metrics to protect against negative outcomes
- An experimental design that handles the unique challenges of communication features
- Clear criteria for making a launch decision
Since the specific feature details aren't provided, start by defining what user problem you're solving and what success looks like.
Hints
Hint 1
Start by clarifying the goal: are you improving connection quality, reducing friction, or enabling new use cases?
Hint 2
Communication features have a network property—if I message you, both our experiences change. How does this affect your experiment design?
Hint 3
Consider both short-term engagement signals and longer-term health indicators when choosing guardrails.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Model Answer
1. Clarify the Product Goal
Before selecting metrics, I'd confirm what user problem we're addressing. Possible goals include:
- Strengthening connections: helping close friends communicate more meaningfully
- Discovery and growth: enabling conversations between new connections
- Reducing friction: making existing communication faster or easier
For this answer, I'll assume we're building a feature to help users have more meaningful conversations with their existing network.
2. Primary Metric Selection
Chosen metric: Weekly Active Conversations (WAC)
Definition: A conversation is "active" if both participants send at least one message that week. Count distinct conversations per user per week.
Why this metric:
- User value alignment: captures bidirectional engagement, indicating genuine communication rather than one-sided outreach
- Leading indicator: conversation activity predicts long-term retention better than raw message volume
- Stable denominator: weekly windows smooth day-of-week patterns and give users time to respond
Alternative considered:
- Messages sent per user: rejected because volume doesn't indicate quality or reciprocation
- Time spent in messaging: harder to instrument reliably, can be inflated by passive app-in-background time
3. Guardrail Metrics
Safety guardrails:
- Report rate: reports per 1000 messages (should not increase significantly)
- Block rate: blocks per 1000 conversation initiations
- Spam detection triggers: automated flags per 1000 messages
Engagement health:
- 7-day retention: percentage returning within a week (should not decrease)
- Session frequency: sessions per user per week on the overall platform
- Core feature usage: ensure we're not cannibalizing other key behaviors
Technical reliability:
- Message delivery rate: 99th percentile delivery latency <3 seconds
- Error rate: client errors per message send attempt <0.5%
These protect against unintended harm, engagement trade-offs, and infrastructure issues.
4. Experimental Design
The network effects problem:
If user A (treatment) messages user B (control), we contaminate the control group. Standard randomization breaks down.
Approach: Cluster randomization by social graph
- Randomization unit: clusters of densely connected users, not individuals
- Clustering method:
- Run community detection on the social graph
- Create clusters where most communication happens within-cluster
- Assign entire clusters to treatment or control
- Sizing consideration: need fewer, larger units → requires higher effect size for power
Sample size:
- Assume baseline WAC = 2.5 conversations/week, std dev = 3.0
- Target MDE (minimum detectable effect) = 5% lift
- With 80% power, alpha = 0.05, and design effect ≈ 2× from clustering: need ~8,000 clusters per arm
- If average cluster size = 20 users: 320,000 total users
Alternative for smaller tests: Ego-network randomization where we treat a user and their immediate connections together, accepting some spillover in exchange for better balance.
5. Duration and Analysis
Experiment length: 3-4 weeks minimum
- Week 1: novelty effects, onboarding
- Weeks 2-3: stabilization to steady-state behavior
- Week 4: clean measurement period
Analysis plan:
- Primary: compare mean WAC in weeks 3-4 between treatment and control using cluster-robust standard errors
- Heterogeneity: segment by user tenure, baseline activity, platform (mobile/desktop)
- Leading indicators: track daily trends to catch serious issues early
6. Launch Decision Criteria
Ship if:
- Primary metric shows +3% lift (p < 0.05) in stable weeks
- All safety guardrails within ±10% of baseline
- No segment shows worse than -5% in retention
- P95 delivery latency under 2 seconds
Rationale for +3% threshold:
- Conservative given measurement noise in network settings
- Represents ~75K additional weekly conversations at scale
- Balances ambition with risk management
Don't ship if:
- Any safety guardrail degrades significantly
- Effect is positive but retention drops
- Technical reliability below bar
Iterate if:
- Metric is flat but strong positive signal in a subsegment (consider targeted rollout)
- Effect is positive but small (+1-2%): gather more data or refine the feature
Common Pitfalls
- Ignoring network effects in randomization leads to biased estimates
- Vanity metrics like "messages sent" that don't reflect user value
- Short experiments that catch novelty effects rather than sustained behavior
- No safety guardrails risking user harm or trust issues
- Binary thinking (ship/don't ship) without considering partial rollouts or iteration
Summary
A strong measurement framework for communication features requires metrics grounded in user value (active conversations), comprehensive guardrails for safety and health, experimental designs that respect network structure, and launch criteria that balance opportunity with risk.