From 4c82aa078b8d75cdccb40591c02f9a0c12d927b0 Mon Sep 17 00:00:00 2001 From: George Powell Date: Tue, 3 Feb 2026 23:43:03 -0500 Subject: [PATCH] added identifying with umami anonymous ID --- src/routes/+page.svelte | 3 +++ 1 file changed, 3 insertions(+) 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}`;