Skip to content

Commit f687f72

Browse files
authored
Merge pull request #218 from RealMatchTeam/feat/ad-realmatch
[hotfix] GA 적용
2 parents 5a79c80 + 1374065 commit f687f72

2 files changed

Lines changed: 9 additions & 14 deletions

File tree

app/root.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,6 @@ export function Layout({ children }: { children: React.ReactNode }) {
4949
<meta name="apple-mobile-web-app-capable" content="yes" />
5050
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
5151
<title>Real Match</title>
52-
53-
{/* Google Analytics */}
54-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SFGD9X72KH"></script>
55-
<script
56-
dangerouslySetInnerHTML={{
57-
__html: `
58-
window.dataLayer = window.dataLayer || [];
59-
function gtag(){dataLayer.push(arguments);}
60-
gtag('js', new Date());
61-
gtag('config', 'G-SFGD9X72KH');
62-
`,
63-
}}
64-
/>
65-
6652
<Meta />
6753
<Links />
6854
</head>

index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@
1313
<meta name="apple-mobile-web-app-capable" content="yes" />
1414
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
1515

16+
<!-- Google tag (gtag.js) -->
17+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SFGD9X72KH"></script>
18+
<script>
19+
window.dataLayer = window.dataLayer || [];
20+
function gtag(){dataLayer.push(arguments);}
21+
gtag('js', new Date());
22+
gtag('config', 'G-SFGD9X72KH');
23+
</script>
24+
1625
<!-- Pretendard Variable Font (Local) -->
1726
<title>Real Match</title>
1827
</head>

0 commit comments

Comments
 (0)