Identify users

Identify your users to better understand your dashboard data and prevent duplicate users.

At Jimo, we care for the privacy of your users. Therefore, it's not required to identify them before giving feedback. But from your side, this can be annoying to receive feedback from an anonymous user.

Jimo allows you to identify users by passing a unique identifier in order to

  • Know who has interacted with experiences

  • Prevent duplicate users

To identify users, make sure to have the SDK installed on your web app then use the following command:

window['jimo'].push(['do', 'identify', [userId]]);

If you'd like to pass additional attributes right after the identify, you will have to use a callback function as follow:

window['jimo'].push([
  'do',
  'identify',
  [
    userId,
    () => {
      window['jimo'].push(['set', 'user:name', [username]]);
    },
  ],
]);

Examples

See bellow a screenshot of a profile without identification and one with an id (b7b8c565...) and a user name (Sam) pushed.

Without identify
With identify

Here is the code used to identify the profile

window['jimo'].push([
  'do',
  'identify',
  [
    "b7b8c565-65a0-4dbd-8438-3b8c8773f49f",
    () => {
      window['jimo'].push(['set', 'user:name', ["Sam"]]);
    },
  ],
]);

Last updated

Was this helpful?