Date of slack thread: 6/26/24
Anonymous: Can no one answer this question?
Jiakan Wang (Statsig): Hi <@U066WST9VCL> - sorry that we missed your question earlier. Yes you can target your experiment to only M gender users if you’d like, as long as you use our SDK to get the experiment assignment for each user, which is a requirement if you want to run experiments using Statsig anyways.
When you use the SDK in your app, you need to tell us about the user in the code, including their user ID, and any metadata / attribute that you know about them, including the gender if you’d like, so in this case your user could look like this
userID: '123',
custom: {
gender: 'M',
tier: 'pro',
}
}```
Then for your experiment, you can [target](https://docs.statsig.com/statsig-warehouse-native/features/targeting#how-to-target-experiments) only people whose gender is ‘M’, so that those who are not ‘M’ won’t be participating in the experiment.
**Anonymous:** Thanks for the response