witty-laptop-42616
05/21/2022, 4:08 PMfuture-teacher-7046
future-teacher-7046
witty-laptop-42616
05/21/2022, 5:40 PMfuture-teacher-7046
witty-laptop-42616
05/21/2022, 5:44 PMwitty-laptop-42616
05/22/2022, 9:42 AMwitty-laptop-42616
05/22/2022, 10:03 AMwitty-laptop-42616
05/22/2022, 10:07 AMfuture-teacher-7046
witty-laptop-42616
05/22/2022, 5:39 PMwitty-laptop-42616
05/22/2022, 5:49 PMgrowthbook.run()
?
i.e. sth like this
growthbook.run({
"defaultValue": 0,
"rules": [
{
"variations": [0, 1, 2],
"weights": [0.334, 0.333, 0.333],
"key": "rd005",
"hashAttribute": "id"
},
{ "condition": { "id": "123" }, "force": 1 }
]
});
future-teacher-7046
run
method just takes a single experiment definition. https://docs.growthbook.io/lib/js#inline-experimentsfuture-teacher-7046