Skip to content

Commit

Permalink
chore: Update landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
areknawo committed Jun 5, 2024
1 parent 78377ae commit fd04c1d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion apps/landing-page/src/components/fragments/base-head.astro
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,13 @@ const { title, description, image = "/meta-image.jpg" } = Astro.props;
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
<meta property="twitter:image" content={new URL(image, Astro.url)} />
{Astro.props.analytics !== false && <Analytics client:only />}
{Astro.props.analytics !== false && <>
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-16595937003">
</script>
<script lang="js" is:inline>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'AW-16595937003');
</script><Analytics client:only /></>}

0 comments on commit fd04c1d

Please sign in to comment.