Skip to content

Commit

Permalink
Update: Add Google Analytics for traffic monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed Mar 20, 2024
1 parent af4ca3b commit 7aee802
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>

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

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

<body>
<div id="gameContainer" style="text-align: center">
<div id="title" style="text-align: center">2048</div>
Expand Down

0 comments on commit 7aee802

Please sign in to comment.