Gleap
Search…
πŸ”
User identity
The Gleap identify call lets you tie a user to their feedback items. It includes a unique User ID and optional meta information such as email & name.

Identify your users

Identify your user by calling the following method. Usually you do so after the login process of your app.
1
Gleap.identify('12334', {
2
name: 'Franzi',
3
4
});
Copied!
Gleap defaults to guest sessions when feedback items get reported without calling the identify method first. All feedback items of an existing guest session are merged with the user session once you've identified it.

Clear the identity on logout

We recommend to clear the identity once the user logs out. Clearing the identity will automatically detach the current session and create a new guest session.
1
Gleap.clearIdentity();
Copied!
Last modified 1mo ago