splitbee-js
splitbee-js copied to clipboard
Users Duplicated Across Subdomains
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.
- User comes to
website.com(tracked as a new user from real source) - User navigates from
website.comtoapp.website.comthrough a "login" button (tracked as a new user fromwebsite.comsource) - User signs up,
sign upevent is tracked (tracked as a new user!) splitbee.user.setis called and user goes on to useapp.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:
- React, Next.js
- Next.js proxy
- Runs in parallel with GA
Live example:
1.
2.
3.
