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