Skip to content

Commit ef09f32

Browse files
committed
baidu tongji
1 parent 1afbcfe commit ef09f32

3 files changed

Lines changed: 19 additions & 11 deletions

File tree

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ JB :
8888
# Set 'provider' to false to turn analytics off globally.
8989
#
9090
analytics :
91-
provider : google
91+
provider : custom
9292
google :
9393
tracking_id : 'UA-63460307-1'
9494

_includes/custom/analytics

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<script>
2+
var _hmt = _hmt || [];
3+
(function() {
4+
var hm = document.createElement("script");
5+
hm.src = "//hm.baidu.com/hm.js?b4cd947a1a72530619b1feb29ccc738a";
6+
var s = document.getElementsByTagName("script")[0];
7+
s.parentNode.insertBefore(hm, s);
8+
})();
9+
</script>
10+
<script>
11+
var _hmt = _hmt || [];
12+
(function() {
13+
var hm = document.createElement("script");
14+
hm.src = "//hm.baidu.com/hm.js?b4cd947a1a72530619b1feb29ccc738a";
15+
var s = document.getElementsByTagName("script")[0];
16+
s.parentNode.insertBefore(hm, s);
17+
})();
18+
</script>

_includes/cutom/analytics

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)