Skip to content

Commit

Permalink
chore: add gtag
Browse files Browse the repository at this point in the history
  • Loading branch information
shhdharmen committed Apr 30, 2024
1 parent 76372ef commit 51b5ee2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,21 @@
rel="stylesheet"
/>
</head>

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

gtag("config", "G-354FY9LR2M");
</script>
<body>
<app-root></app-root>
</body>
Expand Down

0 comments on commit 51b5ee2

Please sign in to comment.