Move GA to head

pull/7579/head
Kamran Ahmed 4 weeks ago
parent f37ed9fab8
commit 171f1431c2
  1. 3
      src/layouts/BaseLayout.astro

@ -156,6 +156,8 @@ const gaPageIdentifier = Astro.url.pathname
/>
)
}
<Analytics />
</head>
<body class='flex min-h-screen flex-col'>
<slot name='page-header'>
@ -189,7 +191,6 @@ const gaPageIdentifier = Astro.url.pathname
<slot name='after-footer' />
<Analytics />
<PageVisit
resourceId={resourceId}
resourceType={resourceType}

Loading…
Cancel
Save