Skip to content

Commit

Permalink
consent mode
Browse files Browse the repository at this point in the history
  • Loading branch information
AngeloChecked committed Oct 10, 2024
1 parent 7be05ec commit 1dc8c43
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions blog/components/Base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
ad_user_data: "denied",
// ad_personalization: "denied",
// analytics_storage: "denied",
},
]);
</script>
`;
}

0 comments on commit 1dc8c43

Please sign in to comment.