Skip to content

Commit 0994a36

Browse files
committed
Setup Google Analytics
1 parent 978e851 commit 0994a36

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
<!DOCTYPE html>
55
<html class="pc" lang="ja">
66
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">
7+
<!-- Google tag (gtag.js) -->
8+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M7CTL0DNDG"></script>
9+
<script>
10+
window.dataLayer = window.dataLayer || [];
11+
function gtag(){dataLayer.push(arguments);}
12+
gtag('js', new Date());
13+
14+
gtag('config', 'G-M7CTL0DNDG');
15+
</script>
16+
717
<link rel="preload" as="style" href="/style.css">
818
<link rel="preload" as="style" href="/responsive.css">
919
<meta charset="UTF-8">

0 commit comments

Comments
 (0)