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
Added type check for id
perso182d96666825763
diff --git a/src/tracker/index.js b/src/tracker/index.jsindex 520d56eac..533a640a3 100644--- a/src/tracker/index.js+++ b/src/tracker/index.js@@ -249,7 +249,7 @@};const identify = (data, id = undefined) => {- if (id) {+ if (id && typeof id === 'string') {identity = id;}/* Clear cache since this will result in another session */