How do you map Amplitude users to your internal user records, given that Amplitude assigns its own unique user ID and user credentials are not directly visible in session recordings?
Hey @Ankit001, have you checked out the documentation about tracking unique users?
In Amplitude, users are tracked with three IDs: device_id, user_id (the stable ID you send), and an amplitude_id that Amplitude generates to stitch identity together. If events come in anonymously (only device_id), Amplitude assigns an amplitude_id. When you later start sending a real user_id for that same device (e.g., after login), Amplitude associates the prior anonymous activity with that same user going forward. The best practice is to set a consistent user_id as soon as you know it and use it across devices/sessions so you can map Amplitude users back to your internal user records.
device_id
user_id
amplitude_id
Session Replay typically won’t expose “credentials” (and may mask form inputs), so the right way to identify the person in a replay is by ensuring you’re sending user_id (and/or an internal ID as a user property) rather than trying to read identity from the recording.
Hope this helps!
Hi Beth, Thank you for the response. I will get the developer team to make the necessary changes for user_id.
Hi Beth, I have told my developer team to work on sending the unique user id to amplitude after login success but they are having some trouble setting it up as amplitude is not catching the unique id's in the session even after they have updated the code. Just wanted to confirm if this action is possible with starter plan as well or this can only be done with a higher plan?
User identity is core to Amplitude and is available on all accounts. This resource from our Academy might come in handy.
We're losing user journey tracking when anonymous users switch devices during our sign-up flow. Our typical flow: anonymous user visits homepage on desktop → clicks Sign Up → redirects to Auth0 for registration → user verifies email on mobile (creating a new anonymous user ID) → returns to desktop to complete sign-up and…
Clicking ‘Mark all 7 as read’ is not doing anything to clear my alerts MacBook Air 14-inch M4 macOS: 15.5 Browser: Chrome Version 136.0.7103.114
Reality Beyond Dreams is a team of impact producers. At the heart of every film we produce, and every campaign that we design, are the core principles of Social Impact Entertainment. We are dedicated to creating cinematic projects that promote https://realitybeyonddreams.com/
Hi everyone, I’m working on adding Amplitude to a single mobile application serving multiple countries. Inside the app, users are shown a country selector panel (e.g., Egypt, Turkey, UAE, etc.), which determines the localized experience they will receive — each country has its own UX flow and logic. The client wants…
I have installed Amplitude via Google Tag Manager and looks like the user ID is not being set. I have installed 2 tag from GTM. * Tag type as init * Tag type as setUserId Still say Anonymous user