From d1695ddf62b316d3cc06c75c444f859a271cff2e Mon Sep 17 00:00:00 2001 From: Julien Ramboz Date: Mon, 8 Apr 2024 08:40:47 -0700 Subject: [PATCH] fix: broken code in the utm tracking --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 54152da..8563c73 100644 --- a/src/index.js +++ b/src/index.js @@ -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 })); }