Skip to content

Commit 8775a06

Browse files
committed
chore: add umami script tag
1 parent d2ae053 commit 8775a06

File tree

3 files changed

+147
-0
lines changed

3 files changed

+147
-0
lines changed

docusaurus.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ const config: Config = {
4040
],
4141
],
4242

43+
plugins: [
44+
[
45+
"@dipakparmar/docusaurus-plugin-umami",
46+
/** @type {import('@dipakparmar/docusaurus-plugin-umami').Options} */
47+
({
48+
websiteID: "5cbc2dc7-8ea2-47bd-8630-4bf3d0172869",
49+
analyticsDomain: "umami.gpul.org",
50+
}),
51+
],
52+
],
53+
4354
themeConfig: {
4455
image: 'img/gpul-social-card.png',
4556
metadata: [

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"prepare": "husky"
1818
},
1919
"dependencies": {
20+
"@dipakparmar/docusaurus-plugin-umami": "^2.3.0",
2021
"@docusaurus/core": "3.8.1",
2122
"@docusaurus/preset-classic": "3.8.1",
2223
"@mdx-js/react": "^3.0.0",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)