File tree Expand file tree Collapse file tree
lib/components/pages/layout Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88# SvelteKit Web App (`apps/web`)
99# =============================================================================
1010
11- # Google Analytics 4 Measurement ID (optional)
12- # Get this from Google Analytics > Admin > Data Streams > Web Stream
13- PUBLIC_GA4_MEASUREMENT_ID =
14-
1511# Supabase Configuration
1612# For local development:
1713# - PUBLIC_SUPABASE_URL: http://127.0.0.1:54321
Original file line number Diff line number Diff line change @@ -253,7 +253,6 @@ Set the following environment variables in your Vercel project settings:
253253``` env
254254PUBLIC_SUPABASE_URL=https://your-project.supabase.co
255255PUBLIC_SUPABASE_ANON_KEY=your-anon-key
256- PUBLIC_GA4_MEASUREMENT_ID=G-XXXXXXXXXX # Optional
257256```
258257
259258#### Static Pages
Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ Set these in your Vercel project settings:
8686``` env
8787PUBLIC_SUPABASE_URL=https://your-project.supabase.co
8888PUBLIC_SUPABASE_ANON_KEY=your-anon-key
89- PUBLIC_GA4_MEASUREMENT_ID=G-XXXXXXXXXX # Optional
9089```
9190
9291See the [ root README] ( ../../README.md ) for complete setup instructions.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 import { onMount } from ' svelte' ;
77
88 import { invalidate } from ' $app/navigation' ;
9- import { PUBLIC_GA4_MEASUREMENT_ID } from ' $env/static/public' ;
109 import Footer from ' $lib/components/pages/layout/Footer.svelte' ;
11- import GA4 from ' $lib/components/pages/layout/GA4.svelte' ;
1210 import HeaderNavigation from ' $lib/components/pages/layout/HeaderNavigation.svelte' ;
1311 import { supabaseStore , userStore } from ' $lib/stores' ;
1412
3331 });
3432 </script >
3533
36- {#if PUBLIC_GA4_MEASUREMENT_ID }
37- <GA4 measurementId ={PUBLIC_GA4_MEASUREMENT_ID } />
38- {/if }
39-
4034<ModeWatcher />
4135<Toaster />
4236
You can’t perform that action at this time.
0 commit comments