Hello, I just started an experiment (about 15 mins ago), but it's not showing in the js SDK under
gb.context.experiments
, is there a delay I should be aware of? or should I be concerned that something isn't working properly
f
fresh-football-47124
08/08/2023, 6:04 PM
it should be almost instant
t
thankful-minister-34216
08/08/2023, 6:06 PM
hm ok, so I must have set something up wrong. is it a requirement to have a feature flag with a matching key in order to trigger the experiment? i.e. if I have an experiment with key
buy_with_prime
would it require a flag with the same key to work?
thankful-minister-34216
08/08/2023, 6:13 PM
ah it seems like it... instead of looking at
gb.context.experiments
i should be looking at
gb.features.feature_key.rules
right?
f
fresh-football-47124
08/08/2023, 7:13 PM
yes
fresh-football-47124
08/08/2023, 7:13 PM
I think the experiments object is for inline experiments