📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Stop using prev parameter
Blue Mousebc559ef04d90
diff --git a/web/app/utils/analytics.ts b/web/app/utils/analytics.tsindex e4fccdb71..e7b7b87ff 100644--- a/web/app/utils/analytics.ts+++ b/web/app/utils/analytics.ts@@ -112,10 +112,9 @@ export const trackViews = () => {}Swetrix.trackViews({- callback: ({ pg, prev, ref }) => {+ callback: ({ pg, ref }) => {const result = {pg,- prev,ref,}@@ -124,7 +123,6 @@ export const trackViews = () => {}result.pg = getNewPath(pg)- result.prev = getNewPath(prev)if (checkIgnore(ref, REFS_TO_IGNORE)) {result.ref = undefined