Identify Users
Identify a user
Each time a page loads for a user you can identify, you'll want to call the FS.identify function to associate your own application-specific id with the active user.
Parameters
uid String required
A string containing your unique identifier for the current user.
userVars Dictionary optional
A Dictionary with key/value pairs that provides additional information about your user.
Re-identification
Fullstory doesn't let you change the identity of a user once they have been assigned a unique user
ID using FS.identify
. If you attempt to change the user id of an identified user, Fullstory will
recognize the new user ID and automatically split the session into a new session.
Limits
- Sustained calls are limited to 12 calls per minute, with a burst limit of 5 calls per second.
Additional Information
- Identifying users
- If you only want to pass in
userVars
you can use the FS.setUserVars function. - Can I change a user's identity using FS.identify?
- userVars name requirements
- userVars value requirements
- Objective-C
- Swift
[FS identify:(NSString *)uid userVars:(NSDictionary *)userVars
Example Invocation
NSMutableDictionary *userVars = [NSMutableDictionary dictionary];
userVars = @{
@"email": @"user1@example.com",
@"displayName": @"Shopping User"
};
[FS identify:@"462718483" userVars:userVars];
FS.identify(uid, userVars)
Example Invocation
let userId = "13ff474bae77" // <- replace with your user’s Id
let info = [
"email": "user1@example.com",
"displayName": "Shopping User"
]
FS.identify(userId, userVars: info)