Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Profile not created #447

Open
Velenir opened this issue Sep 12, 2024 · 0 comments
Open

User Profile not created #447

Velenir opened this issue Sep 12, 2024 · 0 comments

Comments

@Velenir
Copy link

Velenir commented Sep 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant