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

colossal-alligator-31194

01/02/2023, 6:18 PM
Hey. I just started working with GrowthBook. I have a
feature
with an Experiment Rule. (A = 90%, B=10%) When I log useFeature response I get
weights
and
variations
like below. But what I want is to have the name of the variation like A and B. Is this possible ? Thanks in advance for your help!
f

fresh-football-47124

01/02/2023, 8:33 PM
We currently donโ€™t return the name of the variations in the feature request, instead we use the IDs
you can map from the id to name if you need using the API
๐Ÿ‘€ 1
c

colossal-alligator-31194

01/03/2023, 2:29 PM
Thank you, my problem was I should've chose other type ( string ) for my feature. Thanks again ๐Ÿ™‚ ๐Ÿ™
3 Views