Przeglądaj źródła

添加百度统计脚本

任一存 3 lat temu
rodzic
commit
1e4aa2055f
1 zmienionych plików z 9 dodań i 0 usunięć
  1. 9 0
      public/index.html

+ 9 - 0
public/index.html

@@ -7,6 +7,15 @@
     <link rel="icon" href="<%= BASE_URL %>icon.jpg">
     <title>5.18博物馆的力量--奔赴美好生活</title>
     <script src="<%= BASE_URL %>libs/hammer.js"></script>
+    <script>
+      var _hmt = _hmt || [];
+      (function() {
+        var hm = document.createElement("script");
+        hm.src = "https://hm.baidu.com/hm.js?6e780e50daf3be600389a15eb53860b5";
+        var s = document.getElementsByTagName("script")[0]; 
+        s.parentNode.insertBefore(hm, s);
+      })();
+      </script>
   </head>
   <body>
     <noscript>