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

Loading…
Cancel
Save