Smartlook.setUserIdentifier('sample-identifier');
Smartlook.instance.user.setIdentifier('sample-identifier');
🚧
- An identifier cannot be null or left empty
- The maximum length is 120 characters.
Identifier documentation.
Smartlook.setUserIdentifier('user_id', { 'email' : '[email protected]', 'name' : 'John Doe'});
Smartlook.instance.user.setName('John Doe');
Smartlook.instance.user.setEmail('[email protected]');
User name & email documentation.
Smartlook.setUserIdentifier('user_id', { 'property_key' : 'property_value'});
Smartlook.instance.user.properties.putString('property_key', 'property_value');
🚧
- Cannot be empty or null.
- The maximum length is 200 characters.
- Can only contain alphanumeric characters, underscore (_), comma (,), period (.), and hyphen (-).
- Must start with an alphabetic character.
🚧
- The maximum length is 5 kilobytes.
User properties documentation.