Hey GB, have a couple Qs about how URL Redirect testing works.
Are there any functional differences to using the feature versus using our own feature-flag to do this? ex:
Copy code
const redirectPath = useFeature("a-b-test-redirect").value;
// in useEffect
if (redirectPath) router.push(redirectPath)
My understanding from the documentation would be “not really,” the first page is loaded, and then if a URL Redirect Test is live, the experiment assignment + re-route (if needed) occurs; so, users would need to be aware of any potential side effects from the default page.
Is that correct?
f
fresh-football-47124
07/23/2024, 2:42 AM
ya, not really
fresh-football-47124
07/23/2024, 2:43 AM
the main difference is just makgin sure that the tracking callback has enough time to fire - or you have some other way to log exposure
a
average-motorcycle-18809
07/23/2024, 3:44 PM
cool that makes sense thanks!
average-motorcycle-18809
07/23/2024, 3:44 PM
definitely really nice feature — great to be able to test this sort of stuff without deploying