Skip to content

Commit

Permalink
[web] Add Google Analytics tag to Umami Web
Browse files Browse the repository at this point in the history
  • Loading branch information
asiia-trilitech committed Oct 10, 2024
1 parent 0cc2f8a commit a1fee5d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions apps/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Umami</title>
<!-- Google Analytics tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-82XSMBDYTJ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "G-82XSMBDYTJ");
</script>
</head>
<body>
<div id="root"></div>
Expand Down

0 comments on commit a1fee5d

Please sign in to comment.