feat: add umami tracking for app launch and exit events; update dependencies in package.json and bun.lock
This commit is contained in:
+12
-1
@@ -1,10 +1,21 @@
|
||||
<script lang="ts">
|
||||
import { currentView } from '@/global';
|
||||
import { currentView, launcherVersion } from '@/global';
|
||||
import { fade } from 'svelte/transition';
|
||||
|
||||
const View = $derived($currentView);
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
{#if $launcherVersion !== ''}
|
||||
<script
|
||||
defer
|
||||
src="https://analytics.ez-pp.farm/script.js"
|
||||
data-website-id="b03f0013-64f0-42ce-85c0-abd56e8b3c64"
|
||||
data-tag={$launcherVersion}
|
||||
></script>
|
||||
{/if}
|
||||
</svelte:head>
|
||||
|
||||
{#key View}
|
||||
<div in:fade={{ duration: 300 }}>
|
||||
<View />
|
||||
|
||||
Reference in New Issue
Block a user