diff --git a/packages/landing-site/src/pages/index.astro b/packages/landing-site/src/pages/index.astro
index 3c127053..46a6d896 100644
--- a/packages/landing-site/src/pages/index.astro
+++ b/packages/landing-site/src/pages/index.astro
@@ -12,6 +12,7 @@ import { landingBody } from '@framework/system/src/styles/layouts.css'
import { SocialMetaTags } from '../../../site/src/components/social-meta-tags'
const contributorsData = await getContributorsData()
+const GA_TAG_ID = import.meta.env.VITE_GOOGLE_ANALYTICS
---
@@ -37,11 +38,11 @@ const contributorsData = await getContributorsData()
async
src={`https://www.googletagmanager.com/gtag/js?id=${import.meta.env.VITE_GOOGLE_ANALYTICS}`}>
-
)
}
diff --git a/packages/site/src/layouts/base.astro b/packages/site/src/layouts/base.astro
index 5ec60c7d..8da9dc9a 100644
--- a/packages/site/src/layouts/base.astro
+++ b/packages/site/src/layouts/base.astro
@@ -21,6 +21,8 @@ const navData = searchData.map((o) => pick(o, ['name', 'subCategories']))
const themeClass = themes[
`${import.meta.env.VITE_FRAMEWORK}Theme` as keyof typeof themes
] as string
+
+const GA_TAG_ID = import.meta.env.VITE_GOOGLE_ANALYTICS
---
@@ -53,11 +55,11 @@ const themeClass = themes[
async
src={`https://www.googletagmanager.com/gtag/js?id=${import.meta.env.VITE_GOOGLE_ANALYTICS}`}>
-
)
}