Skip to content

Commit aaaadf9

Browse files
committed
feat: 添加谷歌分析工具
1 parent bc0baa9 commit aaaadf9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

index.html

+13
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,19 @@
2121
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css"/>
2222
<!-- 弹框样式 -->
2323
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert.min.css">
24+
25+
<!-- Google tag (gtag.js) -->
26+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HDCKH6500H"></script>
27+
<script>
28+
window.dataLayer = window.dataLayer || [];
29+
30+
function gtag() {
31+
dataLayer.push(arguments);
32+
}
33+
34+
gtag('js', new Date());
35+
gtag('config', 'G-HDCKH6500H');
36+
</script>
2437
</head>
2538

2639
<body background="" style=" background-repeat:no-repeat ;background-size:100% 100%;background-attachment: fixed;">

0 commit comments

Comments
 (0)