Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion apps/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
45 changes: 0 additions & 45 deletions apps/web/src/lib/components/pages/layout/GA4.svelte

This file was deleted.

6 changes: 0 additions & 6 deletions apps/web/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -33,10 +31,6 @@
});
</script>

{#if PUBLIC_GA4_MEASUREMENT_ID}
<GA4 measurementId={PUBLIC_GA4_MEASUREMENT_ID} />
{/if}

<ModeWatcher />
<Toaster />

Expand Down
Loading