umami
This commit is contained in:
@@ -108,11 +108,14 @@ export default function RootLayout({
|
|||||||
__html: JSON.stringify(jsonLd).replace(/</g, "\\u003c"),
|
__html: JSON.stringify(jsonLd).replace(/</g, "\\u003c"),
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
{process.env.NEXT_PUBLIC_UMAMI_SRC && process.env.NEXT_PUBLIC_UMAMI_ID && (
|
||||||
<Script
|
<Script
|
||||||
src="https://cloud.umami.is/script.js"
|
defer
|
||||||
data-website-id="15bab46b-b1a9-4d2f-9c69-deaef60a0cfc"
|
src={process.env.NEXT_PUBLIC_UMAMI_SRC}
|
||||||
|
data-website-id={process.env.NEXT_PUBLIC_UMAMI_ID}
|
||||||
strategy="afterInteractive"
|
strategy="afterInteractive"
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
<Preloader />
|
<Preloader />
|
||||||
<SoundProvider>{children}</SoundProvider>
|
<SoundProvider>{children}</SoundProvider>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user