Sub topic 12
Tracking Progress, Skipping, and Resuming
This chapter assumes you understand screens, forms, buttons, and basic product analytics events. It focuses on the state of an onboarding flow after a user leaves, skips a step, or returns on another device.
Model progress as user state
Onboarding progress is the information that tells the app which steps a user has handled. A step is completed when the user finishes its required action. A step is skipped when the user chooses to continue without doing it.
Keep these outcomes separate. They have different product meanings:
| State | Meaning | Example |
|---|---|---|
| Not started | The user has not handled the step | Profile setup has not opened |
| Completed | The user finished the step | The user added a profile photo |
| Skipped | The user chose not to do it now | The user selected “Not now” |
| Blocked | The user cannot continue yet | A required account field is missing |
A progress model should store durable state, such as completed and skipped step IDs. Do not infer progress only from the last screen viewed. A user might close the app halfway through a form, so “viewed” does not necessarily mean “completed.”
Compute the next step
Use one function to decide where the user should go. Centralizing this rule prevents different screens from making conflicting decisions.
type StepId = "welcome" | "profile" | "connect" | "done";
const steps: StepId[] = ["welcome", "profile", "connect", "done"];
interface OnboardingState {
completed: StepId[];
skipped: StepId[];
}
function nextStep(state: OnboardingState): StepId {
const handled = new Set<StepId>([...state.completed, ...state.skipped]);
return steps.find((step) => !handled.has(step)) ?? "done";
}
const state: OnboardingState = {
completed: ["welcome"],
skipped: ["profile"],
};
console.log(nextStep(state)); // connectWhen a user completes or skips a step, save the updated state before navigating away. The write should be idempotent, which means repeating the same write produces the same result. Sets, unique database constraints, or upsert operations help prevent duplicate progress records.
Let users skip safely
Skipping should be a deliberate choice, not a hidden escape route. Label the action according to its effect:
- Use “Not now” when the user can return later.
- Use “Skip” when the step will be marked as handled for this flow.
- Avoid “Continue” if it hides a decision to skip required setup.
Some steps can be optional, while others are required. The next-step function should enforce that distinction. A skipped optional step can be bypassed. A required step should remain blocked until its condition is satisfied.
Provide a visible way to revisit skipped work. A checklist, settings page, or contextual hint can show “Profile incomplete” without forcing the user back through the entire introduction.
Resume across sessions and devices
Save progress on the server when users can sign in on multiple devices. Local storage can provide a fast temporary copy, but it should not be the only source of truth for signed-in users.
Handle conflicts explicitly. If a user completes a step on one device and skips it on another, prefer the product rule you defined in advance. For many optional steps, either outcome can mean “handled.” For required steps, completion should usually take priority over a skip.
Record progress events separately from current state. Current state answers “where should the user go?” Events answer “what happened?” Together they support both reliable resumption and funnel analysis.
Exercise
A user completed “welcome,” skipped optional “profile,” and has not opened “connect.” Which step should the app show on resume?
Show answer
It should show “connect,” because “welcome” and “profile” are already handled.