fix(site): use Consent Mode v2 for cookieless Google Analytics (#795)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-03-09 19:18:45 -05:00
committed by GitHub
co-authored by Claude Opus 4.6
parent ead03d76c4
commit 9ce183595a
+7 -1
View File
@@ -56,8 +56,14 @@ const fullTitle =
function gtag() {
dataLayer.push(arguments);
}
gtag("consent", "default", {
analytics_storage: "denied",
ad_storage: "denied",
ad_user_data: "denied",
ad_personalization: "denied",
});
gtag("js", new Date());
gtag("config", "G-WTF4CZJSGP", { client_storage: "none" });
gtag("config", "G-WTF4CZJSGP");
</script>
{/* Important stuff */}