Skip to content

Commit ea28fca

Browse files
committed
gtag updated
1 parent 5221b00 commit ea28fca

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/layouts/Base.astro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ const { title, description } = Astro.props
4040
ad_personalization: 'denied',
4141
})
4242

43-
gtag('config', 'G-WVR2PT5HNE', { cookie_flags: 'SameSite=None;Secure' })
43+
gtag('config', 'G-WVR2PT5HNE', { cookie_flags: 'SameSite=None;Secure' },
44+
'TAG_ID', {
45+
'cookie_domain': Astro.site
46+
}
47+
)
4448
</script>
4549
</body>
4650
</html>

0 commit comments

Comments
 (0)