debug: add beforeInteractive strategy to vwo script

This commit is contained in:
Arvid Norlin
2024-04-03 08:53:19 +02:00
parent 4c9998a254
commit a2fc3ad729
2 changed files with 304 additions and 1 deletions

View File

@@ -73,7 +73,8 @@ export default function RootLayout({
window.datalayer = window.datalayer || {}
`}</Script>
<AdobeScript />
<VwoScript />
<link rel="preconnect" href="https://dev.visualwebsiteoptimizer.com" />
<Script src="/_static/dist/js/vwo.js" strategy="beforeInteractive" />
</head>
<body className="theme-00Corecolours theme-X0Oldcorecolours">
<LangPopup lang={params.lang} />