@@ -8,16 +8,6 @@ interface Props {
8
8
const { title, description, image } = Astro .props ;
9
9
---
10
10
11
- <!-- Google Analytics -->
12
- <script is:inline type =" text/partytown" async src =" https://www.googletagmanager.com/gtag/js?id=G-1CHQV4JH2Z" ></script >
13
- <script is:inline type =" text/partytown" >
14
- window.dataLayer = window.dataLayer || [];
15
- function gtag(...args){dataLayer.push(args);}
16
- gtag('js', new Date());
17
-
18
- gtag('config', 'G-1CHQV4JH2Z');
19
- </script >
20
-
21
11
<!-- Global Metadata -->
22
12
<meta charset =" utf-8" />
23
13
<meta
@@ -47,6 +37,17 @@ const { title, description, image } = Astro.props;
47
37
<meta property =" twitter:description" content ={ description } />
48
38
<meta property =" twitter:image" content ={ new URL (image , Astro .url )} />
49
39
40
+ <!-- Google Analytics -->
41
+ <script is:inline type =" text/partytown" async src =" https://www.googletagmanager.com/gtag/js?id=G-1CHQV4JH2Z" ></script >
42
+ <script is:inline type =" text/partytown" >
43
+ window.dataLayer = window.dataLayer || [];
44
+ // eslint-disable-next-line prefer-rest-params
45
+ function gtag(){dataLayer.push(arguments);}
46
+ gtag('js', new Date());
47
+
48
+ gtag('config', 'G-1CHQV4JH2Z');
49
+ </script >
50
+
50
51
<link
51
52
rel =" alternate"
52
53
type =" application/rss+xml"
0 commit comments