clarity id added
This commit is contained in:
parent
8a5818e77a
commit
c83efb2375
@ -23,7 +23,7 @@ export const metadata = {
|
|||||||
export default function RootLayout({ children }) {
|
export default function RootLayout({ children }) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" className={`${poppins.variable}`}>
|
<html lang="en" className={`${poppins.variable}`}>
|
||||||
<Head>
|
<Head>
|
||||||
{/* Lazy load non-critical CSS */}
|
{/* Lazy load non-critical CSS */}
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
@ -43,6 +43,19 @@ export default function RootLayout({ children }) {
|
|||||||
media="print"
|
media="print"
|
||||||
onLoad="this.media='all'"
|
onLoad="this.media='all'"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
{/* Microsoft Clarity Tracking */}
|
||||||
|
<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/th7p0lr1ca";
|
||||||
|
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
|
||||||
|
})(window, document, "clarity", "script", "th7p0lr1ca");
|
||||||
|
`,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</Head>
|
</Head>
|
||||||
<body>
|
<body>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user