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
87 practiced

Design a robust process to monitor instrumentation coverage and detect regressions after product releases. Include how to define coverage metrics (mandatory events per page/feature), automated checks (CI, schema linting), synthetic tests, baseline comparisons, alerting rules, and how to gate releases based on failures.

EasyTechnical
69 practiced

Given an events table named events_raw(event_id text, user_id text, event_name text, occurred_at timestamptz, payload jsonb), write an SQL query (Postgres) that finds rows missing required fields or with occurred_at outside a reasonable range (earlier than 2000-01-01 or in the future). Return counts by error type and sample event_id values.

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.

EasyTechnical
92 practiced

A product engineer added a new event 'purchase_submitted' to the client. Design a test plan to validate the event in staging and production. Cover schema validation, deduplication, timestamp correctness/timezones, user_id mapping, sampling checks, and what monitoring/alerts you would create after rollout.

EasyTechnical
74 practiced

Write a small Python function that generates a deterministic idempotency token for events sent from a client SDK. Inputs: user_id (nullable), device_id, event_type, event_timestamp_ms, optional payload string. Output: 16-character base62 token suitable for use as an idempotency key. Explain choices to avoid collisions and to ensure stable tokens across retries.

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.