Anonymous to Known
PostHogCapture a PostHog anonymous distinct_idbefore Auth0 login, then merge the pre-auth browsing journey into the authenticated user profile after callback — retroactive analytics attribution, no API access involved. See also: Auth0 Anonymous Sessions, which solves the other half of this problem — authenticated API access before login.
1. Browse anonymously
→2. Auth0 login / signup
→3. Identity resolved
Demo Storefront
Click products to fire view_item events, add to cart for add_to_cart
0
Ready to create an account?
Your anonymous session will be linked to your new Auth0 account.
distinct_id (anonymous)
initialising…
Event stream
No events yet — interact with the storefront above
Use a new @atko.email address on the Auth0 signup screen to create a fresh account.
