diff --git a/.env.example b/.env.example index b5bd7a161..353fa220d 100644 --- a/.env.example +++ b/.env.example @@ -8,10 +8,6 @@ # SvelteKit Web App (`apps/web`) # ============================================================================= -# Google Analytics 4 Measurement ID (optional) -# Get this from Google Analytics > Admin > Data Streams > Web Stream -PUBLIC_GA4_MEASUREMENT_ID= - # Supabase Configuration # For local development: # - PUBLIC_SUPABASE_URL: http://127.0.0.1:54321 diff --git a/README.md b/README.md index 404e2046e..19dbbda42 100644 --- a/README.md +++ b/README.md @@ -253,7 +253,6 @@ Set the following environment variables in your Vercel project settings: ```env PUBLIC_SUPABASE_URL=https://your-project.supabase.co PUBLIC_SUPABASE_ANON_KEY=your-anon-key -PUBLIC_GA4_MEASUREMENT_ID=G-XXXXXXXXXX # Optional ``` #### Static Pages diff --git a/apps/web/README.md b/apps/web/README.md index 9dcec11a4..298dcaeab 100644 --- a/apps/web/README.md +++ b/apps/web/README.md @@ -86,7 +86,6 @@ Set these in your Vercel project settings: ```env PUBLIC_SUPABASE_URL=https://your-project.supabase.co PUBLIC_SUPABASE_ANON_KEY=your-anon-key -PUBLIC_GA4_MEASUREMENT_ID=G-XXXXXXXXXX # Optional ``` See the [root README](../../README.md) for complete setup instructions. diff --git a/apps/web/src/lib/components/pages/layout/GA4.svelte b/apps/web/src/lib/components/pages/layout/GA4.svelte deleted file mode 100644 index 918a0ee6f..000000000 --- a/apps/web/src/lib/components/pages/layout/GA4.svelte +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - diff --git a/apps/web/src/routes/+layout.svelte b/apps/web/src/routes/+layout.svelte index 88979ed01..4daed292b 100644 --- a/apps/web/src/routes/+layout.svelte +++ b/apps/web/src/routes/+layout.svelte @@ -6,9 +6,7 @@ import { onMount } from 'svelte'; import { invalidate } from '$app/navigation'; - import { PUBLIC_GA4_MEASUREMENT_ID } from '$env/static/public'; import Footer from '$lib/components/pages/layout/Footer.svelte'; - import GA4 from '$lib/components/pages/layout/GA4.svelte'; import HeaderNavigation from '$lib/components/pages/layout/HeaderNavigation.svelte'; import { supabaseStore, userStore } from '$lib/stores'; @@ -33,10 +31,6 @@ }); -{#if PUBLIC_GA4_MEASUREMENT_ID} - -{/if} -