Identify users
import UserFlux from '@userflux/browser-js'
await UserFlux.identify({
properties: { email: 'johndoe@gmail.com', name: 'John' },
userId: '<USER_ID>' // replace <USER_ID> with your user's unique identifier
})import { useUserFlux } from "@userflux/browser-js-react"
const userFlux = useUserFlux()
await userFlux.identify({
properties: { email: 'johndoe@gmail.com', name: 'John' },
userId: '<USER_ID>' // // replace <USER_ID> with your user's unique identifier
})ufClient.identify({
properties: { email: 'johndoe@gmail.com', name: 'John' },
userId: '<USER_ID>' // // replace <USER_ID> with your user's unique identifier
});How identify works
Linking
Merging properties
Computed Properties
Workflow Checks
Best practices
Identify users as soon as possible
Set user properties as soon as you collect the information
Use unique strings for user IDs
User IDs are case-sensitive
Don't set the user ID if there isn't one
Don't assign a user ID that might change
Reset after logout
Last updated