Skip to content

Commit

Permalink
enable analytics in docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed May 30, 2024
1 parent 9db17ab commit 5797cb9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ const config = {
theme: {
customCss: require.resolve('./src/css/custom.scss'),
},
googleAnalytics: {
trackingID: 'UA-188412659-2',
},
}),
],
],
Expand Down
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"dependencies": {
"@docusaurus/core": "3.3.2",
"@docusaurus/plugin-google-analytics": "^3.3.2",
"@docusaurus/preset-classic": "3.3.2",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion website/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@
react-json-view-lite "^1.2.0"
tslib "^2.6.0"

"@docusaurus/[email protected]":
"@docusaurus/[email protected]", "@docusaurus/plugin-google-analytics@^3.3.2":
version "3.3.2"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-analytics/-/plugin-google-analytics-3.3.2.tgz#6e51ee8593c79172ed2b2ac4d33e300f04bfbc87"
integrity sha512-jXhrEIhYPSClMBK6/IA8qf1/FBoxqGXZvg7EuBax9HaK9+kL3L0TJIlatd8jQJOMtds8mKw806TOCc3rtEad1A==
Expand Down

0 comments on commit 5797cb9

Please sign in to comment.