Skip to content

Commit f2c3bae

Browse files
authored
Merge pull request #88 from object-t/release/1.0.0
Release/1.0.0
2 parents 7d4e261 + 06ee040 commit f2c3bae

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

app/root.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,21 @@ export function Layout({ children }: { children: React.ReactNode }) {
4646
<meta property="og:description" content="学生団体「Object&lt;T&gt;」の公式ホームページです。" />
4747
<Meta />
4848
<Links />
49+
50+
<>
51+
{/* Google tag (gtag.js) */}
52+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HGVVRP7374"></script>
53+
<script
54+
dangerouslySetInnerHTML={{
55+
__html: `
56+
window.dataLayer = window.dataLayer || [];
57+
function gtag(){dataLayer.push(arguments);}
58+
gtag('js', new Date());
59+
gtag('config', 'G-HGVVRP7374');
60+
`,
61+
}}
62+
/>
63+
</>
4964
</head>
5065
<body>
5166
{children}

0 commit comments

Comments
 (0)