您可以使用百度网站统计或谷歌网站统计
百度统计
1、请前往百度网站统计注册并获取 hm 地址。
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
2、将获取的 hm 地址粘贴到后台,然后保存即可。
https://hm.baidu.com/hm.js?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
谷歌统计
1、请前往谷歌网站统计注册并获取 UID 号
<script async src="https://www.googletagmanager.com/gtag/js?id=X-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'X-XXXXXXXXXX');
</script>
2、将获取的 UID 号粘贴到后台,然后保存即可。
X-XXXXXXXXXX