[Chore] More analytics cleanup (#16309)

This commit is contained in:
Kody Jackson 2024-08-20 09:02:15 -05:00 committed by GitHub
parent 4fc13517b4
commit 7e346d6f1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,10 +82,11 @@ export default defineConfig({
},
favicon: "/favicon.png",
head: [
{
tag: "script",
content: "<!-- Google Tag Manager -->(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-NDGPDFZ');<!-- End Google Tag Manager -->"
},
{
tag: "script",
content:
"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-NDGPDFZ');",
},
{
tag: "meta",
attrs: {
@ -128,7 +129,7 @@ export default defineConfig({
PageTitle: "./src/components/overrides/PageTitle.astro",
Pagination: "./src/components/overrides/Pagination.astro",
SocialIcons: "./src/components/overrides/SocialIcons.astro",
SkipLink: "./src/components/overrides/SkipLink.astro",
SkipLink: "./src/components/overrides/SkipLink.astro",
},
sidebar: await autogenSections(),
customCss: [