diff --git a/docusaurus.config.ts b/docusaurus.config.ts index f11b47f..ab3feea 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -236,8 +236,9 @@ const config: Config = { theme: { customCss: [require.resolve('./src/css/custom.scss')], }, - googleAnalytics: { + gtag: { trackingID: 'UA-160365006-1', + anonymizeIP: true, }, }, ], diff --git a/package.json b/package.json index 7faa90b..63d4424 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ }, "dependencies": { "@docusaurus/core": "3.5.2", - "@docusaurus/plugin-google-analytics": "3.5.2", "@docusaurus/preset-classic": "3.5.2", "@docusaurus/remark-plugin-npm2yarn": "3.5.2", "@docusaurus/theme-mermaid": "3.5.2",