Event-Driven Data Architecture: Users, Events, Properties & Timestamps
Overview & Learning Objectives
Unlike old web counters that just recorded "Page Views", modern product analytics tracks everything as an Event. An event is an atomic sentence describing what happened: WHO did WHAT, WHEN did they do it, and WHAT were the specific details? In this lesson, you will master the 3 building blocks of analytics tracking: Users (the actors), Events (the actions), and Properties (the descriptive adjectives).
- Understand the 3 core pillars of event analytics: User Distinct ID, Event Name, and Event Properties.
- Differentiate between Event Properties (describing one single action) and User Profile Properties (describing permanent user traits).
- Learn why millisecond UTC timestamps are critical for tracking multi-step funnels.
Real-World Example: Writing School Diary Sentences: Noun, Verb, and Adjective
- Concept: Every user action is logged like a clean grammar sentence: Noun (User), Verb (Event), and Adjective (Property).
- Event Structure: Who acted (User ID), What occurred (e.g. `Song Played`), and Details (`Genre: Lo-Fi`, `Platform: iOS`).
- Analyst Value: Granular event properties let teams diagnose exactly why drop-offs happen rather than just seeing total counts.
Visual Infographic: The Anatomy of an Analytics Event Payload
ARCHITECTURE INFOGRAPHICdistinct_id: "usr_99812_mumbai"
event_name: "order_placed"
cart_total: 649, items_count: 4, store_id: "darkstore_koramangala"
timestamp: "2026-11-13T10:45:12.381Z" (UTC millisecond precision)
Industry Standard & Framework
Standard: Segment & Mixpanel Spec: Object-Action Event Data Specification Standard.
Real-World Business Application: Zepto Quick-Commerce Order Tracking Event Schema
Zepto tracks customer grocery checkouts to understand order velocity and basket composition across dark stores.
| Data Attribute | JSON Schema Key | Data Type | Real-World Example Value |
|---|---|---|---|
| User Identifier | `distinct_id` | String (UUID) | `usr_zepto_88319` |
| Action Name | `event` | String (Snake Case) | `checkout_completed` |
| Order Value | `properties.total_amount_inr` | Numeric (Float) | `582.50` |
| Item Count | `properties.sku_count` | Integer | `5` |
| Payment Method | `properties.payment_gateway` | Enum String | `"UPI_PHONEPE"` |
| Delivery Dark Store | `properties.dark_store_id` | String | `"BLR_INDIRANAGAR_04"` |
Step-by-Step UI Tutorial & Visual Workflow Guide
Below is the practical, non-technical walkthrough showing how Product Analysts design, review, and execute this capability inside real-world tools like Mixpanel, Google Analytics 4, BigQuery, and Google Tag Manager.
Step-by-Step Execution Workflow
EXECUTION PHASESQuestion: What percentage of grocery orders use instant UPI vs Cash on Delivery?
Specify `order_placed` event with property `payment_method: [UPI, COD, CARD]`.
Call `mixpanel.track("order_placed", { payment_method: "UPI", amount: 450 })` on success callback.
Open Mixpanel Live Stream / GA4 DebugView to verify payload fires with zero missing keys.
Create segmented breakdown bar chart for PM and Finance team.
Step-by-Step UI Tutorial: Inspecting Live Event Payloads in Mixpanel
In Mixpanel left sidebar, click "Data Management" -> "Events".
Click search bar and type `order_placed` to see incoming events firing from mobile devices.
Click on any event timestamp to expand the side drawer showing all associated event properties.
Confirm that `total_amount_inr`, `payment_gateway`, and `dark_store_id` contain valid values instead of `null` or `undefined`.
Event Property vs User Property Quick Reference Matrix
SCHEMA MATRIX| property Type | where Saved | example Key | update Frequency |
|---|---|---|---|
| Event Property | Attached to a single event row | `song_genre: "Lofi Beats"` | Fires every time action occurs |
| User Profile Property | Attached to user account profile | `subscription_plan: "Family Premium"` | Updates only when user status changes |
| System Property (Default) | Auto-collected by mobile SDK | `$browser`, `$os`, `$city`, `$app_version` | Captured automatically on every network call |
Implementation Guidelines for Product Analysts
- Always use lowercase snake_case for event names (e.g., `order_placed`, NOT `OrderPlaced` or `order Placed`).
- Never send Personally Identifiable Information (PII) like unhashed passwords or credit card numbers inside event payloads.
- Always include currency code when logging monetary values (`currency: "INR"`).
Practical Hands-On Exercises
- Write down 4 event properties you would attach to a `video_watched` event in Netflix.
- Explain why user age should be a User Property while search query text should be an Event Property.