diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 1498ebf4..867f5e9b 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -42,6 +42,9 @@ const config = { theme: { customCss: require.resolve('./src/css/custom.scss'), }, + googleAnalytics: { + trackingID: 'UA-188412659-2', + }, }), ], ], diff --git a/website/package.json b/website/package.json index e56f007f..f28ddaec 100644 --- a/website/package.json +++ b/website/package.json @@ -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", diff --git a/website/yarn.lock b/website/yarn.lock index 65a29931..3f1c9c7c 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -1441,7 +1441,7 @@ react-json-view-lite "^1.2.0" tslib "^2.6.0" -"@docusaurus/plugin-google-analytics@3.3.2": +"@docusaurus/plugin-google-analytics@3.3.2", "@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==