Commit 61d34a98 authored by jyx's avatar jyx

体外场景打点区分透明页和弹窗页

parent 582a5ceb
...@@ -138,9 +138,9 @@ object AdReportManager { ...@@ -138,9 +138,9 @@ object AdReportManager {
EVENT_TYPE_SCENCE_HORIZONTALSCREEN("207"), // 207 体外场景 -5 逻辑校验 - 是否横屏 EVENT_TYPE_SCENCE_HORIZONTALSCREEN("207"), // 207 体外场景 -5 逻辑校验 - 是否横屏
EVENT_TYPE_SCENCE_CALL("208"), // 208 体外场景 -6 逻辑校验 - 是否接打电话 EVENT_TYPE_SCENCE_CALL("208"), // 208 体外场景 -6 逻辑校验 - 是否接打电话
EVENT_TYPE_SCENCE_AFTER_CHECK("209"), // 209 体外场景 -1,-3,-4之后 bringToFront之前 EVENT_TYPE_SCENCE_AFTER_CHECK("209"), // 209 体外场景 -1,-3,-4之后 bringToFront之前
EVENT_TYPE_SCENCE_NEW_BRINGTOFRONT("210"), // 210 体外场景 保活回调 - bringToFront触发-onCall和onResult前 EVENT_TYPE_SCENCE_NEW_BRINGTOFRONT("210"), // 210 体外场景 保活回调 - 透明页bringToFront触发-onCall和onResult前
EVENT_TYPE_SCENCE_NEW_ONCALL("211"), // 211 体外场景 保活回调 - ONCALL EVENT_TYPE_SCENCE_NEW_ONCALL("211"), // 211 体外场景 保活回调 - 透明页ONCALL
EVENT_TYPE_SCENCE_NEW_ONCALL_SHOW("212"), // 212 体外场景 保活回调 - 进入ONCALL_调用界面 EVENT_TYPE_SCENCE_NEW_ONCALL_SHOW("212"), // 212 体外场景 保活回调 - 透明页进入ONCALL_调用界面
EVENT_TYPE_SCENCE_NEW_TRANSPARENT_SHOW_SUC("213"), // 213 体外场景 场景透明页 - 透明页展示成功 EVENT_TYPE_SCENCE_NEW_TRANSPARENT_SHOW_SUC("213"), // 213 体外场景 场景透明页 - 透明页展示成功
EVENT_TYPE_SCENCE_NEW_REQUEST_AD("214"), // 214 体外场景 场景透明页 - 透明页发起请求 EVENT_TYPE_SCENCE_NEW_REQUEST_AD("214"), // 214 体外场景 场景透明页 - 透明页发起请求
EVENT_TYPE_SCENCE_NEW_REQUEST_AD_ELSE("215"), // 215 体外场景 场景透明页 - 透明页else未发起请求 EVENT_TYPE_SCENCE_NEW_REQUEST_AD_ELSE("215"), // 215 体外场景 场景透明页 - 透明页else未发起请求
...@@ -168,6 +168,10 @@ object AdReportManager { ...@@ -168,6 +168,10 @@ object AdReportManager {
EVENT_TYPE_SCENCE_OUT_SCENE_AD_CLOSE("243"), // 243 体外场景 广告类 - 关闭广告 EVENT_TYPE_SCENCE_OUT_SCENE_AD_CLOSE("243"), // 243 体外场景 广告类 - 关闭广告
EVENT_TYPE_SCENCE_NEW_SCENE_RESULT_SHOW("244"), // 244 体外场景 结果页展示成功(广告播放完成) EVENT_TYPE_SCENCE_NEW_SCENE_RESULT_SHOW("244"), // 244 体外场景 结果页展示成功(广告播放完成)
EVENT_TYPE_SCENCE_NEW_RESULT_BRINGTOFRONT("260"), // 260 体外场景 保活回调 - 弹窗页bringToFront触发-onCall和onResult前
EVENT_TYPE_SCENCE_NEW_RESULT_ONCALL("261"), // 261 体外场景 保活回调 - 弹窗页ONCALL
EVENT_TYPE_SCENCE_NEW_RESULT_ONCALL_SHOW("262"), // 262 体外场景 保活回调 - 弹窗页进入ONCALL_调用界面
EVENT_TYPE_SCENCE_BLACK("401"), // 命中黑名单-新 EVENT_TYPE_SCENCE_BLACK("401"), // 命中黑名单-新
EVENT_TYPE_SCENCE_ALL_SWITCH_CLOSE("402"), // 总开关 关闭-新 EVENT_TYPE_SCENCE_ALL_SWITCH_CLOSE("402"), // 总开关 关闭-新
EVENT_TYPE_SCENCE_SWITCH_CLOSE("403"), // 场景开关 关闭-新 EVENT_TYPE_SCENCE_SWITCH_CLOSE("403"), // 场景开关 关闭-新
......
...@@ -240,13 +240,17 @@ class WifiAdManager private constructor() { ...@@ -240,13 +240,17 @@ class WifiAdManager private constructor() {
carrier, carrier,
bundle, bundle,
TriggerActivity::class.java, TriggerActivity::class.java,
false null,
false,
IntentUtils.TIME_TYPE_ANIM
) )
TransSceneActivity.TRANSPARENT_TYPE_APK -> IntentUtils.startActivity3( TransSceneActivity.TRANSPARENT_TYPE_APK -> IntentUtils.startActivity3(
carrier, carrier,
bundle, bundle,
ApkActivity::class.java, ApkActivity::class.java,
false null,
false,
IntentUtils.TIME_TYPE_ANIM
) )
} }
} }
......
...@@ -57,7 +57,14 @@ object OutAppRouter { ...@@ -57,7 +57,14 @@ object OutAppRouter {
TransSceneActivity.TRANSPARENT_TYPE, TransSceneActivity.TRANSPARENT_TYPE,
TransSceneActivity.TRANSPARENT_TYPE_APK TransSceneActivity.TRANSPARENT_TYPE_APK
) )
IntentUtils.startActivity3(tempType, bundle, TransSceneActivity::class.java, false) IntentUtils.startActivity3(
tempType,
bundle,
TransSceneActivity::class.java,
null,
false,
IntentUtils.TIME_TYPE_TRANS
)
} }
/** /**
......
...@@ -61,7 +61,15 @@ public class IntentUtils { ...@@ -61,7 +61,15 @@ public class IntentUtils {
"", "",
AdReportManager.EventType.EVENT_TYPE_SCENCE_NEW_BRINGTOFRONT.getValue()); AdReportManager.EventType.EVENT_TYPE_SCENCE_NEW_BRINGTOFRONT.getValue());
switch (timeType) {
case TIME_TYPE_TRANS: // 体外场景透明页
UmengManager.INSTANCE.onEvent(AdReportManager.EventType.EVENT_TYPE_SCENCE_NEW_BRINGTOFRONT.name()); UmengManager.INSTANCE.onEvent(AdReportManager.EventType.EVENT_TYPE_SCENCE_NEW_BRINGTOFRONT.name());
break;
case TIME_TYPE_ANIM: // 体外场景弹窗页
UmengManager.INSTANCE.onEvent(AdReportManager.EventType.EVENT_TYPE_SCENCE_NEW_RESULT_BRINGTOFRONT.name());
break;
}
} }
ActivityManagerProxy.INSTANCE.bringToFront(new ActivityManagerProxy.BringToFrontListener() { ActivityManagerProxy.INSTANCE.bringToFront(new ActivityManagerProxy.BringToFrontListener() {
...@@ -119,7 +127,14 @@ public class IntentUtils { ...@@ -119,7 +127,14 @@ public class IntentUtils {
"", "",
AdReportManager.EVENT_TYPE_SCENCE_PRESHOW); AdReportManager.EVENT_TYPE_SCENCE_PRESHOW);
switch (timeType) {
case TIME_TYPE_TRANS: // 体外场景透明页
UmengManager.INSTANCE.onEvent(AdReportManager.EventType.EVENT_TYPE_SCENCE_NEW_ONCALL.name()); UmengManager.INSTANCE.onEvent(AdReportManager.EventType.EVENT_TYPE_SCENCE_NEW_ONCALL.name());
break;
case TIME_TYPE_ANIM: // 体外场景弹窗页
UmengManager.INSTANCE.onEvent(AdReportManager.EventType.EVENT_TYPE_SCENCE_NEW_RESULT_ONCALL.name());
break;
}
AdReportManager.INSTANCE.eventScene( AdReportManager.INSTANCE.eventScene(
AdReportManager.INNER_OUT, AdReportManager.INNER_OUT,
...@@ -128,7 +143,14 @@ public class IntentUtils { ...@@ -128,7 +143,14 @@ public class IntentUtils {
"onCall 正常结束", "onCall 正常结束",
AdReportManager.EVENT_TYPE_SCENCE_CLOSE); AdReportManager.EVENT_TYPE_SCENCE_CLOSE);
switch (timeType) {
case TIME_TYPE_TRANS: // 体外场景透明页
UmengManager.INSTANCE.onEvent(AdReportManager.EventType.EVENT_TYPE_SCENCE_NEW_ONCALL_SHOW.name()); UmengManager.INSTANCE.onEvent(AdReportManager.EventType.EVENT_TYPE_SCENCE_NEW_ONCALL_SHOW.name());
break;
case TIME_TYPE_ANIM: // 体外场景弹窗页
UmengManager.INSTANCE.onEvent(AdReportManager.EventType.EVENT_TYPE_SCENCE_NEW_RESULT_ONCALL_SHOW.name());
break;
}
} }
......
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