Links
Comment on page

updateUserId()

Change to a new user in your Feathery session or update the existing user's ID
Function that changes the current user session to the new ID specified.
Parameter
Type
Description
newUserId
string
New user ID to change to
merge
boolean (optional)
If merge is false or not specified, the user session will be changed. If merge is true, the old and new user sessions will be merged into a single session. This means data like field values and user metrics will also be merged.