Identify your users
To effectively manage your contacts, we advise usingGleap.identify() each time a user signs in or registers. This practice ensures accurate identification of your contacts from the outset. Additionally, for scenarios where contact information needs to be updated during active usage – such as when a user subscribes to a new plan or modifies their existing data – we recommend utilizing Gleap.updateContact(). This method allows for seamless real-time updates to contact details.
Identify your user by calling the following method.
company object associates the user with a company. Only
company.id is required — it is your own identifier for the company. The
optional company.name is a fallback label and never overwrites a name set
authoritatively via the server-side Companies API.
The nested
company object requires SDK version 16.3.0 or later. On earlier
versions, pass the flat companyId and companyName properties instead —
they remain fully supported.When transmitting custom data, only primitive numeric and string values are supported for later use in segment filters.
Please note that you can send only 35 custom data keys with an identify call.We currently only allow JSON strings, numbers and boolean values as custom data.
Gleap defaults to guest sessions when feedback items get reported without
calling the identify method first. All feedback items of an existing guest
session will be merged with the user session once you’ve identified it.
Enforce identity verification
Enforce identity verification to prevent third parties from impersonating logged-in users. Learn how to generate the user hashUpdate contact properties
To effectively manage your contacts, we advise usingGleap.identify() each time a user signs in or registers. This practice ensures accurate identification of your contacts from the outset. Additionally, for scenarios where contact information needs to be updated during active usage – such as when a user subscribes to a new plan or modifies their existing data – we recommend utilizing Gleap.updateContact(). This method allows for seamless real-time updates to contact details.
Removing data
Update are run incrementally. If you want to remove data, you can do so by adding a key value pair withnull as value.