PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Meta

Design an ad click tracking system

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's ability to architect a high-throughput, reliable ad event tracking system, including event modeling, streaming and batch processing, storage selection, deduplication, attribution logic, and operational monitoring.

  • hard
  • Meta
  • System Design
  • Software Engineer

Design an ad click tracking system

Company: Meta

Role: Software Engineer

Category: System Design

Difficulty: hard

Interview Round: Onsite

Design a system to track **ad impressions and clicks** and support: 1. **Online serving / real-time analytics** - Near-real-time counters (e.g., clicks per campaign/creative, CTR) with low latency. - Dashboards that can filter by time window, campaign, geo, device, etc. 2. **Offline/batch reporting & billing** - Accurate daily aggregates for invoicing. - Ability to reprocess data if attribution rules change. 3. **Attribution & deduplication** - Deduplicate repeated events (retries, double clicks, client re-sends). - Attribute clicks to impressions (e.g., last-touch within a time window). 4. **Scale & reliability** - Very high write QPS, bursty traffic. - No event loss; tolerate partial outages. 5. **Abuse/fraud considerations** - Basic detection signals and rate limiting. Explain APIs/events, data model, storage choices, streaming/batch pipelines, consistency tradeoffs, and key metrics/alerts.

Quick Answer: This question evaluates a candidate's ability to architect a high-throughput, reliable ad event tracking system, including event modeling, streaming and batch processing, storage selection, deduplication, attribution logic, and operational monitoring.

Related Interview Questions

  • Design Top-K, Crawler, and Chess Systems - Meta (hard)
  • Design Search And Web Crawling Systems - Meta (medium)
  • Design an Instagram-Style Social Feed - Meta (medium)
  • Design an Online Game Leaderboard - Meta (hard)
  • Design an On-Demand Delivery Platform - Meta (medium)
Meta logo
Meta
Oct 21, 2025, 12:00 AM
Software Engineer
Onsite
System Design
1
0
Loading...

Design a system to track ad impressions and clicks and support:

  1. Online serving / real-time analytics
    • Near-real-time counters (e.g., clicks per campaign/creative, CTR) with low latency.
    • Dashboards that can filter by time window, campaign, geo, device, etc.
  2. Offline/batch reporting & billing
    • Accurate daily aggregates for invoicing.
    • Ability to reprocess data if attribution rules change.
  3. Attribution & deduplication
    • Deduplicate repeated events (retries, double clicks, client re-sends).
    • Attribute clicks to impressions (e.g., last-touch within a time window).
  4. Scale & reliability
    • Very high write QPS, bursty traffic.
    • No event loss; tolerate partial outages.
  5. Abuse/fraud considerations
    • Basic detection signals and rate limiting.

Explain APIs/events, data model, storage choices, streaming/batch pipelines, consistency tradeoffs, and key metrics/alerts.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Meta•More Software Engineer•Meta Software Engineer•Meta System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.