Skip to content

Commit

Permalink
resolve gtag issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zzq0826 committed Nov 22, 2024
1 parent c2f5925 commit 3c496d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Header/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const section = frontmatter?.section ?? ""
<script>
window.dataLayer = window.dataLayer || []
function gtag(...args) {
window.dataLayer.push(args)
window.dataLayer.push(arguments)
}
gtag("js", new Date())

Expand Down

0 comments on commit 3c496d1

Please sign in to comment.