Skip to content

Commit

Permalink
[#11] Google Analytics 적용 (#15)
Browse files Browse the repository at this point in the history
* ✨ feat: ga4 코드 추가

* 🔨 refactor: 로컬 환경 디버깅용 코드로 전환

* 🙀 chore: GA 디버깅 코드 삭제
  • Loading branch information
inhachoi authored Jan 10, 2025
1 parent 321cb8f commit 46474ad
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions apps/client/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
<!doctype html>
<html lang="ko">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SMXGZQRD0S"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-SMXGZQRD0S');
</script>
<!-- 기본 meta 태그 및 link -->
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/images/boolock_logo.png" />
Expand All @@ -14,10 +24,7 @@
<meta name="author" content="부스트캠프 9기 Web31팀" />
<!-- Open Graph -->
<meta property="og:title" content="BooLock" />
<meta
property="og:description"
content="쉽게 배우는 블록 코딩"
/>
<meta property="og:description" content="쉽게 배우는 블록 코딩" />
<meta property="og:url" content="https://boolock.site/" />
<meta property="og:image" content="/images/boolock_thumnail.png" />
<meta property="og:image:alt" content="블록코딩 플랫폼 BooLock의 썸네일" />
Expand Down

0 comments on commit 46474ad

Please sign in to comment.