From 40184c35e92c6c58842a9ad3ecf5090eb03be944 Mon Sep 17 00:00:00 2001 From: Song Lim Date: Thu, 15 Aug 2024 23:40:29 +0800 Subject: [PATCH] fix: ga4 not working - passing env variable into script block of have issue. using onMount instead --- src/routes/+page.svelte | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 436b94f..f7538ff 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,4 +1,5 @@ @@ -92,15 +107,6 @@ - {name}