diff --git a/blog/components/Base.ts b/blog/components/Base.ts index b45512c..92ff780 100644 --- a/blog/components/Base.ts +++ b/blog/components/Base.ts @@ -91,6 +91,16 @@ function googleTagManagerScript() { window.dataLayer = window.dataLayer || []; window.dataLayer.push(["js", new Date()]); window.dataLayer.push(["config", "G-LE27PDG685"]); + window.dataLayer.push([ + "consent", + "default", + { + ad_storage: "denied", + analytics_storage: "denied", + //ad_user_data: "denied", + // ad_personalization: "denied", + }, + ]); `; }