fixed sloppy umami events

This commit is contained in:
George Powell
2025-12-27 11:50:35 -05:00
parent c71170e6b3
commit 2b7682684a
2 changed files with 22 additions and 10 deletions

View File

@@ -71,14 +71,6 @@
// Generate the congratulations message
let congratulationsMessage = $derived(getRandomCongratulationsMessage());
onMount(() => {
if (typeof window !== "undefined" && (window as any).umami) {
(window as any).umami.track("guessed-correctly", {
totalGuesses: guessCount,
});
}
});
</script>
<div