06.1.5 · Skill in Product instrumentation

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.

Your status · Analytics architecture

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

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

  1. Send important actions from the server, such as a payment or a completed signup. Browser events get blocked, lost or duplicated.
  2. Keep browser tracking for what only the browser sees: views, clicks, scrolls and performance.
  3. Send all events through one module of your own, so you can validate, remove personal data and switch tools in one place.
  4. Give every event a schema, and validate it on arrival.
  5. Store raw events in a warehouse you control, and send copies to the analysis tools you need.
  6. 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.

Flow

Wikimedia's Event Platform, simplified

ProduceValidateStreamUseApps andsitesBrowser and serverSchemasIn a repositoryEventGateValidates eacheventKafkaOne stream pereventData lakeAnalysisStream jobsReact to eventsProduceValidateStreamUseApps andsitesBrowser andserverSchemasIn arepositoryEventGateValidateseach eventKafkaOne streamper eventData lakeAnalysisStreamjobsReact toevents

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
Overview for Product instrumentation
  • docsStart here
    Planning a full installation ↗
    Twilio Segment docs · 12 min

    A 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 min

    How 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 min

    Explains 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.