diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index b300170..eb1f310 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -144,6 +144,10 @@ module.exports = { theme: { customCss: require.resolve('./src/css/custom.css'), }, + gtag: { + trackingID: 'G-FX9Q0YKV7S', + anonymizeIP: false, + }, }, ], ], diff --git a/docs/package.json b/docs/package.json index 4395700..7f71234 100644 --- a/docs/package.json +++ b/docs/package.json @@ -14,6 +14,7 @@ }, "dependencies": { "@docusaurus/core": "^2.3.1", + "@docusaurus/plugin-google-gtag": "^2.3.1", "@docusaurus/plugin-sitemap": "^2.3.1", "@docusaurus/preset-classic": "^2.3.1", "@mdx-js/react": "^1.6.22", diff --git a/docs/yarn.lock b/docs/yarn.lock index 9a1f290..c663fb9 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -1718,7 +1718,7 @@ "@docusaurus/utils-validation" "2.3.1" tslib "^2.4.0" -"@docusaurus/plugin-google-gtag@2.3.1": +"@docusaurus/plugin-google-gtag@2.3.1", "@docusaurus/plugin-google-gtag@^2.3.1": version "2.3.1" resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-2.3.1.tgz#b8da54a60c0a50aca609c3643faef78cb4f247a0" integrity sha512-uXtDhfu4+Hm+oqWUySr3DNI5cWC/rmP6XJyAk83Heor3dFjZqDwCbkX8yWPywkRiWev3Dk/rVF8lEn0vIGVocA==