Skip to content

Commit 4d1ebe1

Browse files
committed
Add umami analytics
1 parent 0520bf9 commit 4d1ebe1

File tree

3 files changed

+268
-0
lines changed

3 files changed

+268
-0
lines changed

docusaurus.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ const config: Config = {
3131
locales: ['en'],
3232
},
3333

34+
plugins: [
35+
[
36+
"@dipakparmar/docusaurus-plugin-umami",
37+
/** @type {import('@dipakparmar/docusaurus-plugin-umami').Options} */
38+
({
39+
websiteID: "167d534b-b988-4b7f-81c3-4816d449fc67",
40+
analyticsDomain: "autocode2.github.io", // Required
41+
}),
42+
],
43+
],
44+
3445
presets: [
3546
[
3647
'classic',

package-lock.json

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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"typecheck": "tsc"
1616
},
1717
"dependencies": {
18+
"@dipakparmar/docusaurus-plugin-umami": "^2.1.6",
1819
"@docusaurus/core": "^3.5.2",
1920
"@docusaurus/preset-classic": "^3.5.2",
2021
"@mdx-js/react": "^3.0.0",

0 commit comments

Comments
 (0)