mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 01:12:53 +00:00
Tidy gtag snippet indentation
This commit is contained in:
+3
-3
@@ -92,9 +92,9 @@ export default function RootLayout({ children }: LayoutProps<"/">) {
|
|||||||
/>
|
/>
|
||||||
<Script id="google-analytics" strategy="afterInteractive">
|
<Script id="google-analytics" strategy="afterInteractive">
|
||||||
{`window.dataLayer = window.dataLayer || [];
|
{`window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag(){dataLayer.push(arguments);}
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
gtag('config', '${gaId}');`}
|
gtag('config', '${gaId}');`}
|
||||||
</Script>
|
</Script>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user