Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Fixed group referrers count. Closes #3257
Mike Cao97c687ff05f1
diff --git a/src/app/layout.tsx b/src/app/layout.tsxindex f88d8169c..ebe313e62 100644--- a/src/app/layout.tsx+++ b/src/app/layout.tsx@@ -23,7 +23,7 @@ export default function ({ children }) {<meta name="theme-color" content="#2f2f2f" media="(prefers-color-scheme: dark)" /><meta name="robots" content="noindex,nofollow" /></head>- <body>+ <body suppressHydrationWarning><Providers>{children}</Providers></body></html>diff --git a/src/components/metrics/ReferrersTable.tsx b/src/components/metrics/ReferrersTable.tsxindex db40a6177..4d5a87c36 100644--- a/src/components/metrics/ReferrersTable.tsx+++ b/src/components/metrics/ReferrersTable.tsx@@ -69,11 +69,10 @@ export function ReferrersTable({ allowFilter, ...props }: ReferrersTableProps) {if (!groups[domain]) {groups[domain] = 0;}- groups[domain] += y;- } else {- groups._other += y;+ groups[domain] += +y;}}+ groups._other += +y;}return Object.keys(groups)