Commit 2c6810f1 by 霍志良

feat:埋点

parent b534c7aa
......@@ -6,12 +6,12 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.13",
"m-consultant" : "0.0.59.99",
"m-consultant" : "0.0.60.00",
"m-fm" : "0.0.30.04",
"m-user" : "0.0.61.78",
"m-user" : "0.0.61.79",
"m-home" : "0.0.22.80",
"m-im" : "0.0.19.99",
"m-dynamic" : "0.0.7.32",
"m-im" : "0.0.20.00",
"m-dynamic" : "0.0.7.34",
"m-article" : "0.0.0.10",
"m-muse" : "0.0.28.24",
......@@ -89,12 +89,12 @@ ext {
//第三步 若干
"m-confide" : "0.0.49.13",
"m-consultant" : "0.0.59.99",
"m-consultant" : "0.0.60.00",
"m-fm" : "0.0.30.04",
"m-user" : "0.0.61.78",
"m-user" : "0.0.61.79",
"m-home" : "0.0.22.80",
"m-im" : "0.0.19.99",
"m-dynamic" : "0.0.7.32",
"m-im" : "0.0.20.00",
"m-dynamic" : "0.0.7.34",
"m-article" : "0.0.0.8",
"m-muse" : "0.0.28.24",
......
......@@ -333,9 +333,11 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
showConsultAssistantDialog()
} else {
hideConsultAssistantDialog()
endTime=System.currentTimeMillis()
ActionCountUtils.count(ConsultBIConstants.ConsultEvent.YDL_USER_CONSULT_PAGE_STAY_VISIT,(endTime-startTime).toString())
}
if (startTime!=0L){
endTime=System.currentTimeMillis()
ActionCountUtils.count(ConsultBIConstants.ConsultEvent.YDL_USER_CONSULT_PAGE_STAY_VISIT,(endTime-startTime).toString())
}
}
if (isVisibleToUser && isResumed) {
onResume()
}
......
......@@ -21,6 +21,7 @@ import com.alibaba.android.arouter.facade.annotation.Route;
import com.ydl.ydl_image.module.GlideApp;
import com.ydl.ydlcommon.base.BaseFragment;
import com.ydl.ydlcommon.utils.BuryPointUtils;
import com.ydl.ydlcommon.utils.LogUtil;
import com.ydl.ydlcommon.utils.ScreenUtil;
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils;
import com.yidianling.common.tools.RxDeviceTool;
......@@ -229,8 +230,10 @@ public class TrendsHomeFragment extends BaseFragment implements ITrendHomeView,
startTime=System.currentTimeMillis();
ActionCountUtils.Companion.count(YDL_USER_ASK_PAGE_VISIT);
} else {
endTime=System.currentTimeMillis();
ActionCountUtils.Companion.count(YDL_USER_ASK_PAGE_STAY_VISIT,String.valueOf(endTime-startTime));
if (startTime!=0L){
endTime=System.currentTimeMillis();
ActionCountUtils.Companion.count(YDL_USER_ASK_PAGE_STAY_VISIT,String.valueOf(endTime-startTime));
}
}
if (isVisibleToUser && isResumed()) {
onResume();
......
......@@ -114,11 +114,13 @@ class NewMultiMessageFragment : BaseFragment() {
getMsgData()
}else{
endTime = System.currentTimeMillis()
count(
"ydl_user_message_page|ydl_user_message_page_stay_visit",
String.valueOf(endTime - startTime)
)
if (startTime!=0L){
endTime = System.currentTimeMillis()
count(
"ydl_user_message_page|ydl_user_message_page_stay_visit",
String.valueOf(endTime - startTime)
)
}
}
}
......
......@@ -208,8 +208,10 @@ public class MineFragment extends BaseFragment implements SwipeRefreshLayout.OnR
ActionCountUtils.Companion.count(YDL_USER_MY_PAGE_VISIT);
showConsultAssistantDialog();
} else {
endTime=System.currentTimeMillis();
ActionCountUtils.Companion.count(YDL_USER_MY_PAGE_STAY_VISIT,String.valueOf(endTime-startTime));
if (startTime!=0L){
endTime=System.currentTimeMillis();
ActionCountUtils.Companion.count(YDL_USER_MY_PAGE_STAY_VISIT,String.valueOf(endTime-startTime));
}
hideConsultAssistantDialog();
}
if (isVisibleToUser && isResumed()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment