Link anonymous → known users
Stitching pre-login activity to the post-login user, including multi-device.
What's happening under the hood
Day 1 14:00 $pageview anon=u_abc user=NULL source=facebook/paid
Day 1 14:02 clicked_pricing anon=u_abc user=NULL source=facebook/paid
Day 5 09:30 $pageview anon=u_abc user=NULL source=direct/direct
Day 7 11:14 $identify anon=u_abc user=user_42 ← here
Day 7 11:14 signup anon=u_abc user=user_42
Day 9 16:22 feature_used anon=u_abc user=user_42Step 1 — call /v1/identify on signup or login
From the browser
import { identify } from "@millimetric/track";
// after your auth flow resolves
identify(user.id, { email: user.email, plan: user.plan });From the server (recommended for signups)
Step 2 — use the same anonymous_id post-login
Step 3 — stitch in queries
3a. First-touch source per user
3b. Pre-login behaviour for one user
3c. Time-to-conversion per user
Multi-device
When NOT to call identify
Moment
Identify?
Common pitfalls
See also
Last updated
Was this helpful?