https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
f

few-memory-16563

11/17/2023, 12:24 AM
apologies if this has been answered elsewhere but I was not finding the exact answer I'm looking for in the docs. If I want to set up a regular ol' experiment rule, but I want to force a handful of users into the variant for the experiment, is it possible? (not to force the feature flag value with a force rule - i specifically want them to be counted in the experiment metrics, and I just want to force their assignment)
f

fresh-football-47124

11/17/2023, 12:28 AM
There isn’t a super easy way to do this from our UI (it would be easier to do from code), though it is possible. What you can do is to set up two experiment rules - the first rule targets just to the users you want to put into one of the variants, and set that split to 100%. Then add the regular experiment targeted generally. The trick here is to set the experiment tracking tracking key to the same in both rules, so the data will be tracked to the same experiment. If the number of users you want to force is high, you may get SRM warnings too. FYI, usually not recommended for bias reasons.
f

few-memory-16563

11/17/2023, 12:33 AM
oh interesting. Ok this makes sense to me, and understood on the bias point. Thank you!
16 Views