Skip to content

Commit 42ca37a

Browse files
authored
Add Google Analytics account (#163)
1 parent c88c2ce commit 42ca37a

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

spiceaidocs/docusaurus.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ const config: Config = {
4444
theme: {
4545
customCss: './src/css/custom.css',
4646
},
47+
gtag: {
48+
trackingID: 'G-SST0X6NS37',
49+
anonymizeIP: true,
50+
},
4751
} satisfies Preset.Options,
4852
],
4953
],

spiceaidocs/package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spiceaidocs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
},
1717
"dependencies": {
1818
"@docusaurus/core": "3.1.1",
19+
"@docusaurus/plugin-google-gtag": "^3.1.1",
1920
"@docusaurus/preset-classic": "3.1.1",
2021
"@mdx-js/react": "^3.0.0",
2122
"clsx": "^2.0.0",

0 commit comments

Comments
 (0)