Skip to content

Commit 23a3519

Browse files
authored
Update index.html
Add Google Analytics tag
1 parent 3da4273 commit 23a3519

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55
<!DOCTYPE html>
66
<html>
77
<head>
8+
<!-- Google tag (gtag.js) -->
9+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-G6QZDW7ZJ3"></script>
10+
<script>
11+
window.dataLayer = window.dataLayer || [];
12+
function gtag(){dataLayer.push(arguments);}
13+
gtag('js', new Date());
14+
15+
gtag('config', 'G-G6QZDW7ZJ3');
16+
</script>
817
<title>ut01 navigation</title>
918
<meta charset="utf-8">
1019
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -16,15 +25,6 @@
1625
<link rel="icon" href="favicon.ico">
1726
<link href="style.css" rel="stylesheet">
1827
<link href="https://kit-pro.fontawesome.com/releases/v6.4.0/css/pro.min.css" rel="stylesheet">
19-
<script>
20-
var _hmt = _hmt || [];
21-
(function() {
22-
var hm = document.createElement("script");
23-
hm.src = "https://hm.baidu.com/hm.js?608099a97a36357ac1c2b142b92e67db";
24-
var s = document.getElementsByTagName("script")[0];
25-
s.parentNode.insertBefore(hm, s);
26-
})();
27-
</script>
2828
</head>
2929
<body>
3030
<div class="u_nav-wrapper">

0 commit comments

Comments
 (0)