mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 09:22: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">
|
||||
{`window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', '${gaId}');`}
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', '${gaId}');`}
|
||||
</Script>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user