Skip to content

Commit

Permalink
Add gtag
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Wang <jay@zijie.wang>
  • Loading branch information
xiaohk committed Jul 10, 2024
1 parent 5730fc3 commit 40c9d81
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,21 @@
rel="stylesheet"
/>

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

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

<link rel="stylesheet" href="/global.css" />
<script type="module" src="/src/components/page/page.ts"></script>
</head>
Expand Down

0 comments on commit 40c9d81

Please sign in to comment.