From f3511d4a3293229465dc7fa6dfc5edfa507c35d5 Mon Sep 17 00:00:00 2001 From: Brian 'bdougie' Douglas Date: Mon, 28 Jul 2025 17:40:40 -0700 Subject: [PATCH] fix: name consent marketing to align with c15t --- docs/c15t-cookie-banner.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/c15t-cookie-banner.js b/docs/c15t-cookie-banner.js index 87f02c70f..1671bdfbe 100644 --- a/docs/c15t-cookie-banner.js +++ b/docs/c15t-cookie-banner.js @@ -12,7 +12,7 @@ const defaultConsent = { necessary: true, analytics: false, - identification: false, + marketing: false, }; // Wait for the page to fully load @@ -75,8 +75,8 @@ if (window.gtag) { window.gtag("consent", "update", { analytics_storage: consent.analytics ? "granted" : "denied", - ad_user_data: consent.identification ? "granted" : "denied", - ad_personalization: consent.identification ? "granted" : "denied", + ad_user_data: consent.marketing ? "granted" : "denied", + ad_personalization: consent.marketing ? "granted" : "denied", }); } @@ -116,7 +116,7 @@ const consent = { necessary: true, analytics: true, - identification: true, + marketing: true, }; applyConsent(consent); hideCookieBanner(); @@ -184,7 +184,7 @@