修改统计代码

This commit is contained in:
A1300399510
2024-10-21 10:47:53 +08:00
parent 399922bb77
commit f0de39f135
4 changed files with 11 additions and 10 deletions

View File

@@ -127,13 +127,13 @@ router.beforeEach(async (to, from, next) => {
}
}
if (window._czc) {
let location = window.location
let contentUrl = location.pathname + location.hash
let refererUrl = "/"
// 用于发送某个URL的PV统计请求
window._czc.push(["_trackPageview", contentUrl, refererUrl])
}
// if (window._czc) {
// let location = window.location
// let contentUrl = location.pathname + location.hash
// let refererUrl = "/"
// // 用于发送某个URL的PV统计请求
// window._czc.push(["_trackPageview", contentUrl, refererUrl])
// }
}