Commit 0e82fa1d by zhangxw

线索管理去掉浏览埋点

1 parent d5ae4fd7
// packageUsedCar/pages/indexPage/clueManageList/clueManageList.js
const IMGURL = 'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
import reportPageTrackMixin from '~/mixins/reportPageTrackMixin'
import { getClueManageListApi, getClueManageStaticsApi } from "~/packageUsedCar/api"
Page({
behaviors: [reportPageTrackMixin],
/**
* 页面的初始数据
*/
data: {
track_event_code: 'clueListBrowse',
IMGURL,
pageTitle: "线索管理",
navBarHeight: 0,
......@@ -336,7 +333,7 @@ Page({
}
const queryString = this.buildQuery(queryObj)
const finalPath = `${usedcarWebviewUrl}/clue-detail?${queryString}`
wx.$track.setTrackData(0, `clue${mode === 'follow' ? 'pursue-clue' : 'cule-detail'}`, '')
wx.$track.setTrackData(0, `${mode === 'follow' ? 'pursue-clue' : 'cule-detail'}`, {})
if (mode === 'follow') {
return wx.navigateTo({url: `/packageUsedCar/pages/indexPage/pursueClue/pursueClue?cluesId=${item.id}`})
} else {
......@@ -387,14 +384,12 @@ Page({
* 生命周期函数--监听页面隐藏
*/
onHide() {
this.onPageHide()
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
this.onPageHide()
},
/**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!