mirror of
https://github.com/rehlds/rehlds.github.io.git
synced 2025-02-07 02:32:17 +03:00
Add Google Analytics and Yandex Metrika (#8)
* Add Google Analytics * Add Yandex Metrika
This commit is contained in:
parent
6743e2519f
commit
8383d8aca1
@ -58,6 +58,10 @@ const config: Config = {
|
||||
theme: {
|
||||
customCss: "./src/css/custom.css",
|
||||
},
|
||||
gtag: {
|
||||
trackingID: "G-REKDWWGWC3",
|
||||
anonymizeIP: false,
|
||||
},
|
||||
} satisfies Preset.Options,
|
||||
],
|
||||
],
|
||||
@ -140,6 +144,15 @@ const config: Config = {
|
||||
apiKey: "41b3073341af875e11a1de96cd00f535",
|
||||
indexName: "rehldsio",
|
||||
},
|
||||
plugins: [
|
||||
[
|
||||
"docusaurus-plugin-yandex-metrica",
|
||||
{
|
||||
counterID: "98867928",
|
||||
webvisor: true,
|
||||
},
|
||||
],
|
||||
],
|
||||
} satisfies Preset.ThemeConfig,
|
||||
};
|
||||
|
||||
|
1348
package-lock.json
generated
1348
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -19,6 +19,7 @@
|
||||
"@docusaurus/preset-classic": "3.5.2",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"clsx": "^2.0.0",
|
||||
"docusaurus-plugin-yandex-metrica": "^1.2.1",
|
||||
"prism-react-renderer": "^2.3.0",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user