Skip to content

Commit bff69a4

Browse files
committed
统计
1 parent 3ed20c0 commit bff69a4

File tree

1 file changed

+36
-9
lines changed

1 file changed

+36
-9
lines changed

index.html

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,40 @@
11
<!DOCTYPE html>
22
<html lang="zh_CN">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/logo.png" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
3+
<head>
4+
<meta charset="UTF-8"/>
5+
<link rel="icon" type="image/svg+xml" href="/logo.png"/>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
77
<title>Simple Robot 文档引导站</title>
8-
</head>
9-
<body>
10-
<div id="app"></div>
11-
<script type="module" src="/src/main.ts"></script>
12-
</body>
8+
<!-- 百度统计 -->
9+
<!--suppress ES6ConvertVarToLetConst -->
10+
<script>
11+
var _hmt = _hmt || [];
12+
(function () {
13+
const hm = document.createElement("script");
14+
hm.src = "https://hm.baidu.com/hm.js?045f67a122223db9432c7856fc942fad";
15+
const s = document.getElementsByTagName("script")[0];
16+
s.parentNode.insertBefore(hm, s);
17+
})();
18+
</script>
19+
20+
</head>
21+
<!-- Google tag (gtag.js) -->
22+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-0JXHZH1719"></script>
23+
<script>
24+
window.dataLayer = window.dataLayer || [];
25+
26+
function gtag() {
27+
dataLayer.push(arguments);
28+
}
29+
30+
gtag('js', new Date());
31+
32+
gtag('config', 'G-0JXHZH1719');
33+
</script>
34+
35+
36+
<body>
37+
<div id="app"></div>
38+
<script type="module" src="/src/main.ts"></script>
39+
</body>
1340
</html>

0 commit comments

Comments
 (0)