Hi all,
i have a usecase, please let me know if anyone has a solution -
I have before login anonymous id of a user.
If the user is coming again but this time through login and we have the user id, anyway through which i can assign this user id the same bucket assigned to the anonymous id ?
Any way to achieve this through code ?
FYI, i am using java and don’t see support for sticky bucketing there.
f
fresh-football-47124
12/08/2024, 3:59 AM
Hi
fresh-football-47124
12/08/2024, 4:00 AM
you can set both the anon id and user id as two separate attributes
fresh-football-47124
12/08/2024, 4:00 AM
for targeting both anon and then later user id - just target to the anon id - so your experiments would be split by anon id
fresh-football-47124
12/08/2024, 4:00 AM
this will ensure that the user gets a consistent experience both sides of the login wall
s
square-restaurant-38765
12/13/2024, 10:34 AM
Hey @fresh-football-47124 The idea is anonymous id can change in our case. Is there a way to assign user id to same anonymous id cohort ? so that later user id can be used to get the cohort