How to identify users? 👥
The Noticeable Identify call lets you tie a user to their actions and record traits about them. It includes a unique User ID and some optional traits you know about the user, like their avatar, email, and name.
Noticeable recommends that you make an identify call before rendering your first widget. Using our JavaScript SDK, a typical call looks as follows:
The first parameter to identify is your project identifier on Noticeable. The second parameter is an object containing user traits. Traits are pieces of information you know about a user. For now, we allow a limited number of trait fields:
id (required): Unique ID in your database or anonymous ID for a user. This must be unique and consistent across a user's lifetime: do not use an email address or a username that can change over time.
avatar (optional): URL to an avatar image for the user.
email (optional): Email address of a user.
name (optional): User display name.
You must call noticeable.identify(...) before any call to noticeable.render('widget', ...).
Identifying users through the Noticeable Identify call allows you to connect a user's actions, such as leaving feedback or comments, with a user account on your side, providing valuable context for issue resolution. For instance, if a user reports a bug, you can identify the plan they are on by linking their comment to their customer account.
Moreover, user identification is also essential for enabling cross-device synchronization, where users can have a seamless experience across multiple devices.
Configuring user identification
Noticeable recommends that you make an identify call before rendering your first widget. Using our JavaScript SDK, a typical call looks as follows:
noticeable.identify('PROJECT_ID', {
id: 'a8ONg9xpnGmSg', // your unique user ID
avatar: 'https://acme.com/john.png', // optional
name: 'John Doe', // optional
email: 'john.doe@acme.com' // optional
});
The first parameter to identify is your project identifier on Noticeable. The second parameter is an object containing user traits. Traits are pieces of information you know about a user. For now, we allow a limited number of trait fields:
id (required): Unique ID in your database or anonymous ID for a user. This must be unique and consistent across a user's lifetime: do not use an email address or a username that can change over time.
avatar (optional): URL to an avatar image for the user.
email (optional): Email address of a user.
name (optional): User display name.
You must call noticeable.identify(...) before any call to noticeable.render('widget', ...).
Why is it useful to identity users?
Identifying users through the Noticeable Identify call allows you to connect a user's actions, such as leaving feedback or comments, with a user account on your side, providing valuable context for issue resolution. For instance, if a user reports a bug, you can identify the plan they are on by linking their comment to their customer account.
Moreover, user identification is also essential for enabling cross-device synchronization, where users can have a seamless experience across multiple devices.
Updated on: 02/22/2023
Thank you!