mirror of
https://github.com/Such-Software/wowcheckout.git
synced 2026-10-17 05:51:45 +02:00
analytics: config-driven cookieless Umami tag (NEXT_PUBLIC_UMAMI_*, GPC+DNT)
This commit is contained in:
+5
-1
@@ -1,6 +1,7 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Crimson_Pro, Space_Grotesk } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { UmamiAnalytics } from "../components/UmamiAnalytics";
|
||||
|
||||
const spaceGrotesk = Space_Grotesk({
|
||||
subsets: ["latin"],
|
||||
@@ -29,7 +30,10 @@ export default function RootLayout({
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" className={`${spaceGrotesk.variable} ${crimsonPro.variable}`}>
|
||||
<body>{children}</body>
|
||||
<body>
|
||||
<UmamiAnalytics />
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user