Skip to content

Commit d561cce

Browse files
authored
chore: add gtag [skip ci]
1 parent d84c1c4 commit d561cce

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
@@ -5,6 +5,16 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>FlowOS</title>
77
<link rel="shortcut icon" href="./src/assets/flow.png" type="image/png">
8+
9+
<!-- Google tag (gtag.js) -->
10+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X4XVQRWEVM"></script>
11+
<script>
12+
window.dataLayer = window.dataLayer || [];
13+
function gtag(){dataLayer.push(arguments);}
14+
gtag('js', new Date());
15+
16+
gtag('config', 'G-X4XVQRWEVM');
17+
</script>
818
</head>
919
<body>
1020
<script src="./src/bootloader.ts" type="module"></script>

0 commit comments

Comments
 (0)