feat: add umami trackers

This commit is contained in:
Kim, Jimin 2024-04-15 20:35:07 +09:00
parent 43a592d7a1
commit 8bb50a7b81
Signed by: pomp
GPG key ID: 2B516173EDD492EB
4 changed files with 16 additions and 1 deletions

View file

@ -61,6 +61,12 @@ export default function RootLayout({
href="/favicon.svg"
/>
<meta name="theme-color" content="#000000" />
<script
async
defer
src="https://eu.umami.is/script.js"
data-website-id="aa2eb701-74e2-4d81-ad27-9de6850b7f50"
></script>
</head>
<body className="overflow-x-hidden overflow-y-scroll">
@ -80,7 +86,7 @@ export default function RootLayout({
</noscript>
<Header />
<main className="mx-auto mb-8 mt-20 flex w-full max-w-screen-mobile grow flex-col items-center gap-8 px-4">
<main className="max-w-screen-mobile mx-auto mb-8 mt-20 flex w-full grow flex-col items-center gap-8 px-4">
{children}
</main>
<Footer />

View file

@ -23,6 +23,13 @@
<meta property="og:url" content="https://developomp.com" />
<meta property="og:image" content="/favicon.svg" />
<script
async
defer
src="https://eu.umami.is/script.js"
data-website-id="3cecce37-5899-497f-9bbc-f7dafb5cae30"
></script>
%sveltekit.head%
</head>
<body>