mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
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:
co-authored by
Claude Opus 4.6
parent
ead03d76c4
commit
9ce183595a
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user