diff --git a/website/.vitepress/components/HomePage.vue b/website/.vitepress/components/HomePage.vue index 18a5fe94..1ae27851 100644 --- a/website/.vitepress/components/HomePage.vue +++ b/website/.vitepress/components/HomePage.vue @@ -43,19 +43,11 @@ async function copyInstallCommand() { try { await navigator.clipboard.writeText(installCommand); copyState.value = 'copied'; - track('home-install-copy'); } catch { copyState.value = 'failed'; } resetCopyState(); } - -function track(event: string) { - const analytics = ( - window as Window & { umami?: { track: (name: string) => void } } - ).umami; - analytics?.track(event); -}