File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,15 +45,13 @@ const canonicalUrl = `${siteUrl}${Astro.url.pathname}`;
4545 <link rel =" icon" href ={ ` ${base }/favicon.svg ` } type =" image/svg+xml" />
4646
4747 <!-- Google Analytics -->
48- { gaId && (
49- <script async src = { ` https://www.googletagmanager.com/gtag/js?id=${gaId } ` } ></script >
50- <script define :vars = { { gaId }} >
51- window.dataLayer = window.dataLayer || [];
52- function gtag(){ dataLayer .push (arguments );}
53- gtag('js', new Date());
54- gtag('config', gaId);
55- </script >
56- )}
48+ <script is:inline >
49+ window.dataLayer = window.dataLayer || [];
50+ function gtag(){dataLayer.push(arguments);}
51+ gtag('js', new Date());
52+ gtag('config', 'G-LYNMNG6M7W');
53+ </script >
54+ <script async src =" https://www.googletagmanager.com/gtag/js?id=G-LYNMNG6M7W" ></script >
5755
5856 <!-- Theme: apply before paint to prevent flash -->
5957 <script is:inline >
You can’t perform that action at this time.
0 commit comments