umami
This commit is contained in:
@@ -128,6 +128,14 @@ export default async function RootLayout({ children }: { children: React.ReactNo
|
||||
</head>
|
||||
<body>
|
||||
<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>
|
||||
</html>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user