Skip to content

Commit

Permalink
fix: broken code in the utm tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
ramboz committed Apr 8, 2024
1 parent c72099b commit d1695dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function addUTMParametersTracking() {
const usp = new URLSearchParams(window.location.search);
[...usp.entries()]
.filter(([key]) => key.startsWith('utm_'))
.filter(([key]) => key !== 'utm_id');
.filter(([key]) => key !== 'utm_id')
.forEach(([source, target]) => sampleRUM('utm', { source, target }));
}

Expand Down

0 comments on commit d1695dd

Please sign in to comment.