Skip to content

Commit

Permalink
fix(redirects): use underscore in param
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff authored Dec 10, 2024
1 parent 3417c65 commit bada92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}
Expand Down

0 comments on commit bada92e

Please sign in to comment.