clarity, gtm, sitemap - added
This commit is contained in:
parent
3080ae63e6
commit
56e33b95df
@ -17,6 +17,31 @@ export const metadata = {
|
||||
export default function RootLayout({ children }) {
|
||||
return (
|
||||
<html lang="en" className={`${niconne.variable} ${poppins.variable} ${tangerine.variable}`}>
|
||||
<head>
|
||||
{/* Google Tag Manager */}
|
||||
<script dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-YZNXD8G2Y7');
|
||||
`
|
||||
}} />
|
||||
|
||||
{/*clarity Tag start */}
|
||||
<script dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
(function(c,l,a,r,i,t,y){
|
||||
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
|
||||
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
|
||||
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
|
||||
})(window, document, "clarity", "script", "tiwefg4i5m");
|
||||
`
|
||||
}} />
|
||||
{/*clarity Tag End */}
|
||||
|
||||
|
||||
</head>
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user