Measuring a Quick-Reaction Feature in a Chat App
Statistics & ExperimentsModel answerLast updated
Plan the metrics, a network-aware experiment, and the launch decision for a message-reaction feature that lifts reactions but slightly lowers total message volume.
Scenario
A messaging app is about to ship quick reactions for private chats. A user long-presses a message and attaches a small emoji (a heart, a thumbs-up) instead of typing a separate reply. You are the data scientist responsible for deciding whether the feature should ship.
You have event logs with message type, timestamp, sender and recipient user IDs, and thread IDs.
Questions
- Metrics. Propose a metric set for judging the launch. Separate primary, secondary, and guardrail metrics, and explain why each belongs in its category.
- Experiment design. Describe how you would test the feature given that users influence each other. A reaction needs a sender and a recipient, so treated users can affect control users. Explain the problem and how your design handles it.
- Mixed result. The test shows a significant rise in reactions and a small drop in total messages sent. How do you interpret that, and what further analysis would you run before recommending launch or no launch?
Things to address
- How you would separate healthy substitution (a reaction replacing "ok" or "lol") from real loss of conversation, that is, cannibalization of text replies.
- Both individual engagement and the broader health of the messaging ecosystem.
- Which analyses the available logs support.
Answer as you would in a product-analytics interview: structured, with explicit trade-offs and a clear decision rule.
Hints
Hint 1
A reaction count will rise by construction once the feature exists, so it is a poor success metric. Choose primary metrics that measure value the feature should not be able to inflate trivially, such as active messaging days or reciprocal conversations.
Hint 2
Think about what happens when a treated user reacts to a control user's message. Whose experience is broken, and which assumption of a standard user-level A/B test does this violate? Consider randomizing groups of users who mostly talk to each other.
Hint 3
A fall in message volume is not automatically bad. Break the drop down by message length and type, and compare short acknowledgments plus reactions in treatment against short acknowledgments alone in control.
Hint 4
Write the launch decision rule before looking at results: which primary metrics must be neutral or better, and how large a drop in substantive messages or rise in mutes and reports would you tolerate?
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Framing
State the product hypothesis first: reactions give people a cheap way to acknowledge a message. They should replace low-information replies ("ok", "lol", "👍") without reducing meaningful conversation, and ideally make messaging feel lighter so people come back more often. Every metric and analysis below tests part of that claim.
1. Metrics
Primary metrics (measure value, hard to inflate by construction):
- Active messaging days per user per week, plus D7/D28 messaging retention.
- Reciprocal conversations per user per week: threads where both sides contributed at least one message or reaction. This reflects relationship health better than raw volume.
Secondary metrics (adoption and mechanism):
- Share of daily actives who react at least once; reactions per reactor.
- Total communicative acts per user (messages + reactions).
- Message mix by length and media type: short acknowledgments vs. substantive messages.
- Conversation continuation rate: probability of another message in the thread within N hours after a reaction, versus after a short text reply.
- Reply latency and threads started per user.
Guardrail metrics (must not regress):
- Substantive messages per user (for example over 20 characters, plus media and voice).
- Reports, blocks, mutes, and notification opt-outs, since reaction notifications can feel like spam.
- Overall sessions and time in app.
- Crash rate, send latency, battery and data use.
Cannibalization. Build an acknowledgment classifier (3 or fewer tokens, emoji-only, or a known lexicon). Then compare short acks per user in control with short acks plus reactions per user in treatment. If the text decline is mostly acks and the combined number is flat or up, the drop is substitution, not lost communication.
2. Experiment design under interference
Why user-level randomization breaks. If a treated user reacts to a control user's message, the control user either sees nothing (a broken experience that suppresses their replies) or sees a fallback like "Alex reacted ❤️" (which contaminates control). Treated users also have fewer peers who can respond to their reactions. SUTVA is violated, and the bias typically shrinks the measured effect.
Cluster-randomized design:
- Build a graph from 4-8 weeks of message logs, with edges weighted by message counts.
- Partition it with Louvain/Leiden or balanced label propagation, aiming for most message volume (for example 70-80%) to stay within clusters.
- Randomize whole clusters to treatment or control, so the feature is fully on or off inside a cluster.
- Handle cross-cluster edges explicitly: show a degraded fallback or disable reactions on cross-arm threads, and log exposure to quantify leakage.
- Treat group chats separately: assign by majority cluster or exclude mixed groups.
Analysis details:
- The effective sample size is the number of clusters, so use cluster-robust standard errors or cluster-level aggregates.
- Use CUPED with pre-period messaging activity to regain power.
- Run 3-4 weeks so novelty fades and weekly seasonality is covered.
- To measure interference directly, run user-level and cluster-level randomization on disjoint populations. A gap between the two estimates quantifies the bias a naive test would have had.
Trade-offs. Clustering reduces power and makes balance harder (heavy users sit in big clusters), but it is the price of an unbiased estimate. Stratify clusters by size and baseline activity to improve balance.
3. Interpreting "reactions up, messages down"
A drop in message volume is the expected signature of substitution. The real question is which messages vanished and whether conversations and users are healthier.
Analyses to run:
- Decompose the decline by length and type. If about 90% of it is short acks and substantive messages are flat, that is healthy substitution. If long messages or media fell, reactions may be ending conversations that would have continued.
- Conversation-level effects. Compare conversations per user, reciprocity, and thread length. Compare continuation after a reaction with continuation after a matched short reply in control; a "conversation killer" effect shows up as lower continuation.
- Primary metrics. If users message on more days with fewer messages each, that is a win.
- Both sides of the network. Does receiving a reaction change recipients' later sending, blocks, or mutes? Do senders who get a reaction instead of a text feel less engaged?
- Heterogeneity. Split by 1:1 vs. group chats (reactions probably help most in groups), new vs. tenured users, market and platform, and tie strength. A loss concentrated in new users or weak ties is worrying because those relationships need active messages to form.
- Time trend. Plot daily effects to separate novelty spikes from persistent substitution.
- Qualitative signal. In-product surveys on perceived connection and convenience.
Decision rule
Set this before unblinding. Launch if:
- Primary metrics (retention, reciprocal conversations) are neutral or positive.
- The message decline is concentrated in acknowledgments.
- Substantive messaging and continuation stay within thresholds, for example no more than a 0.5% drop in substantive messages.
- Reports and mutes do not rise.
Otherwise iterate first, for example by adding a "reply" shortcut on reaction notifications.
Common mistakes
- Treating reaction count as a success metric.
- Ignoring interference and running a plain user-level test.
- Using total message volume as the headline metric, so substitution looks like harm.
- Using user-level standard errors on a cluster-randomized test.
- Declaring victory from the first week, before novelty decays.
Follow-up: no clean A/B test
If randomization is not possible, use difference-in-differences on a staggered rollout by country or app version, validating parallel pre-trends. Synthetic control is an alternative when only a few units are treated. Both need strong checks that the comparison groups would have moved together without the feature.