Open the console

Per-user progress for anonymous visitors

Onboarding often starts before signup. Here is how to track checklist progress for a visitor who has no account yet, without losing it at sign-up.

Per-user progress for anonymous visitors

A checklist keyed on a user id works cleanly once a user has an account. The problem is that a lot of products want to show onboarding progress before the user signs up — a free-tool flow, a demo sandbox, a setup wizard that runs before the account exists. If the only identity your checklist understands is an account id, that pre-signup progress has nowhere to live.

Use an id you control, not an account id

The checklist state API does not require the userId you pass it to correspond to a real account — it is just the key progress is stored under. A visitor who has not signed up yet can still have a stable id: generate one client-side on first visit, store it (a cookie or localStorage), and use it as userId for every checklist call before the account exists.

const anonId = localStorage.getItem('gs_anon_id')
  ?? crypto.randomUUID();
localStorage.setItem('gs_anon_id', anonId);
// use anonId as userId until the account exists

The part that actually matters: merging at signup

An anonymous id is only useful if its progress survives the moment the visitor becomes an account. At signup, re-point the checklist at the new account id by completing the same steps again under that id — reading the anonymous progress first (GET /api/gs/v1/state with the anonymous userId) and replaying each completed step against the new one. There is no built-in merge; this is a deliberate design choice, because a silent automatic merge based on, say, a shared IP or device fingerprint would be the kind of identity assumption that is wrong often enough to cause real support tickets.

Where this breaks if you skip it

Skip the merge step and the visitor who did three of five setup steps before signing up sees an empty checklist right after signing up — the worst possible moment for the product to look like it forgot them. That is a bigger trust cost than not offering pre-signup progress at all, so if you cannot build the merge step reliably yet, it is more honest to keep the checklist behind the signup wall until you can.

What this is not for

This is not a way to onboard a user who refuses to ever create an account. The anonymous id is a bridge to a real account, not a substitute for one — progress tied only to a browser's local storage disappears the moment that storage is cleared or the visitor switches devices, which a working checklist generally should not do.

What to measure instead of guessing

Nobody should claim a specific signup-rate lift from offering pre-signup progress without having A/B tested it on their own funnel — that depends entirely on how much of the setup work genuinely happens before signup in a given product. What is worth tracking: the completion rate of steps finished anonymously versus steps finished after signup, which tells you whether the pre-signup flow is pulling its weight or just adding complexity nobody uses.

See the docs for the state and complete endpoints referenced above, and the live preview for a checklist instance you can inspect.

Try it on your app