Skip to content

Commit

Permalink
docs: add plugin-google-gtag and analytics to website (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
openoms authored Jul 8, 2024
1 parent 8a91831 commit f2c9977
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ const config: Config = {
theme: {
customCss: './src/css/custom.css',
},
gtag: {
trackingID: 'G-CSZCYN1TG7',
anonymizeIP: true,
},
} satisfies Preset.Options,
],
],
Expand Down
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"dependencies": {
"@docusaurus/core": "^3.4.0",
"@docusaurus/plugin-google-gtag": "^3.4.0",
"@docusaurus/preset-classic": "^3.4.0",
"@docusaurus/theme-live-codeblock": "^3.4.0",
"@docusaurus/theme-mermaid": "^3.4.0",
Expand Down
2 changes: 1 addition & 1 deletion website/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@
"@docusaurus/utils-validation" "3.4.0"
tslib "^2.6.0"

"@docusaurus/[email protected]":
"@docusaurus/[email protected]", "@docusaurus/plugin-google-gtag@^3.4.0":
version "3.4.0"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-3.4.0.tgz#42489ac5fe1c83b5523ceedd5ef74f9aa8bc251b"
integrity sha512-Dsgg6PLAqzZw5wZ4QjUYc8Z2KqJqXxHxq3vIoyoBWiLEEfigIs7wHR+oiWUQy3Zk9MIk6JTYj7tMoQU0Jm3nqA==
Expand Down

0 comments on commit f2c9977

Please sign in to comment.