Identifying anonymous users?
Identifying anonymous visitors might lead to extensive data consumption. Identify users only after they sign in.
Track signed-in users across sessions, replays, funnels, and errors. Once identified, all subsequent events from the browser are linked to that user, and the user shows up on the Users page.
Call betterstack('user', ...) after sign-in:
id, email, and username uniquely identify the user. Users are keyed by the first available value of id, email, and username.
You can add arbitrary custom properties, like plan in the example above. They're stored alongside the user data.
The association persists for the page session. To clear it at sign-out:
Identifying anonymous visitors might lead to extensive data consumption. Identify users only after they sign in.
user.id or user.username.We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.