From 180b3f90eebdb0cdb7bb293ac8392ef0fe3be14d Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 19 Apr 2025 16:45:33 -0700
Subject: feat(EasterEgg): Add click analytics

---
 src/lib/Events/AniListBadges/EasterEvent2025/EasterEgg.svelte | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/lib/Events/AniListBadges/EasterEvent2025/EasterEgg.svelte')

diff --git a/src/lib/Events/AniListBadges/EasterEvent2025/EasterEgg.svelte b/src/lib/Events/AniListBadges/EasterEvent2025/EasterEgg.svelte
index 1295697f..0d0a46d1 100644
--- a/src/lib/Events/AniListBadges/EasterEvent2025/EasterEgg.svelte
+++ b/src/lib/Events/AniListBadges/EasterEvent2025/EasterEgg.svelte
@@ -70,6 +70,8 @@
       visible = false;
 
       if (clickedEggs.length >= 3) showPopup = true;
+
+      umami.track('Easter Egg Clicked', { id });
     } else if (event.button === 1) {
       visible = true;
 
-- 
cgit v1.2.3

