From f9b19e3adcd66a7859a8ed397beb0893c541adef Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 8 May 2025 21:40:50 +0200 Subject: Fix GA --- src/config.ts | 1 + src/pages/index.astro | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/config.ts (limited to 'src') diff --git a/src/config.ts b/src/config.ts new file mode 100644 index 0000000..22ac32e --- /dev/null +++ b/src/config.ts @@ -0,0 +1 @@ +export const GOOGLE_ANALYTICS_ID = "G-31LHNP2G97"; diff --git a/src/pages/index.astro b/src/pages/index.astro index c750c0a..6df6391 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,6 +2,7 @@ import Cidr from "../components/Cidr"; import "../styles/global.css"; +import { GOOGLE_ANALYTICS_ID } from "../config"; const metadata = { title: "Interactive visual CIDR and IP range calculator", @@ -15,8 +16,19 @@ const metadata = { -