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

Users Duplicated Across Subdomains #86

Open
andreemic opened this issue Apr 6, 2023 · 1 comment
Open

Users Duplicated Across Subdomains #86

andreemic opened this issue Apr 6, 2023 · 1 comment

Comments

@andreemic
Copy link

andreemic commented Apr 6, 2023

Hey, I'm using Splitbee to track users across website.com (landing page) and app.website.com (webapp).

Here's the flow of one user in which a user ends up being tracked up to 4 times.

  1. User comes to website.com (tracked as a new user from real source)
  2. User navigates from website.com to app.website.com through a "login" button (tracked as a new user from website.com source)
  3. User signs up, sign up event is tracked (tracked as a new user!)
  4. splitbee.user.set is called and user goes on to use app.website.com (tracked as a different identified user with email, user id, etc.)

So in one flow a single user gets tracked 4 times!
I want the user to be tracked once and once they log in, turn that anonymous user into the identified one.

My setup:

@andreemic
Copy link
Author

Live example:
1.
Screenshot 2023-04-06 at 14 29 24
2.
Screenshot 2023-04-06 at 14 29 28
3.
Screenshot 2023-04-06 at 14 29 33

Screenshot 2023-04-06 at 14 29 41

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