【埋点】激励广告点击事件上报为RV_Button_Click_Game,需求中为RV_Button_Click和需求不符
This commit is contained in:
parent
44efca168c
commit
26df5def50
|
|
@ -9,7 +9,6 @@ import kotlinx.coroutines.CoroutineScope
|
||||||
import kotlinx.coroutines.Dispatchers
|
import kotlinx.coroutines.Dispatchers
|
||||||
import kotlinx.coroutines.SupervisorJob
|
import kotlinx.coroutines.SupervisorJob
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
import kotlinx.coroutines.runBlocking
|
|
||||||
|
|
||||||
object StatisticUtil {
|
object StatisticUtil {
|
||||||
|
|
||||||
|
|
@ -20,7 +19,7 @@ object StatisticUtil {
|
||||||
const val KEY_Home_Show: String = "Home_Show"
|
const val KEY_Home_Show: String = "Home_Show"
|
||||||
const val KEY_Guide: String = "Guide"
|
const val KEY_Guide: String = "Guide"
|
||||||
const val KEY_RV_Button_Show: String = "RV_Button_Show"
|
const val KEY_RV_Button_Show: String = "RV_Button_Show"
|
||||||
const val KEY_RV_Button_Click_Game: String = "RV_Button_Click_Game"
|
const val KEY_RV_Button_Click: String = "RV_Button_Click"
|
||||||
const val KEY_Video_Play_Start: String = "Video_Play_Start"
|
const val KEY_Video_Play_Start: String = "Video_Play_Start"
|
||||||
const val KEY_Video_Play_End: String = "Video_Play_End"
|
const val KEY_Video_Play_End: String = "Video_Play_End"
|
||||||
const val KEY_Welfare_Show: String = "Welfare_Show"
|
const val KEY_Welfare_Show: String = "Welfare_Show"
|
||||||
|
|
|
||||||
|
|
@ -257,7 +257,7 @@ class WithDrawSubActivity : AppViewsEmptyViewModelActivity<ViewBinding>() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun sendClickStatistic() {
|
private fun sendClickStatistic() {
|
||||||
StatisticUtil.reportEvents(StatisticUtil.KEY_RV_Button_Click_Game, mapOf("Position" to "RV_Accelerate2"))
|
StatisticUtil.reportEvents(StatisticUtil.KEY_RV_Button_Click, mapOf("Position" to "RV_Accelerate2"))
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun ViewBinding.initObservers() {
|
override fun ViewBinding.initObservers() {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ import androidx.core.view.isVisible
|
||||||
import com.ama.core.architecture.util.setOnClickBatch
|
import com.ama.core.architecture.util.setOnClickBatch
|
||||||
import com.ama.core.architecture.widget.BindingDialog
|
import com.ama.core.architecture.widget.BindingDialog
|
||||||
import com.gamedog.statisticreporter.StatisticUtil
|
import com.gamedog.statisticreporter.StatisticUtil
|
||||||
import com.gamedog.vididin.VidiConst
|
|
||||||
import com.gamedog.vididin.VidiStatisticHelper
|
import com.gamedog.vididin.VidiStatisticHelper
|
||||||
import com.viddin.videos.free.databinding.DialogWatchVideoBinding
|
import com.viddin.videos.free.databinding.DialogWatchVideoBinding
|
||||||
import com.gamedog.vididin.router.Router
|
import com.gamedog.vididin.router.Router
|
||||||
|
|
@ -62,7 +61,7 @@ class WatchAdDialog(context: Activity, private val mWatchAdType: Int, statisticT
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun sendClickStatistic() {
|
private fun sendClickStatistic() {
|
||||||
StatisticUtil.reportEvents(StatisticUtil.KEY_RV_Button_Click_Game, mapOf("Position" to VidiStatisticHelper.getShowFromStr(mWatchAdType)))
|
StatisticUtil.reportEvents(StatisticUtil.KEY_RV_Button_Click, mapOf("Position" to VidiStatisticHelper.getShowFromStr(mWatchAdType)))
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun gotoWatchVideo() {
|
private fun gotoWatchVideo() {
|
||||||
|
|
|
||||||
|
|
@ -301,7 +301,7 @@ class DailySignDialog(context: Activity) : BindingDialog<DialogDailySignBinding>
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fromType.isNotEmpty()) {
|
if (fromType.isNotEmpty()) {
|
||||||
StatisticUtil.reportEvents(StatisticUtil.KEY_RV_Button_Click_Game, mapOf("Position" to fromType))
|
StatisticUtil.reportEvents(StatisticUtil.KEY_RV_Button_Click, mapOf("Position" to fromType))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue