Skip to content

Commit 03b63aa

Browse files
committed
Fix GA
1 parent 84e3488 commit 03b63aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/layout.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const metadata = {
1111
export default function RootLayout({ children }) {
1212
return (
1313
<html lang="en">
14-
<body>
14+
<head>
1515
<Script
1616
src={`https://www.googletagmanager.com/gtag/js?id=${GA_MEASUREMENT_ID}`}
1717
strategy="afterInteractive"
@@ -24,6 +24,8 @@ export default function RootLayout({ children }) {
2424
gtag('config', '${GA_MEASUREMENT_ID}');
2525
`}
2626
</Script>
27+
</head>
28+
<body>
2729
{children}
2830
</body>
2931
</html>

0 commit comments

Comments
 (0)