fix: replace `plugin-google-analytics` with `plugin-google-gtag` (#610)
Co-authored-by: Erick Zhao <erick@hotmail.ca>
This commit is contained in:
Родитель
3ccb599e0a
Коммит
815866de42
|
@ -236,8 +236,9 @@ const config: Config = {
|
||||||
theme: {
|
theme: {
|
||||||
customCss: [require.resolve('./src/css/custom.scss')],
|
customCss: [require.resolve('./src/css/custom.scss')],
|
||||||
},
|
},
|
||||||
googleAnalytics: {
|
gtag: {
|
||||||
trackingID: 'UA-160365006-1',
|
trackingID: 'UA-160365006-1',
|
||||||
|
anonymizeIP: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "3.5.2",
|
"@docusaurus/core": "3.5.2",
|
||||||
"@docusaurus/plugin-google-analytics": "3.5.2",
|
|
||||||
"@docusaurus/preset-classic": "3.5.2",
|
"@docusaurus/preset-classic": "3.5.2",
|
||||||
"@docusaurus/remark-plugin-npm2yarn": "3.5.2",
|
"@docusaurus/remark-plugin-npm2yarn": "3.5.2",
|
||||||
"@docusaurus/theme-mermaid": "3.5.2",
|
"@docusaurus/theme-mermaid": "3.5.2",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче