Commit ad1dd786 by 霍志良

feat:user埋点添加

parent 137ede2c
...@@ -46,6 +46,13 @@ class UserBIConstants { ...@@ -46,6 +46,13 @@ class UserBIConstants {
const val PRIVACY_AUTHORIZATION_CLICK = const val PRIVACY_AUTHORIZATION_CLICK =
"privacy_authorization_page|privacy_authorization_click" "privacy_authorization_page|privacy_authorization_click"
//手机注册页 手机号一键登录页右上角点击跳过
const val USER_REGISTER_PAGE_SKIP_CLICK = "user_register_page|skip_click"
//隐私授权二次确认弹窗
const val PRIVACY_AUTHORIZATION_TWO_CLICK =
"privacy_authorization_page|privacy_authorization_two_click"
//百度监测 用户信息收集页面 //百度监测 用户信息收集页面
const val COLLECT_USER_INFO_PAGE = "collect_user_info_page" const val COLLECT_USER_INFO_PAGE = "collect_user_info_page"
......
...@@ -357,6 +357,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont ...@@ -357,6 +357,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
*/ */
private fun setClickEvent() { private fun setClickEvent() {
skip_bind.setOnClickListener { skip_bind.setOnClickListener {
ActionCountUtils.count(UserBIConstants.USER_REGISTER_PAGE_SKIP_CLICK)
ActionCountUtils.count( ActionCountUtils.count(
uid = "", uid = "",
partId = UserBIConstants.PART_ID_LOGIN_MAIN, partId = UserBIConstants.PART_ID_LOGIN_MAIN,
......
...@@ -65,10 +65,18 @@ class SecretActivity : BaseActivity() { ...@@ -65,10 +65,18 @@ class SecretActivity : BaseActivity() {
secretDialog = SecretDialog(this, object : SecretDialog.OnSecretDialogListener { secretDialog = SecretDialog(this, object : SecretDialog.OnSecretDialogListener {
override fun onCancel() { override fun onCancel() {
setResult(SECRET_PAGE_REQUEST_FAILURE_CODE) setResult(SECRET_PAGE_REQUEST_FAILURE_CODE)
ActionCountUtils.count(
UserBIConstants.PRIVACY_AUTHORIZATION_TWO_CLICK,
"拒绝"
)
finish() finish()
} }
override fun onSure() { override fun onSure() {
ActionCountUtils.count(
UserBIConstants.PRIVACY_AUTHORIZATION_TWO_CLICK,
"同意"
)
agreeAction() agreeAction()
} }
}) })
......
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