Commit 0177d532 authored by shenpc's avatar shenpc

增加统计

parent 21b79b27
......@@ -130,6 +130,10 @@ public final class OutHelp implements KPListener {
if (DataManager.get().checkOutOpen(mContext)) {
//第一次加载广告
OutAdManager.get().checkNeedLoadAd(ActionFrom.ACTION_UNKNOWN);
} else {
Map<String, String> map = new HashMap<>();
map.put("position", "init");
Statistics.getInstance().dotEvent("out_close", map);
}
}
......@@ -149,7 +153,9 @@ public final class OutHelp implements KPListener {
@Override
public void run() {
if (!DataManager.get().checkOutOpen(mContext)) {
Statistics.getInstance().dotEvent("out_close");
Map<String, String> map = new HashMap<>();
map.put("position", "time");
Statistics.getInstance().dotEvent("out_close", map);
LogUtil.d(TAG + "外展未开启,不轮询检测");
return;
}
......@@ -235,7 +241,9 @@ public final class OutHelp implements KPListener {
*/
public void receiverAction(String actionName) {
if (!DataManager.get().checkOutOpen(mContext)) {
Statistics.getInstance().dotEvent("out_close");
Map<String, String> map = new HashMap<>();
map.put("position", "rc_app");
Statistics.getInstance().dotEvent("out_close", map);
LogUtil.d(TAG + "外展未开启,不接收广播");
return;
}
......@@ -614,7 +622,9 @@ public final class OutHelp implements KPListener {
if (!DataManager.get().checkOutOpen(context)) {
LogUtil.d(TAG + "外展未开启,不接收广播");
Statistics.getInstance().dotEvent("out_close");
Map<String, String> map = new HashMap<>();
map.put("position", "rc_dx");
Statistics.getInstance().dotEvent("out_close", map);
return;
}
Statistics.getInstance().dotEvent("out_open");
......
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