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 6592466 commit 77cb028
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/main.min.css" />

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

gtag('config', 'G-7HKPNEYMX1');
</script>
</head>
<body>
<app-root></app-root>
Expand Down

0 comments on commit 77cb028

Please sign in to comment.