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.
Define what a business metric is and how it differs from a dimension and a KPI. Give concrete examples mapping event-level data to a metric versus a dimension (for example: page_view_count, user_country, conversion_rate). Explain when a metric should be computed at event-level versus aggregated, and name one case where computing at the wrong level causes bias.
Explain what a 'metrics registry' is, why it's useful, and what minimum information a registry entry must capture for someone to trust and reuse it. How would you convince skeptical stakeholders to adopt and use it?
You're asked to create a clear, auditable definition for the metric 'Active User (DAU)' for an e-commerce web and mobile product used by both signed-in and anonymous users. Specify: the user identifier(s) to use, which events count as activity, the time window, deduplication rules (e.g., same user across devices), how to treat bots/test accounts, and how to document the definition so stakeholders can reproduce it.
Explain tumbling (calendar-aligned), sliding (rolling) and session-based windows for metric aggregation. When would you choose a rolling 7-day average instead of month-to-date, and what pitfalls arise from timezones and daylight savings when computing daily metrics?
Engineering changed an event schema that alters the definition of 'purchase' going forward. Propose a detailed plan to backfill and reconcile historical metrics: how to detect impacted dashboards, reprocess historical data (or not), version metric definitions, communicate changes to stakeholders, and implement safeguards to avoid downstream confusion.
Unlock Full Question Bank
Get access to all 31 Metric Definition and Implementation interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.