修改统计代码
This commit is contained in:
parent
399922bb77
commit
f0de39f135
2
dist/index.html
vendored
2
dist/index.html
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -28,7 +28,8 @@
|
|||||||
</noscript>
|
</noscript>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<div style="display:none;">
|
<div style="display:none;">
|
||||||
<script type="text/javascript" src="//v1.cnzz.com/z_stat.php?id=1281224882&web_id=1281224882"></script>
|
<!-- <script type="text/javascript" src="//v1.cnzz.com/z_stat.php?id=1281224882&web_id=1281224882"></script> -->
|
||||||
|
<script defer src="//stat.gter.net/script.js" data-website-id="28aa17dc7c163e7e7cf88d0c556a729b"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var _hmt = _hmt || [];
|
var _hmt = _hmt || [];
|
||||||
(function () {
|
(function () {
|
||||||
|
@ -127,13 +127,13 @@ router.beforeEach(async (to, from, next) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window._czc) {
|
// if (window._czc) {
|
||||||
let location = window.location
|
// let location = window.location
|
||||||
let contentUrl = location.pathname + location.hash
|
// let contentUrl = location.pathname + location.hash
|
||||||
let refererUrl = "/"
|
// let refererUrl = "/"
|
||||||
// 用于发送某个URL的PV统计请求
|
// // 用于发送某个URL的PV统计请求
|
||||||
window._czc.push(["_trackPageview", contentUrl, refererUrl])
|
// window._czc.push(["_trackPageview", contentUrl, refererUrl])
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user