Merge branch 'feat/GHZSCY-8150' into 'dev'
feat: GameDetailPageTabSelect埋点事件优化-客户端 https://jira.shanqu.cc/browse/GHZSCY-8150 See merge request halo/android/assistant-android!2217
This commit is contained in:
@ -815,7 +815,10 @@ class GameDetailWrapperFragment : BaseLazyFragment(), IScrollable {
|
||||
downloadStatus = gameEntity?.downloadStatusChinese ?: "",
|
||||
gameType = gameEntity?.categoryChinese ?: "",
|
||||
position = position,
|
||||
tabContent = tabEntity.name
|
||||
tabContent = tabEntity.name,
|
||||
linkType = tabEntity.link?.type ?: "",
|
||||
linkId = tabEntity.link?.link ?: "",
|
||||
linkText = tabEntity.link?.text ?: ""
|
||||
)
|
||||
|
||||
val entrance = if (mEntrance.contains("论坛详情")) "论坛" else "游戏"
|
||||
|
||||
@ -517,7 +517,10 @@ object SensorsBridge {
|
||||
downloadStatus: String,
|
||||
gameType: String,
|
||||
position: Int,
|
||||
tabContent: String
|
||||
tabContent: String,
|
||||
linkType: String,
|
||||
linkId: String,
|
||||
linkText: String,
|
||||
) {
|
||||
val json = json {
|
||||
KEY_GAME_ID to gameId
|
||||
@ -532,6 +535,9 @@ object SensorsBridge {
|
||||
KEY_GAME_TYPE to gameType
|
||||
KEY_POSITION to position
|
||||
KEY_TAB_CONTENT to tabContent
|
||||
KEY_LINK_TYPE to linkType
|
||||
KEY_LINK_ID to linkId
|
||||
KEY_LINK_TEXT to linkText
|
||||
}
|
||||
|
||||
trackEvent(EVENT_GAME_DETAIL_PAGE_TAB_SELECT, json)
|
||||
|
||||
Reference in New Issue
Block a user