Skip to content

TSClaimedUserIdType

Specifies the type of the claimed user ID passed in TSActionEventOptions. This helps Mosaic correctly interpret and correlate the identifier across sessions and action events. Pass the string value.

Members

MemberValueDescription
email"email"Email address
username"username"Username
phoneNumber"phoneNumber"Phone number
accountId"accountId"Account ID
ssn"ssn"Social Security Number
nationalId"nationalId"National ID
passportNumber"passportNumber"Passport number
driversLicenseNumber"driversLicenseNumber"Driver's license number
other"other"Other identifier type

Usage

cordova.drs.triggerAction('login', {
  claimedUserId: '91e25bea0c...', // hashed email
  claimedUserIdType: 'email'
});