Skip to content

Commit 6a07a9a

Browse files
authored
구글 애널리틱스 header 위치 변경 (#64)
1 parent 80f9f83 commit 6a07a9a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

layouts/index.headers

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,3 @@
88
Feature-Policy: geolocation 'self'
99
Cache-Control: public, max-age=31536000
1010
Access-Control-Allow-Origin: *
11-
12-
<!-- Global site tag (gtag.js) - Google Analytics -->
13-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-097K82469K"></script>
14-
<script>
15-
window.dataLayer = window.dataLayer || [];
16-
function gtag(){dataLayer.push(arguments);}
17-
gtag('js', new Date());
18-
19-
gtag('config', 'G-097K82469K');
20-
</script>

layouts/partials/header/header.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<!-- Global site tag (gtag.js) - Google Analytics -->
2+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-097K82469K"></script>
3+
<script>
4+
window.dataLayer = window.dataLayer || [];
5+
function gtag(){dataLayer.push(arguments);}
6+
gtag('js', new Date());
7+
8+
gtag('config', 'G-097K82469K');
9+
</script>
10+
111
{{ if .Site.Params.alert -}}
212
{{ partial "header/alert.html" . }}
313
{{ end -}}

0 commit comments

Comments
 (0)