Skip to content

Commit 4aad0b1

Browse files
committed
Add google analytics
1 parent 22e1017 commit 4aad0b1

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

public/index.html

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,29 @@
44
<meta charset="utf-8" />
55
<link rel="icon" href="%PUBLIC_URL%/logo.png" />
66
<!-- TODO 올해 아이콘으로 -->
7-
<meta name="viewport" content="width=device-width,
7+
<meta
8+
name="viewport"
9+
content="width=device-width,
810
height=device-height,
911
target-densitydpi=device-dpi,
1012
initial-scale=1.0,
1113
minimum-scale=1.0,
1214
maximum-scale=1.0,
1315
user-scalable=0,
1416
user-scalable=no,
15-
shrink-to-fit=no" />
17+
shrink-to-fit=no"
18+
/>
1619
<meta name="theme-color" content="#000000" />
1720
<meta name="description" content="Web site created using create-react-app" />
1821
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
19-
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
20-
<script type="text/javascript" src="//dapi.kakao.com/v2/maps/sdk.js?appkey=d3945eccce7debf0942f885e90a71f97"></script>
22+
<link
23+
rel="stylesheet"
24+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0"
25+
/>
26+
<script
27+
type="text/javascript"
28+
src="//dapi.kakao.com/v2/maps/sdk.js?appkey=d3945eccce7debf0942f885e90a71f97"
29+
></script>
2130
<!--
2231
manifest.json provides metadata used when your web app is installed on a
2332
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
@@ -32,6 +41,17 @@
3241
work correctly both with client-side routing and a non-root public URL.
3342
Learn how to configure a non-root public URL by running `npm run build`.
3443
-->
44+
<!-- Google tag (gtag.js) -->
45+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68TW2KGKLL"></script>
46+
<script>
47+
window.dataLayer = window.dataLayer || [];
48+
function gtag() {
49+
dataLayer.push(arguments);
50+
}
51+
gtag("js", new Date());
52+
53+
gtag("config", "G-68TW2KGKLL");
54+
</script>
3555
<title>파이콘 한국 2024</title>
3656
</head>
3757
<body>

0 commit comments

Comments
 (0)