Skip to content

Commit f8d6dae

Browse files
Update: Google Tag Manager 및 Google Analytics 설정 추가
- Google Tag Manager 스크립트 유지 - Google Analytics 설정 추가 및 관련 스크립트 삽입
1 parent f1cb333 commit f8d6dae

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

_layouts/default.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@
2222
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
2323
})(window,document,'script','dataLayer','GTM-T3KNH95M');</script>
2424
<!-- End Google Tag Manager -->
25+
26+
<!-- Google tag (gtag.js) -->
27+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-E2F9P3J8TQ"></script>
28+
<script>
29+
window.dataLayer = window.dataLayer || [];
30+
function gtag(){dataLayer.push(arguments);}
31+
gtag('js', new Date());
32+
33+
gtag('config', 'G-E2F9P3J8TQ');
34+
</script>
2535

2636
<!-- Fonts -->
2737
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">

0 commit comments

Comments
 (0)