Fork of Chiri for Astro for my blog
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Adding Google Analytics

+11
+11
src/components/layout/BaseHead.astro
··· 45 45 <meta property="twitter:title" content={title} /> 46 46 <meta property="twitter:description" content={description} /> 47 47 <meta property="twitter:image" content={imageUrl} /> 48 + 49 + <!-- Google tag (gtag.js) --> 50 + <script async src="https://www.googletagmanager.com/gtag/js?id=G-QG1BRT6R0V"></script> 51 + <script> 52 + // @ts-nocheck 53 + window.dataLayer = window.dataLayer || []; 54 + function gtag(){dataLayer.push(arguments);} 55 + gtag('js', new Date()); 56 + 57 + gtag('config', 'G-QG1BRT6R0V'); 58 + </script>