Skip to content

Commit

Permalink
Merge pull request #4 from peoray/vercel-analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
peoray authored Nov 2, 2023
2 parents 9695e5f + d75ea67 commit 8866256
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 29 deletions.
16 changes: 4 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 1 addition & 17 deletions src/components/MetaTag.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,8 @@ const { title, description, image, data, robots } = Astro.props as Props;
<!-- <Seo {title} {description} url={Astro.url} {image} {data} {robots} /> -->
<Seo {title} {description} {image} {data} {robots} />

<!-- <script type="text/partytown">
<script>
import { inject } from '@vercel/analytics'
inject()
</script> -->

<!-- Google tag (gtag.js) -->
<script
type="text/partytown"
async
src="https://www.googletagmanager.com/gtag/js?id=G-3Q7YQHMMBX"
></script>
<script type="text/partytown">
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-3Q7YQHMMBX')
</script>
</head>

1 comment on commit 8866256

@vercel
Copy link

@vercel vercel bot commented on 8866256 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.