Skip to content

Commit bce5d78

Browse files
feat: install tag google analytics
1 parent abcd7ff commit bce5d78

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,14 @@ <h1 class="logo-container">
7676
</div>
7777
<script src="js/encode.js"></script>
7878
<script src="js/copyText.js"></script>
79+
<!-- Google tag (gtag.js) -->
80+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-94SFBSSQ3M"></script>
81+
<script>
82+
window.dataLayer = window.dataLayer || [];
83+
function gtag(){dataLayer.push(arguments);}
84+
gtag('js', new Date());
85+
86+
gtag('config', 'G-94SFBSSQ3M');
87+
</script>
7988
</body>
8089
</html>

0 commit comments

Comments
 (0)