Skip to content

Commit 985294c

Browse files
authored
Update GoogleAnalytics.astro
1 parent 75e2df4 commit 985294c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/GoogleAnalytics.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Google tag (gtag.js) -->
2-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-1X5E9W6VJ2"></script>
3-
<script>
2+
<script is:inline async src="https://www.googletagmanager.com/gtag/js?id=G-1X5E9W6VJ2"></script>
3+
<script is:inline>
44
window.dataLayer = window.dataLayer || [];
55
function gtag(){dataLayer.push(arguments);}
66
gtag('js', new Date());

0 commit comments

Comments
 (0)