From a51c010d972e9bb6835e1060c6fc832663a18c37 Mon Sep 17 00:00:00 2001 From: Christophe Dolivet Date: Fri, 16 Oct 2026 10:24:49 +0200 Subject: [PATCH 1/3] chore: remove GTM, Google Analytics and Axeptio Drop the Google Tag Manager script and noscript iframe (served from metrics.iex.ec), which loaded Google Analytics, the dataLayer click tracking and its data-track attributes, and the Axeptio consent banner that is no longer needed. Also disable Reown AppKit telemetry. --- .vitepress/config.ts | 26 ------------------- .vitepress/theme/Layout.vue | 10 ------- .vitepress/theme/index.ts | 36 -------------------------- src/modules/helloWorld/GrantAccess.vue | 1 - src/modules/helloWorld/ProtectData.vue | 1 - src/modules/helloWorld/ReownButton.vue | 7 +---- src/utils/wagmiConfig.ts | 1 + 7 files changed, 2 insertions(+), 80 deletions(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index ad51af46..03782e8d 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -51,16 +51,6 @@ export default withMermaid( ['link', { rel: 'icon', href: '/Logo-RLC-Yellow.png' }], // Open Graph / Social metadata ['meta', { property: 'og:image', content: `${siteUrl}/og-image.png` }], - // Google Tag Manager - [ - 'script', - {}, - `(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': - new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], - j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= - 'https://metrics.iex.ec/bs7fgjd8lvy4l31.js?id='+i+dl;f.parentNode.insertBefore(j,f); - })(window,document,'script','dataLayer','GTM-P7KSD4T');`, - ], [ 'link', { @@ -68,22 +58,6 @@ export default withMermaid( href: 'https://fonts.googleapis.com/css2?family=Mulish:wght@400;600;700;800&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap', }, ], - [ - 'script', - {}, - ` - window.axeptioSettings = { - clientId: "6413111857e4d2a6342cd5c6", - cookiesVersion: "iexec-en", - }; - - (function(d, s) { - var t = d.getElementsByTagName(s)[0], e = d.createElement(s); - e.async = true; e.src = "//static.axept.io/sdk.js"; - t.parentNode.insertBefore(e, t); - })(document, "script"); - `, - ], // Mava widget [ 'script', diff --git a/.vitepress/theme/Layout.vue b/.vitepress/theme/Layout.vue index dce6dca2..1d943f27 100644 --- a/.vitepress/theme/Layout.vue +++ b/.vitepress/theme/Layout.vue @@ -6,16 +6,6 @@ const { Layout } = DefaultTheme;