Configure gtag as plugin

This commit is contained in:
Sergey Shorokhov 2024-11-09 10:30:51 +03:00
parent 8383d8aca1
commit 0d1e7fa65c

View File

@ -58,10 +58,6 @@ const config: Config = {
theme: {
customCss: "./src/css/custom.css",
},
gtag: {
trackingID: "G-REKDWWGWC3",
anonymizeIP: false,
},
} satisfies Preset.Options,
],
],
@ -145,6 +141,13 @@ const config: Config = {
indexName: "rehldsio",
},
plugins: [
[
"@docusaurus/plugin-google-gtag",
{
trackingID: "G-REKDWWGWC3",
anonymizeIP: false,
},
],
[
"docusaurus-plugin-yandex-metrica",
{