Skip to content

Commit c34d85b

Browse files
authored
resolve gtag issue (#396)
1 parent c2f5925 commit c34d85b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Header/Header.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const section = frontmatter?.section ?? ""
3737
<script>
3838
window.dataLayer = window.dataLayer || []
3939
function gtag(...args) {
40-
window.dataLayer.push(args)
40+
window.dataLayer.push(arguments)
4141
}
4242
gtag("js", new Date())
4343

0 commit comments

Comments
 (0)