Skip to content

Commit

Permalink
add google analytics docusaurus plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJuanAndOnly99 committed Aug 29, 2024
1 parent b437b43 commit dd70916
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ module.exports = {
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
gtag: {
trackingID: "G-BV8KZH4G0M",
anonymizeIP: true,
}
},
],
],
Expand Down
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@docusaurus/core": "^3.0.0",
"@docusaurus/preset-classic": "^3.0.0",
"@docusaurus/plugin-google-gtag": "^3.0.0",
"axios": "^1.7.2",
"classnames": "^2.2.6",
"clsx": "^2.0.0",
Expand Down

0 comments on commit dd70916

Please sign in to comment.