We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75e2df4 commit 985294cCopy full SHA for 985294c
src/components/GoogleAnalytics.astro
@@ -1,6 +1,6 @@
1
<!-- Google tag (gtag.js) -->
2
-<script async src="https://www.googletagmanager.com/gtag/js?id=G-1X5E9W6VJ2"></script>
3
-<script>
+<script is:inline async src="https://www.googletagmanager.com/gtag/js?id=G-1X5E9W6VJ2"></script>
+<script is:inline>
4
window.dataLayer = window.dataLayer || [];
5
function gtag(){dataLayer.push(arguments);}
6
gtag('js', new Date());
0 commit comments