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
fix: added check if there is no parent element
Truimo4876684461f2
diff --git a/tracker/index.js b/tracker/index.jsindex 2278a1f97..e5d592733 100644--- a/tracker/index.js+++ b/tracker/index.js@@ -119,6 +119,9 @@return currentElement;}currentElement = currentElement.parentElement;+ if (currentElement === null) {+ return null;+ }}return null;};