Skip to content

Commit

Permalink
chore: add google analytics for user metrics collection
Browse files Browse the repository at this point in the history
  • Loading branch information
saladgg committed Sep 9, 2022
1 parent a030d47 commit 21cf88d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/templates/atoms/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,16 @@
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WW2W29ZMTZ"></script>
<script src="https://kit.fontawesome.com/e1c9d8c99d.js" crossorigin="anonymous"></script>
{% endblock javascript %}


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

gtag('config', 'G-S5JLWM36RQ');
</script>

</head>

0 comments on commit 21cf88d

Please sign in to comment.