Skip to content

Commit

Permalink
add g analytics code
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyuc123 committed Aug 23, 2023
1 parent e6e5c2d commit b37a9cf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,15 @@
</script>

<link href="./sb-preview/runtime.js" rel="prefetch" as="script" />

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

gtag('config', 'G-TQ30XN1Q55');
</script>
</body>
</html>

0 comments on commit b37a9cf

Please sign in to comment.