HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center
API Reference

User Data

User data is used to add chunks of information to a user so that it's sent to the dashboard with the reports. Each call to this API overwrites the previous data added. This method takes a string argument.

let profileDetails = user.allProfileDetails()
let profileDetailsString = "\(profileDetails)"
Luciq.userData = profileDetailsString
NSDictionary *profileDetails = [user allProfileDetails];
NSString *profileDetailsString = [NSString stringWithFormat:@"%@", profileDetails];
Luciq.userData = profileDetailsString;
Luciq.setUserData("User data");
Luciq.setUserData("User data")
Luciq.setUserData("User data sample");
Luciq.setUserData("User data sample");
Luciq.setUserData(
    'user_data',
);
//iOS
Luciq.SetUserData("user_data");

//Android 
Luciq.UserData = "User data";