From c6c2554a7310536a08ed1553b0548a11f6802971 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 2 Jul 2026 10:33:55 +0200 Subject: Migrate analytics --- src/components/Analytics.astro | 38 ++++++-------------------------------- src/pages/index.astro | 10 ++++++---- 2 files changed, 12 insertions(+), 36 deletions(-) diff --git a/src/components/Analytics.astro b/src/components/Analytics.astro index 0352bea..cfe47b0 100644 --- a/src/components/Analytics.astro +++ b/src/components/Analytics.astro @@ -1,33 +1,7 @@ ---- -import { analytics } from "../config/analytics"; - -const GOOGLE_ANALYTICS_ID = analytics.googleAnalyticsId; -const FATHOM_ANALYTICS_ID = analytics.fathomAnalyticsId; ---- - -{ - GOOGLE_ANALYTICS_ID && ( - - ) -} -{ - FATHOM_ANALYTICS_ID && ( - + diff --git a/src/pages/index.astro b/src/pages/index.astro index 262239e..439521e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -47,10 +47,12 @@ const description = - + + + -- cgit v1.3.1