mirror of
https://github.com/dathere/ckan-devstaller.git
synced 2025-11-09 13:39:49 +00:00
feat: add analytics script
This commit is contained in:
parent
30187c2346
commit
a052eac69f
1 changed files with 9 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
import "@/app/global.css";
|
import "@/app/global.css";
|
||||||
import { RootProvider } from "fumadocs-ui/provider";
|
import { RootProvider } from "fumadocs-ui/provider";
|
||||||
import localFont from "next/font/local";
|
import localFont from "next/font/local";
|
||||||
|
import Script from "next/script";
|
||||||
|
|
||||||
const inter = localFont({ src: "../lib/inter.ttf" });
|
const inter = localFont({ src: "../lib/inter.ttf" });
|
||||||
|
|
||||||
|
|
@ -9,6 +10,14 @@ export default function Layout({ children }: LayoutProps<"/">) {
|
||||||
<html lang="en" className={inter.className} suppressHydrationWarning>
|
<html lang="en" className={inter.className} suppressHydrationWarning>
|
||||||
<body className="flex flex-col min-h-screen">
|
<body className="flex flex-col min-h-screen">
|
||||||
<RootProvider>{children}</RootProvider>
|
<RootProvider>{children}</RootProvider>
|
||||||
|
<Script
|
||||||
|
src="https://mk-analytics.dathere.com/api/script.js"
|
||||||
|
data-site-id="9"
|
||||||
|
data-session-replay="true"
|
||||||
|
data-track-errors="true"
|
||||||
|
data-web-vitals="true"
|
||||||
|
strategy="afterInteractive"
|
||||||
|
/>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue