Is setting username/email as Mixpanel unique id a good practice?

  • 1 October 2021
  • 0 replies

The stage setup:

++ In my app users have associated usernames and emails. Both attributes are unique.

++ Usernames can be freely changed. Email, with a little effort, too.

++ User IDs are technically UUIDs. Which are fantastic for many reasons. Yet they are an eyesore, especially when analyzing. Also, in some scenarios it would be just easier to immediately see username instead of their distinct_id (UUID).


  1. Is it a good practice to call identify() with unique username or email?
  2. If the instability of username or email is a problem, why so? What could be the resulting problems?
  3. Is it better to call username/email with alias? If so, why?
  4. Is it better to call username/email as user_profile (people.set())? If so, why?

0 replies

Be the first to reply!