https://www.growthbook.io/ logo
#announcements
Title
# announcements
h

helpful-carpenter-3208

11/04/2022, 5:46 PM
Hi GB team~ We met a problem of user being assigned to different variations in this case: • User open our signup website first page which we identified user using the
sessionID
• And we are running SSR to pre generate webpages for user which evaluate the GB feature result and send analytics event • Then user finished the signup and we identified user with new
userID
• user will be assigned to another variation because the id changed from sessionID to userID. How can we make user always assigned with the same group? we still want to use userID as the identifier for GB because we want to keep user in the same group in our following backend service logic.
f

fresh-football-47124

11/04/2022, 7:23 PM
Hi Herb - Since we don’t store state internally in the SDK, there’s currently no way to include anonymous users in a test, but also persist for user ids across devices.
You could pass the sessionID around and use that to ensure consistent bucketing
h

helpful-carpenter-3208

11/05/2022, 3:34 PM
ok. sounds like no way to solve this puzzle. thanks for clarify
f

fresh-football-47124

11/05/2022, 3:36 PM
There are work arounds
h

helpful-carpenter-3208

11/05/2022, 3:38 PM
is there a way to exclude the old variation from the experiments query? for example 2 variation events was triggered. but we just want to keep the latest one in the experiments query
13 Views