feat(analytics): update umami tracking script
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
This commit is contained in:
parent
a2f0965ff5
commit
b1c5baf77c
1 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ import { PreferencesProvider } from "@/contexts/preferences-context";
|
||||||
import { AuthProvider } from "@/contexts/auth-context";
|
import { AuthProvider } from "@/contexts/auth-context";
|
||||||
import { ThemeProvider } from "@/components/theme-provider";
|
import { ThemeProvider } from "@/components/theme-provider";
|
||||||
import { Footer } from "@/components/layout/footer";
|
import { Footer } from "@/components/layout/footer";
|
||||||
|
import Script from "next/script";
|
||||||
|
|
||||||
const spaceGrotesk = Space_Grotesk({
|
const spaceGrotesk = Space_Grotesk({
|
||||||
subsets: ["latin"],
|
subsets: ["latin"],
|
||||||
|
|
@ -35,6 +36,11 @@ export default function RootLayout({
|
||||||
jetbrainsMono.variable,
|
jetbrainsMono.variable,
|
||||||
"min-h-screen bg-background font-sans antialiased flex flex-col"
|
"min-h-screen bg-background font-sans antialiased flex flex-col"
|
||||||
)}>
|
)}>
|
||||||
|
<Script
|
||||||
|
defer
|
||||||
|
src="https://stats.elmeg.xyz/stats"
|
||||||
|
data-website-id="4338bbf0-fe74-4256-8973-8cdc0cffe08c"
|
||||||
|
/>
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
attribute="class"
|
attribute="class"
|
||||||
defaultTheme="dark"
|
defaultTheme="dark"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue