Hi fellow Brazilian 👋
I could not find a simpler way to do redirect tests so I created a feature flag that enable the redirect and I run a manual test that redirects the user doing the redirect
👋 1
straight-whale-38038
10/18/2023, 1:47 PM
something like
enableRedirectTest -> boolean
if(enableRedirectTest) {
growthbook.run()
}
🙌 1
f
fresh-football-47124
10/18/2023, 4:58 PM
I’ve seen some use json or string feature flags, and then in the SDK code they add, check for the values and see if they start with http, and then do the redirect if so (and it doesn’t mach the current url).