wikijs-fork/server/modules/analytics/baidutongji/code.yml
Lawrence Ching 922b7bd1bd feat: Baidu Tongji analytics module (#1087)
* Support Baidu Tongji analytics module

* fix: baidutongji logo + props
2019-10-04 17:07:54 -04:00

12 lines
326 B
YAML

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>