diff --git a/apps/scandic-web/components/RouteChange.tsx b/apps/scandic-web/components/RouteChange.tsx index 847cb188e..0cbb3bc35 100644 --- a/apps/scandic-web/components/RouteChange.tsx +++ b/apps/scandic-web/components/RouteChange.tsx @@ -63,11 +63,11 @@ export default function RouteChange() { useEffect(() => { const loginPosition = searchParams.get("loginPosition") if (loginPosition) { - const position = `${loginPosition}, ${pathName}` trackEvent({ event: "loginSuccess", login: { - position, + position: loginPosition, + pathName, }, })