diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 9fcaace..ffcdd8f 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -168,6 +168,9 @@ $effect(() => { if (!browser) return; anonymousId = getOrCreateAnonymousId(); + if ((window as any).umami) { + (window as any).umami.identify(anonymousId); + } const statsKey = `bibdle-stats-submitted-${dailyVerse.date}`; statsSubmitted = localStorage.getItem(statsKey) === "true"; const chapterGuessKey = `bibdle-chapter-guess-${dailyVerse.reference}`;