Skip to content

Commit

Permalink
chore(website): include gtag
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Feb 23, 2024
1 parent 110ffdc commit 6b1bcff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ const config: Config = {
googleTagManager: {
containerId: 'GTM-K554VSWG',
},
gtag: {
trackingID: 'G-GKVD8FM0B0',
anonymizeIP: true,
},
} satisfies Preset.Options,
],
],
Expand Down
1 change: 1 addition & 0 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
},
"dependencies": {
"@docusaurus/core": "^3.1.1",
"@docusaurus/plugin-google-gtag": "^3.1.1",
"@docusaurus/plugin-google-tag-manager": "^3.1.1",
"@docusaurus/preset-classic": "^3.1.1",
"@easyops-cn/docusaurus-search-local": "^0.40.1",
Expand Down

0 comments on commit 6b1bcff

Please sign in to comment.