purple-breakfast-88896
06/18/2025, 2:13 PMstrong-mouse-55694
06/18/2025, 3:13 PMpurple-breakfast-88896
06/19/2025, 6:25 AMorange-jordan-21834
06/23/2025, 10:02 AMstrong-mouse-55694
06/23/2025, 3:17 PMconst useNewCheckout = gb.isOn('new-checkout')
if (useNewCheckout) {
return <NewCheckout />
} else {
<OldCheckout />
}
becomes:
<NewCheckout />
2. When you stop the experiment, you can choose your winner and then enable the temporary rollout. This will direct all traffic to the winning variation. This is the easiest way to do it. If you can reach a point where all users have upgraded, then you could delete the experiment altogether. "Start new phase" is intended for starting a new experimentation phase (if you need to change the experiment), so it's not the right choice here.orange-jordan-21834
06/25/2025, 7:58 AMstrong-mouse-55694
06/25/2025, 11:18 AMorange-jordan-21834
06/25/2025, 11:24 AMstrong-mouse-55694
06/26/2025, 7:50 PMorange-jordan-21834
06/30/2025, 12:35 PMstrong-mouse-55694
06/30/2025, 11:09 PMorange-jordan-21834
07/01/2025, 5:53 AMorange-jordan-21834
07/02/2025, 8:50 AMstrong-mouse-55694
07/02/2025, 1:41 PMstrong-mouse-55694
07/02/2025, 1:42 PMorange-jordan-21834
07/02/2025, 1:43 PMorange-jordan-21834
07/03/2025, 5:51 AMstrong-mouse-55694
07/03/2025, 1:21 PMorange-jordan-21834
07/03/2025, 1:27 PMorange-jordan-21834
07/03/2025, 1:27 PMorange-jordan-21834
07/03/2025, 1:27 PMstrong-mouse-55694
07/03/2025, 2:12 PMorange-jordan-21834
07/07/2025, 7:05 AMexport interface InitResponse {
// If a payload was set
success: boolean;
// Where the payload came from, if set
source: "init" | "cache" | "network" | "error" | "timeout";
// If the payload could not be set (success = false), this will hold the fetch error
error?: Error;
}
our gb context have features in similar schema as they shared. which is populated from api call from gb sdk.orange-jordan-21834
07/07/2025, 8:30 AMstrong-mouse-55694
07/07/2025, 2:45 PMorange-jordan-21834
07/08/2025, 11:25 AMsilly-vase-69991
07/08/2025, 11:33 AMsilly-vase-69991
07/08/2025, 11:38 AMstrong-mouse-55694
07/08/2025, 2:08 PMsilly-vase-69991
07/08/2025, 2:23 PM<https://cdn.growthbook.io/api/features/sdk-XXXXXXX>
as you suggested.
Feature key is
first-order-promo
I also attached feature rules.strong-mouse-55694
07/08/2025, 2:35 PM"first-order-promo": {
"defaultValue": "uspPromocodeText50",
"rules": [
{
"condition": {
"total_completed_orders": 0,
"signup_date": {
"$gt": "2025-05-02T00:00"
}
},
"coverage": 1,
"hashAttribute": "id",
"seed": "773e74c3-f235-46f1-85de-f7877e75f03d",
"hashVersion": 2,
"force": "uspPromocode65Exp"
}
]
},