umami
This commit is contained in:
@@ -128,6 +128,14 @@ export default async function RootLayout({ children }: { children: React.ReactNo
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<LangProvider initialLang={htmlLang}>{children}</LangProvider>
|
<LangProvider initialLang={htmlLang}>{children}</LangProvider>
|
||||||
|
{process.env.NEXT_PUBLIC_UMAMI_SRC && process.env.NEXT_PUBLIC_UMAMI_ID && (
|
||||||
|
<Script
|
||||||
|
defer
|
||||||
|
src={process.env.NEXT_PUBLIC_UMAMI_SRC}
|
||||||
|
data-website-id={process.env.NEXT_PUBLIC_UMAMI_ID}
|
||||||
|
strategy="afterInteractive"
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user