LLD: analytics/event-tracking SDK
Comes up in: Low-level design, Frontend system design
This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.
What it covers
- public API
- batching
- offline queue
- retries
- sendBeacon on hide
- sampling
- consent
- plugin hooks
- bundle size
Words you will know
What you will practise
- design + implement the queue
Interview questions this answers
- Design an analytics SDK. How do you avoid losing events?