https://www.growthbook.io/ logo
r

rhythmic-chef-84815

12/02/2022, 7:24 AM
Hello Again I would appreciate some help to understand something, I see that we have the possibility of using forceVariation method but I wonder how it exactly works. Does it force the variation for the feature for all users? Can we force a variation per users? In this case we would split the traffic, I imagine this is possible I just could not find the correct function there yet I think.
f

fresh-football-47124

12/02/2022, 7:26 AM
If you were to check in code with forceVariation() it would serve that variation to all users
What are you trying to do? splitting by specific groups?
r

rhythmic-chef-84815

12/02/2022, 7:28 AM
That is what I thought exactly. To make it simple, we would dictate which group each user is, can we do that?
f

fresh-football-47124

12/02/2022, 7:29 AM
sure, you can do that via attributes
how many users are we talking about?
r

rhythmic-chef-84815

12/02/2022, 7:30 AM
To give you a number lets say 24k total
f

fresh-football-47124

12/02/2022, 7:30 AM
okay, how would you like to split them?
r

rhythmic-chef-84815

12/02/2022, 7:31 AM
we have a business rule here that we would use, if they have done an action or not
f

fresh-football-47124

12/02/2022, 7:32 AM
is that data available to the SDK?
r

rhythmic-chef-84815

12/02/2022, 7:32 AM
yeap, we could send it there
f

fresh-football-47124

12/02/2022, 7:34 AM
so I would create a custom attribute, probably boolean, and target a feature using that attribute
r

rhythmic-chef-84815

12/02/2022, 7:35 AM
but then how would this affect the traffic split? I do not think this would work the way we are expecting
f

fresh-football-47124

12/02/2022, 7:35 AM
do you want to do it as an experiment?
r

rhythmic-chef-84815

12/02/2022, 7:35 AM
when we use a target attribute, don't we basically say which users participate in the experiment and which don't?
f

fresh-football-47124

12/02/2022, 7:36 AM
ooh, okay - are the users who do this action to be included in the experiment?
r

rhythmic-chef-84815

12/02/2022, 7:36 AM
all users are, we want to force the variation based on this action
f

fresh-football-47124

12/02/2022, 7:37 AM
that will mess up the reliability of A/B test
r

rhythmic-chef-84815

12/02/2022, 7:37 AM
That is exactly what I was afraid, but in any case, do you guys support that already?
f

fresh-football-47124

12/02/2022, 7:40 AM
there are a few ways to do this - would you like to hop on a quick call?
r

rhythmic-chef-84815

12/02/2022, 7:40 AM
Sure
how do you want to do it?
f

fresh-football-47124

12/02/2022, 7:44 AM
I’ll dm you
2 Views