What is the right way to implement tracking for People properties in JS? The documentation states:
In order to send profile updates, you must call mixpanel.identify. The Mixpanel library does not automatically create people profiles for any user that performs an event; you have to explicitly call mixpanel.identify, which empowers you to only create profiles for registered users.
But in the examples, identify() is called before people.set() and sometimes it's after. Or not at all.
- What is correct sequence of calls?
- Does identify() have to be called every time you want to change a property? Or just once per Profile?
- If identify() was already called for this Profile, do you just call it again with the same id?
- What if this Profile was created with alias()?