Identify your users
To effectively manage your contacts, we advise usingcordova.plugins.GleapPlugin.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 cordova.plugins.GleapPlugin.updateContact()
. This method allows for seamless real-time updates to contact details.
Identify your user by calling the following method.
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 usingcordova.plugins.GleapPlugin.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 cordova.plugins.GleapPlugin.updateContact()
. This method allows for seamless real-time updates to contact details.