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.

MediumTechnical
88 practiced

A mobile app release appears to have caused missing events for a cohort of users. As a data scientist on-call, outline a step-by-step debugging plan to identify root cause and mitigate data loss. Include checks in the SDK, network path, ingestion brokers, consumer lag, and telemetry you would inspect.

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.

MediumTechnical
67 practiced

Implement a Python class that deduplicates events using an in-memory sliding window. The structure should keep seen event IDs with a TTL (in seconds) and evict expired IDs efficiently. Provide methods: add_event(event_id, timestamp) -> bool (True if new), and a background eviction approach. Assume single-process and explain how this design changes in distributed deployments.

HardTechnical
73 practiced

You're planning a migration from a legacy tracking system to a new analytics platform. Create a cross-functional migration plan that preserves KPI continuity, includes verification steps, and minimizes business disruption. Include rollback criteria and a phased rollout strategy.

MediumTechnical
81 practiced

Propose a lightweight analytics data lifecycle for feature flags and experiments: how long to keep raw events, aggregated experiment results, and derived SQL tables. As PM, justify retention durations and describe a deletion and archive process.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.