feat: Baidu Tongji analytics module (#1087)
* Support Baidu Tongji analytics module * fix: baidutongji logo + props
This commit is contained in:
committed by
Nicolas Giard
parent
329e9872a1
commit
922b7bd1bd
11
server/modules/analytics/baidutongji/code.yml
Normal file
11
server/modules/analytics/baidutongji/code.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
head: |
|
||||
<!-- Baidu Tongji -->
|
||||
<script>
|
||||
var _hmt = _hmt || [];
|
||||
(function() {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?{{propertyTrackingId}}";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
</script>
|
||||
Reference in New Issue
Block a user