Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
ad1dd786
Commit
ad1dd786
authored
Jun 01, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:user埋点添加
parent
137ede2c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
UserBIConstants.kt
m-user/src/main/java/com/yidianling/user/constants/UserBIConstants.kt
+7
-0
RegisterAndLoginActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
+1
-0
SecretActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/SecretActivity.kt
+8
-0
No files found.
m-user/src/main/java/com/yidianling/user/constants/UserBIConstants.kt
View file @
ad1dd786
...
...
@@ -46,6 +46,13 @@ class UserBIConstants {
const
val
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"
...
...
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
View file @
ad1dd786
...
...
@@ -357,6 +357,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
*/
private
fun
setClickEvent
()
{
skip_bind
.
setOnClickListener
{
ActionCountUtils
.
count
(
UserBIConstants
.
USER_REGISTER_PAGE_SKIP_CLICK
)
ActionCountUtils
.
count
(
uid
=
""
,
partId
=
UserBIConstants
.
PART_ID_LOGIN_MAIN
,
...
...
m-user/src/main/java/com/yidianling/user/ui/login/SecretActivity.kt
View file @
ad1dd786
...
...
@@ -65,10 +65,18 @@ class SecretActivity : BaseActivity() {
secretDialog
=
SecretDialog
(
this
,
object
:
SecretDialog
.
OnSecretDialogListener
{
override
fun
onCancel
()
{
setResult
(
SECRET_PAGE_REQUEST_FAILURE_CODE
)
ActionCountUtils
.
count
(
UserBIConstants
.
PRIVACY_AUTHORIZATION_TWO_CLICK
,
"拒绝"
)
finish
()
}
override
fun
onSure
()
{
ActionCountUtils
.
count
(
UserBIConstants
.
PRIVACY_AUTHORIZATION_TWO_CLICK
,
"同意"
)
agreeAction
()
}
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment