Metric Definition and Implementation Questions

Defining and computing business metrics correctly: single-source-of-truth metric definitions, handling edge cases (dedup, attribution windows, timezones), and reconciling real-time vs batch metric values. Covers metric governance and translating business questions into precise, reproducible calculations. A high-frequency analytics-interview topic.

MediumTechnical
58 practiced

You discover two teams calculate 'conversion rate' differently: Team A divides purchases by visitors, Team B divides purchases by sessions. Design a test and a decision process to reconcile these definitions and advise which is preferable for product A's growth dashboard. Include how to present the impact of each definition using sample data.

HardTechnical
63 practiced

Advanced retention: compute conditional retention where a user is considered 'retained' in week t only if they had at least N qualifying events in the prior week(s) (e.g., at least 2 opens in previous week). Provide an efficient SQL approach for cohorts up to 26 weeks that accounts for censoring and users who churn. Explain the implications for survival analysis.

MediumTechnical
75 practiced

Outline a reconciliation process to validate metrics between the data warehouse and BI dashboard. Include the specific checks you would run and why each catches a different failure mode, acceptable tolerances, automated jobs, owner assignments, and a runbook describing investigative steps for mismatches.

MediumTechnical
80 practiced

You need to compute user-level monthly revenue where some orders are refunded later. Propose a reproducible approach to attribute refunds: should refunds be subtracted from the month of original purchase, the refund date, or both? Explain trade-offs and how to implement each choice in your ETL.

MediumTechnical
81 practiced

Write a SQL (or pseudocode) to compute weighted conversion rate when users have unequal sampling weights (weight column in users table). The metric should return weighted_conversion_rate and an approximate standard error for confidence intervals.

Unlock Full Question Bank

Get access to all Metric Definition and Implementation interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.