From b3152f05e97e376ebd4250ace9376ec6d558052e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Rafael=20Siqueira?= Date: Sat, 3 May 2025 21:34:19 -0300 Subject: [PATCH] wip --- superpage/src/CookieConsentConfig.ts | 12 ++++++------ superpage/src/layouts/Layout.astro | 16 +++++++++------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/superpage/src/CookieConsentConfig.ts b/superpage/src/CookieConsentConfig.ts index e9a4987..fd09ad6 100644 --- a/superpage/src/CookieConsentConfig.ts +++ b/superpage/src/CookieConsentConfig.ts @@ -35,12 +35,12 @@ export const config: CookieConsentConfig = { 'Google Analytics 4', onAccept: () => { console.log("ga4 accepted"); - window.gtag("consent", "update", { - ad_storage: "granted", - ad_user_data: "granted", - ad_personalization: "granted", - analytics_storage: "granted", - }); + // window.gtag("consent", "update", { + // ad_storage: "granted", + // ad_user_data: "granted", + // ad_personalization: "granted", + // analytics_storage: "granted", + // }); }, onReject: () => { console.log("ga4 rejected"); diff --git a/superpage/src/layouts/Layout.astro b/superpage/src/layouts/Layout.astro index ccec551..6221d6e 100644 --- a/superpage/src/layouts/Layout.astro +++ b/superpage/src/layouts/Layout.astro @@ -20,22 +20,24 @@ import Footer from "./_components/Footer.astro"; -