Skip to content

Commit

Permalink
chore: move gtm script position
Browse files Browse the repository at this point in the history
  • Loading branch information
ooooorobo committed Aug 12, 2023
1 parent dd6140c commit b1b5975
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/client/renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ const defaultHtml = (assetPath: string, content: string) => `
<!DOCTYPE html>
<html lang="ko">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GNDJL4812E"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-GNDJL4812E');
</script>
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<meta name="description" content="부담감은 적게, 목표는 크게">
<meta property="og:title" content="반다라트">
Expand All @@ -23,14 +31,6 @@ const defaultHtml = (assetPath: string, content: string) => `
<link rel="icon" type="image/png" sizes="32x32" href="${assetPath}/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="${assetPath}/favicon/favicon-16x16.png">
</head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GNDJL4812E"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-GNDJL4812E');
</script>
<body>
<div id="root">${content}</div>
</body>
Expand Down

0 comments on commit b1b5975

Please sign in to comment.