Sub topic 13
Measuring Onboarding with a Funnel
Prerequisites and the activation event
This chapter assumes you understand screens, forms, buttons, and basic product analytics events. An analytics event is a record that something happened in the app, such as a user completing a profile step.
A funnel measures how many distinct users reach each ordered step in a journey. For onboarding, the funnel should lead to an activation event: the first action that shows the user received real value. For a project-management app, activation might be created_first_project, not merely completed_tour.
Define the journey before choosing events:
signup_completedworkspace_createdinvited_teammatecreated_first_project
Each event should include a stable user ID, an event name, a timestamp, and useful context such as platform or user segment. Use the same names and meanings across releases.
interface OnboardingEvent {
userId: string;
name: string;
occurredAt: string;
platform: "web" | "ios" | "android";
}
const events: OnboardingEvent[] = [
{ userId: "a", name: "signup_completed", occurredAt: "2026-11-01T10:00:00Z", platform: "web" },
{ userId: "a", name: "workspace_created", occurredAt: "2026-11-01T10:02:00Z", platform: "web" },
{ userId: "b", name: "signup_completed", occurredAt: "2026-11-01T10:01:00Z", platform: "ios" },
];
function funnelCounts(
events: OnboardingEvent[],
order: string[]
): Record<string, number> {
const usersByStep = new Map<string, Set<string>>();
for (const event of events) {
if (!usersByStep.has(event.name)) {
usersByStep.set(event.name, new Set());
}
usersByStep.get(event.name)!.add(event.userId);
}
return Object.fromEntries(
order.map((step) => [step, usersByStep.get(step)?.size ?? 0])
);
}
console.log(
funnelCounts(events, [
"signup_completed",
"workspace_created",
"created_first_project",
])
);
// { signup_completed: 2, workspace_created: 1, created_first_project: 0 }The Set counts each user once, even if a user repeats an action. Without distinct-user counting, retries or page refreshes can make conversion appear higher than it is.
Reading the funnel
A step conversion rate is the number of users reaching a step divided by the number who reached the previous step. Overall activation rate divides activated users by users who entered onboarding.
| Step | Users | Conversion from previous step |
|---|---|---|
| Signup completed | 1,000 | 100% |
| Workspace created | 820 | 82% |
| First project created | 510 | 62% |
The largest drop identifies where to investigate first. It does not prove the interface caused the drop. Compare the result by platform, acquisition source, account type, and app version. A mobile-only drop may indicate a layout or performance problem. A drop for invited users may indicate that the flow assumes the wrong intent.
Use a consistent cohort, such as users who signed up during one week. Otherwise, later steps have less time to occur, and recent users make the funnel look artificially weak.
Designing a useful funnel
Track both completion and abandonment. If users can skip or resume onboarding, record step_skipped, onboarding_resumed, and the step ID. Treat a skipped optional step differently from an error or a user who never returned.
Before shipping a change, write the expected metric and guardrails. For example, “Increase first-project activation within seven days without increasing account deletion.” Compare a control group with the new experience, keep the event definitions unchanged, and wait for the planned observation window.
Exercise
A funnel shows 900 users completing signup, 720 creating a workspace, and 360 creating a first project. What are the workspace conversion and overall activation rates?
Show answer
Workspace conversion is 720 / 900 = 80%. Overall activation is 360 / 900 = 40%.