From eae3f40df7e20f8e31efb3785967ed6a806285bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Rafael=20Siqueira?= Date: Sat, 3 May 2025 21:36:55 -0300 Subject: [PATCH] fixt --- superpage/src/CookieConsentConfig.ts | 14 ++++++++------ superpage/src/layouts/Layout.astro | 11 ++--------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/superpage/src/CookieConsentConfig.ts b/superpage/src/CookieConsentConfig.ts index fd09ad6..cf76d5d 100644 --- a/superpage/src/CookieConsentConfig.ts +++ b/superpage/src/CookieConsentConfig.ts @@ -35,12 +35,14 @@ 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 6221d6e..6739eb1 100644 --- a/superpage/src/layouts/Layout.astro +++ b/superpage/src/layouts/Layout.astro @@ -19,26 +19,19 @@ import Footer from "./_components/Footer.astro"; -