Skip to content

User Profile not created #447

@Velenir

Description

@Velenir

In a webapp, when multiple users log in/log out one after another, only the first user receives a full User Profile in Mixpanel dashboard.

The flow:

  1. App is loaded
  2. mixpanel.identify(user1)
  3. POST request to https://api-js.mixpanel.com/engage/ happens
  4. mixpanel.reset()
  5. mixpanel.identify(user2)
  6. No POST request to /engage

Afterwards I only see User1 in the Mixpanel dashboard for Users with Profile, User2 doesn't have its profile filled in (most notably with location data), even though all its tracked events contain that kind of data.

It seems to me that after the first reset() call (including if I call reset() before the first identify()) , no more calls to /engage and no more full User Profiles happen.

Am I doing something wrong? Is there a bug in mixpanel-js?

Here's a sandbox with a reproduction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions