From 480b9203afcae5c7cf98eea7460f80101fa5da20 Mon Sep 17 00:00:00 2001 From: Dustin Thurston Date: Tue, 28 Jul 2026 16:34:51 -0400 Subject: [PATCH] move site id to env var to not track during local development --- src/components/commonHead.astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/commonHead.astro b/src/components/commonHead.astro index ff61007..3e96601 100644 --- a/src/components/commonHead.astro +++ b/src/components/commonHead.astro @@ -2,6 +2,7 @@ import { ClientRouter } from "astro:transitions"; const { title } = Astro.props; +const analyticsId = import.meta.env.ANALYTICS_ID; --- @@ -14,7 +15,7 @@ const { title } = Astro.props; + data-website-id={analyticsId}>