From c66fe8587992f22a19fcf86744e84b59110fbd99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Thu, 23 Jun 2022 19:04:23 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20Analytics?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Analytics.svelte | 37 +++++++++++++++++++++++++++++++++ src/routes/__layout.svelte | 9 ++++++++ src/utils/analytics.ts | 21 +++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 src/components/Analytics.svelte create mode 100644 src/utils/analytics.ts diff --git a/src/components/Analytics.svelte b/src/components/Analytics.svelte new file mode 100644 index 0000000..a1f4f86 --- /dev/null +++ b/src/components/Analytics.svelte @@ -0,0 +1,37 @@ + + + + {#if enabled} +