diff --git a/.vscode/settings.json b/.vscode/settings.json index 15dda9025..185016d64 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -86,6 +86,7 @@ "gameplay", "glsl", "GLTF", + "gtag", "haha", "highp", "iife", diff --git a/packages/website/astro.config.mjs b/packages/website/astro.config.mjs index 35668c589..3b002a848 100644 --- a/packages/website/astro.config.mjs +++ b/packages/website/astro.config.mjs @@ -1,6 +1,6 @@ // @ts-check -import partytown from '@astrojs/partytown'; +import react from '@astrojs/react'; import sitemap from '@astrojs/sitemap'; import { SUPPORTED_LOCALES } from '@blitzkit/i18n'; import { defineConfig } from 'astro/config'; diff --git a/packages/website/src/components/Party3.astro b/packages/website/src/components/Party3.astro index 81575655e..c818fbff5 100644 --- a/packages/website/src/components/Party3.astro +++ b/packages/website/src/components/Party3.astro @@ -1,14 +1,25 @@ +--- +import { assertSecret } from '@blitzkit/core'; + +const PUBLIC_GOOGLE_TAG_MANAGER_ID = assertSecret( + import.meta.env.PUBLIC_GOOGLE_TAG_MANAGER_ID, +); +--- + -