Skip to content

Commit f44995e

Browse files
authored
🔥 Remove GA4 integration (#858)
2 parents bb6196d + c7e7dcd commit f44995e

5 files changed

Lines changed: 0 additions & 57 deletions

File tree

.env.example

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
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

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ Set the following environment variables in your Vercel project settings:
253253
```env
254254
PUBLIC_SUPABASE_URL=https://your-project.supabase.co
255255
PUBLIC_SUPABASE_ANON_KEY=your-anon-key
256-
PUBLIC_GA4_MEASUREMENT_ID=G-XXXXXXXXXX # Optional
257256
```
258257

259258
#### Static Pages

apps/web/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ Set these in your Vercel project settings:
8686
```env
8787
PUBLIC_SUPABASE_URL=https://your-project.supabase.co
8888
PUBLIC_SUPABASE_ANON_KEY=your-anon-key
89-
PUBLIC_GA4_MEASUREMENT_ID=G-XXXXXXXXXX # Optional
9089
```
9190

9291
See the [root README](../../README.md) for complete setup instructions.

apps/web/src/lib/components/pages/layout/GA4.svelte

Lines changed: 0 additions & 45 deletions
This file was deleted.

apps/web/src/routes/+layout.svelte

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
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
@@ -33,10 +31,6 @@
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

0 commit comments

Comments
 (0)