fix: add checks to tracking consent

This commit is contained in:
Arvid Norlin
2024-03-04 08:08:22 +01:00
parent 0f5a972797
commit 527698544c
4 changed files with 50 additions and 9 deletions

View File

@@ -28,6 +28,9 @@ export default function RootLayout({
id="Cookiebot"
src="https://consent.cookiebot.com/uc.js"
/>
<Script id="ensure-datalayer">{`
window.datalayer = window.datalayer || {}
`}</Script>
<AdobeScript />
<VwoScript />
</head>