Skip to content

Commit

Permalink
feat add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
kcwww committed Dec 12, 2023
1 parent dc20c05 commit e52b1e9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions front/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,18 @@
<body>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-6HY2WJ5DLS"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'G-6HY2WJ5DLS');
</script>
</body>
</html>

0 comments on commit e52b1e9

Please sign in to comment.