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
Make title optional.
Mike Cao00d0421623ef
diff --git a/tracker/index.js b/tracker/index.jsindex dfdb08b1b..601bc6ad4 100644--- a/tracker/index.js+++ b/tracker/index.js@@ -154,7 +154,7 @@const observeTitle = () => {const callback = ([entry]) => {- title = entry.target.text;+ title = entry && entry.target ? entry.target.text : undefined;};const observer = new MutationObserver(callback);