Analytics architecture
How product data flows from the app to the tools where it is analyzed.
Analytics architecture covers client and server tracking, event pipelines, product analytics tools and warehouses. Server-side events are more reliable for important actions. Choices here decide cost, privacy and what questions are easy to answer.
Why it matters for a product engineer
Where events start, how they travel and where they land decide what the data costs, how private it is and which questions are easy to answer. A product engineer who designs this path can make important events reliable, keep personal data out, and change analytics tools later without rewriting the product.
How to do it
- Send important actions from the server, such as a payment or a completed signup. Browser events get blocked, lost or duplicated.
- Keep browser tracking for what only the browser sees: views, clicks, scrolls and performance.
- Send all events through one module of your own, so you can validate, remove personal data and switch tools in one place.
- Give every event a schema, and validate it on arrival.
- Store raw events in a warehouse you control, and send copies to the analysis tools you need.
- Decide retention and access early: who can query what, and for how long.
Common mistakes
- Each team adds its own SDK, so events and identities split.
- Important conversions tracked only in the browser.
- Personal data in event properties, copied to every downstream tool.
- No way to replay or fix events after a bug.
Example
Wikimedia runs its events, analytics included, on a shared Event Platform. Every event has a schema, kept in a schema repository. An intake service called EventGate accepts events over HTTP, validates each one against its schema, and sends it to its stream in Kafka. From there, events reach the data lake for analysis, and stream processing jobs can react to them.
Wikimedia's Event Platform, simplified
Validation happens once, at the entrance. Every tool after it can trust the shape of the data.
ReportedWikitech, Event Platform
Sources: Event Platform (Wikitech) ↗
Resources
3- docsStart here
Planning a full installation ↗
Twilio Segment docs · 12 minA practical walk through deciding what to track, with a tracking plan template and the reasons behind each choice.
- docsStart here
Plan your taxonomy ↗
Amplitude docs · 2026 · 8 minHow to go from business questions to a small set of events and properties, with naming advice.
- articleStart here
Naming conventions: why you need them for clean data ↗
Twilio Segment · 2026 · 15 minExplains the object-action naming pattern and shows how messy event names break analysis later.
Tools
2- ToolFreemium
Twilio Segment
Collects events once and sends them to analytics, marketing and warehouse tools, with tracking plan enforcement.
- ToolOpen source
RudderStack
Customer data pipeline that collects events and routes them to a warehouse and other tools, with an open-source core.