mirror of
https://github.com/cloudflare/cloudflare-docs.git
synced 2026-01-11 20:06:58 +00:00
[Chore] More analytics cleanup (#16309)
This commit is contained in:
parent
4fc13517b4
commit
7e346d6f1b
1 changed files with 6 additions and 5 deletions
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue