From bada92e69aaa8f560d61d6264f578eb2958934ec Mon Sep 17 00:00:00 2001 From: Lars Trieloff Date: Tue, 10 Dec 2024 16:54:59 +0100 Subject: [PATCH] fix(redirects): use underscore in param --- modules/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/index.js b/modules/index.js index 09735e9..6364868 100644 --- a/modules/index.js +++ b/modules/index.js @@ -138,7 +138,7 @@ function addNavigationTracking() { sampleRUM('enter', payload); // enter site } fflags.enabled('redirect', () => { - const from = new URLSearchParams(window.location.search).get('redirect-from'); + const from = new URLSearchParams(window.location.search).get('redirect_from'); if (redirectCount || from) { sampleRUM('redirect', { source: from, target: redirectCount || 1 }); }