Skip to content

Commit

Permalink
埋点更新
Browse files Browse the repository at this point in the history
  • Loading branch information
72161674 committed Nov 30, 2023
1 parent 6302bb3 commit 983b11d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/hap-server/src/preview/views/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,18 +124,14 @@
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-129793617-6"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-W1C4XTJP2Y"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
window.GA_USER_ID &&
gtag('set', {
user_id: window.GA_USER_ID
})
gtag('js', new Date())
gtag('config', 'UA-129793617-6')
gtag('config', 'G-W1C4XTJP2Y')
</script>
</body>
</html>

0 comments on commit 983b11d

Please sign in to comment.