Browse Source

加上流量监控

yangc 8 years ago
parent
commit
0c07b8a2c2
1 changed files with 5 additions and 0 deletions
  1. 5 0
      app.html

+ 5 - 0
app.html

@@ -8,6 +8,7 @@
   <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/Swiper/3.4.2/css/swiper.css"/>
   {{ HEAD }}
   <script>
+    var _hmt = _hmt || [];
     (function (w, d) {
       if (/(MSIE)|(Trident)/.test(w.navigator.userAgent)) {
         var head = d.getElementsByTagName('head')[0]
@@ -20,6 +21,10 @@
         appendScript('https://cdn.bootcss.com/html5shiv/r29/html5.min.js')
         appendScript('https://cdn.bootcss.com/js-polyfills/0.1.33/polyfill.min.js')
       }
+      var hm = document.createElement("script");
+      hm.src = "https://hm.baidu.com/hm.js?34793672f88552a77437f2cee7864118;"
+      var s = document.getElementsByTagName("script")[0];
+      s.parentNode.insertBefore(hm, s);
     })(window, document)
   </script>
 </head>