Skip to content

Commit

Permalink
fix: 구글 애널리틱스
Browse files Browse the repository at this point in the history
  • Loading branch information
junyeokk committed May 13, 2024
1 parent 8b88f45 commit d048d60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= VITE_GOOGLE_ANALYTICS %>"></script>
<script type="module">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-8Y5Z29FBSV"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

const GOOGLE_ANALYTICS = import.meta.env.VITE_GOOGLE_ANALYTICS;
gtag("config", GOOGLE_ANALYTICS);
gtag("config", "G-8Y5Z29FBSV");
</script>
<title>2024 경북대 대동제, 하푸르나</title>
</head>
Expand Down

0 comments on commit d048d60

Please sign in to comment.