From 53177ac96b70c557bf391d970a2f2a4df93b52f8 Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Thu, 18 Apr 2024 09:55:01 +0200 Subject: [PATCH] chore: switch from gtag to plausible --- docs/docusaurus.config.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index dce5504c54cf..8c86ac4405ba 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -38,10 +38,6 @@ const config: Config = { editUrl: "https://github.com/ChainSafe/lodestar/tree/unstable/docs/", routeBasePath: "/", }, - gtag: { - trackingID: "G-N21J5PWW5X", - anonymizeIP: true, - }, theme: { customCss: "./src/css/custom.css", }, @@ -109,6 +105,9 @@ const config: Config = { minHeadingLevel: 2, maxHeadingLevel: 5, }, + scripts: [ + {src: "https://plausible.io/js/script.js", defer: true, "data-domain": "https://chainsafe.github.io/lodestar/"}, + ], } satisfies Preset.ThemeConfig, };