docs: refactor gtag

This commit is contained in:
Thomas Tendyck 2024-11-22 16:03:04 +01:00 committed by Thomas Tendyck
parent f06830ec1a
commit b2e99af86c
4 changed files with 10 additions and 9 deletions

View file

@ -23,9 +23,11 @@ async function createConfig() {
// scripts
scripts: [
{ src: 'https://plausible.io/js/plausible.js', async: true, defer: true, 'data-domain': 'docs.edgeless.systems' },
{ id: "Cookiebot", src: "https://consent.cookiebot.com/uc.js", "data-cbid": "a0cc864f-0b67-49be-8d65-9ed354de2ee6", "data-blockingmode": "auto" },
{ id: "CookieDeclaration", src: "https://consent.cookiebot.com/a0cc864f-0b67-49be-8d65-9ed354de2ee6/cd.js" }
{
src: '/constellation/gtagman.js',
async: true,
"data-cookieconsent": "ignore",
},
],
// Even if you don't use internalization, you can use this field to set useful
@ -59,10 +61,6 @@ async function createConfig() {
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
gtag: {
trackingID: 'G-3DVYB2CHLG',
anonymizeIP: true,
}
}),
],
],