Skip to content

Commit

Permalink
feat: add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
ffutop committed Jul 10, 2023
1 parent 63e7467 commit 80a9ae4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,16 @@
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
<script src="js/jszip.min.js"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-L6W1EW3RYJ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "G-L6W1EW3RYJ");
</script>
</body>
</html>

0 comments on commit 80a9ae4

Please sign in to comment.