User Identification

User identifier

User identifier can be specified by calling:

SmartlookUnity.Smartlook.SetUserIdentifier(string userIdentifier);

📘

Identifiers can be found in the Dashboard and are very useful for finding specific user’s recordings.

User properties

Additional custom properties can be added by calling:

public class PlayerState : MonoBehaviour
{
    public string playerName;
    public int lives;
    public float health;
}
...
SmartlookUnity.Smartlook.SetUserIdentifier("played_id", JsonUtility.ToJson(somePlayerStateInstance));

These properties can be seen in the Dashboard at Visitor details.