Product Analytics Instrumentation and Event Tracking Questions

Instrumenting products to collect behavioral data: event taxonomy/tracking plans, client and server-side collection, attribution implementation, and telemetry for web, mobile, and games (including crash reporting). Covers designing clean, analyzable event schemas and the collection infrastructure behind them. The data-collection foundation for product analytics.

HardTechnical
84 practiced

Design a cross-platform analytics and instrumentation pipeline that aggregates events from iOS and Android, supports performance monitoring and crash grouping, respects user privacy and GDPR requests, and enables funnel and cohort analysis. Specify SDK choices or alternatives, a recommended event schema and versioning approach, sampling strategies, data retention policies and how to guarantee no PII is recorded.

HardTechnical
87 practiced

Instrumentation drift: event name semantics changed in December, causing a slow bias in the 'completed-checkout' metric over several months. Describe how you'd detect drift, quantify cumulative impact on historical reports, and implement a reconciliation/backfill approach. Include example SQL queries you'd use to compare old vs new event names.

EasyTechnical
69 practiced

Given the events table below, write a SQL query (in ANSI SQL) to compute daily unique users (DAU) for the last 30 days, deduplicating by event_id and normalizing timestamps to UTC. Table schema:

events(event_id VARCHAR PK, user_id VARCHAR, occurred_at TIMESTAMP WITH TIME ZONE, event_type VARCHAR)

Return columns: event_date (YYYY-MM-DD), dau_count.

HardSystem Design
79 practiced

Design a solution to join server-side authoritative purchase events (billing system) with client-side analytics events to compute funnel conversions and attribution while avoiding double counting and handling delayed server events. Discuss event schema, canonical keys (order_id), deduplication strategy, buffering, reconciliation jobs, and how to handle unmatched records.

EasyTechnical
89 practiced

Implement reservoir sampling in Python to uniformly sample k items from a stream of unknown length. Provide a class or function with methods to process each item and to return the final sample. Complexity requirement: O(k) memory and O(n) time for n items. Show sample usage and describe how to handle edge cases (k >= n) and seeding for reproducibility.

Unlock Full Question Bank

Get access to all 24 Product Analytics Instrumentation and Event Tracking interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.