Sub topic 1
Events and properties: what the reports are built from
Prerequisites
Assume you know that product analytics records user actions as events and that users can have attributes attached to them. You should also have access to an Amplitude or Mixpanel project with event data. The examples use JavaScript, but you can apply the same model without writing code.
Funnel, cohort, and retention reports do not begin with charts. They begin with event records. An event is a named occurrence, such as Sign Up Started, Search Performed, or Subscription Started. Each record normally includes a user identity, an event name, a timestamp, and additional properties.
A property is a key-value detail attached to an event or a user. For example, a Sign Up Started event might have plan: "pro" and source: "pricing_page". These details let a report filter or compare users without creating a separate event name for every variation.
| Field | Example | Why it matters |
|---|---|---|
| User identity | `user_123` | Connects events to one person |
| Event name | `Sign Up Completed` | Defines the action or funnel step |
| Event time | `2026-11-27 10:15` | Establishes order and time intervals |
| Event property | `plan: pro` | Describes the event context |
| User property | `country: CA` | Describes the user across events |
Events are the raw actions
Choose event names that describe completed or observable actions. Checkout Viewed and Payment Submitted are usually more useful than a vague event such as Button Clicked, because the names match product behavior.
Keep names stable. A report that uses Sign Up Completed will break or become misleading if the tracking code later changes the name to Signup Complete. Define an event dictionary that records each event's meaning, triggering condition, and properties.
Event properties describe what was true when the action happened. A Purchase Completed event might include:
product_idplanpricecurrencycheckout_method
Use properties for meaningful analysis, not for every value visible on the screen. Avoid putting personally identifying information, such as an email address, into analytics properties unless your privacy and data-retention rules explicitly allow it.
Here is a two-event example using the Amplitude browser SDK:
import * as amplitude from '@amplitude/analytics-browser';
amplitude.init('YOUR_AMPLITUDE_API_KEY');
amplitude.setUserId('user_123');
amplitude.track('Sign Up Started', {
plan: 'pro',
source: 'pricing_page'
});
amplitude.track('Sign Up Completed', {
plan: 'pro',
source: 'pricing_page'
});These events can become the first and second steps of a funnel. The shared plan and source properties can later be used to compare conversion for different plans or acquisition sources.
User properties and event properties differ
An event property belongs to one occurrence. If a user changes their plan, old events should retain the plan that was true when each event occurred. A user property describes the user's current or known state, such as account type, country, or lifecycle stage.
This difference affects historical reports. Suppose a user was on a free plan when they signed up and upgraded later. A funnel broken down by the event property plan can show the plan at signup. A breakdown by the current user property may place that same user in the paid segment. Both results can be valid, but they answer different questions.
How reports use the records
A funnel selects users who performed named events, orders those events by timestamp, and calculates how many users reached each step. A cohort selects users according to a rule, such as “performed Purchase Completed at least twice” or “has country equal to Canada.” A retention report then measures whether users return or perform a chosen event after an initial date.
The quality of every report depends on the underlying records. Missing events create false drop-off. Duplicate events can inflate counts. Inconsistent user IDs can split one person's journey into several identities. Before interpreting a percentage, inspect the event definition, timestamp, identity rule, and relevant properties.
Exercise
A signup funnel shows a large drop between Sign Up Started and Sign Up Completed. What should you check in the raw event design before concluding that users abandon signup?
Show answer
Check whether the completion event fires on every successful path, whether both events use the same user identity, whether timestamps are recorded correctly, and whether the event names or required properties changed.