Skip to content

Commit

Permalink
chore:: add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Dun-sin committed Jul 30, 2024
1 parent 7297e6e commit 1f00884
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,19 @@
<script type="module" src="./src/main.ts" defer></script>
<!-- Star Button Js -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-P445L31SWR"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

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

<title>Code Magic</title>
</head>
Expand Down

0 comments on commit 1f00884

Please sign in to comment.