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 4b7042d commit febdbe7Copy full SHA for febdbe7
src/layouts/Layout.astro
@@ -108,6 +108,15 @@ const socialImageURL = new URL(
108
<ViewTransitions />
109
110
<script is:inline src="/toggle-theme.js"></script>
111
+
112
+ <!-- Google tag (gtag.js) -->
113
+ <script async src="https://www.googletagmanager.com/gtag/js?id=G-V66JPM85FQ"></script>
114
+ <script is:inline>
115
+ window.dataLayer = window.dataLayer || [];
116
+ function gtag(){dataLayer.push(arguments);}
117
+ gtag('js', new Date());
118
+ gtag('config', 'G-V66JPM85FQ');
119
+ </script>
120
</head>
121
<body>
122
<slot />
0 commit comments