fix
This commit is contained in:
@@ -20,12 +20,11 @@ import Footer from "./_components/Footer.astro";
|
||||
|
||||
<script
|
||||
is:inline
|
||||
data-category="analytics"
|
||||
type="text/partytown"
|
||||
src="https://www.googletagmanager.com/gtag/js?id=G-G2989LF493"
|
||||
></script>
|
||||
|
||||
<script is:inline data-category="analytics" type="text/partytown">
|
||||
<script is:inline type="text/partytown">
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
@@ -33,14 +32,16 @@ import Footer from "./_components/Footer.astro";
|
||||
gtag("js", new Date());
|
||||
|
||||
gtag("consent", "default", {
|
||||
ad_storage: "granted",
|
||||
ad_user_data: "granted",
|
||||
ad_personalization: "granted",
|
||||
analytics_storage: "granted",
|
||||
ad_storage: "denied",
|
||||
ad_user_data: "denied",
|
||||
ad_personalization: "denied",
|
||||
analytics_storage: "denied",
|
||||
});
|
||||
|
||||
gtag("config", "G-G2989LF493");
|
||||
</script>
|
||||
|
||||
<script is:inline data-category="analytics"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user