diff --git a/docusaurus/docusaurus.config.js b/docusaurus/docusaurus.config.js index d3472c1d0..a96af9265 100644 --- a/docusaurus/docusaurus.config.js +++ b/docusaurus/docusaurus.config.js @@ -61,6 +61,10 @@ const config = { theme: { customCss: './src/css/custom.css', }, + gtag: { + trackingID: 'G-5HL20GQK0X', + anonymizeIP: true, + }, }), ], ], diff --git a/docusaurus/package-lock.json b/docusaurus/package-lock.json index 0c4a03d81..d8093f994 100644 --- a/docusaurus/package-lock.json +++ b/docusaurus/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.0", "dependencies": { "@docusaurus/core": "3.1.1", + "@docusaurus/plugin-google-gtag": "^3.1.1", "@docusaurus/preset-classic": "3.1.1", "@mdx-js/react": "^3.0.0", "clsx": "^2.0.0", diff --git a/docusaurus/package.json b/docusaurus/package.json index 5eb6fb5ee..6d75ff6d4 100644 --- a/docusaurus/package.json +++ b/docusaurus/package.json @@ -15,6 +15,7 @@ }, "dependencies": { "@docusaurus/core": "3.1.1", + "@docusaurus/plugin-google-gtag": "^3.1.1", "@docusaurus/preset-classic": "3.1.1", "@mdx-js/react": "^3.0.0", "clsx": "^2.0.0",