Skip to content

Commit

Permalink
Add Login click event analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirFir committed Apr 26, 2024
1 parent 5389913 commit dbfb841
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ object AnalyticsConstant {
const val BUS_TIMETABLE_TIME = "bus_timetable_time"
const val BUS_TIMETABLE_EXPRESS = "bus_timetable_express"
const val MENU_IMAGE = "menu_image"
const val LOGIN = "login"
const val START_SIGN_UP = "start_sign_up"
const val COMPLETE_SIGN_UP = "complete_sign_up"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ class LoginActivity : ActivityBase(R.layout.activity_login) {
password = loginEdittextPw.text.toString().trim()
)
}
EventLogger.logClickEvent(
AnalyticsConstant.Domain.USER,
AnalyticsConstant.Label.LOGIN,
getString(R.string.login)
)
}

loginButtonSignup.setOnClickListener {
Expand Down
1 change: 1 addition & 0 deletions koin/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<string name="app_name" tools:ignore="DuplicateDefinition">코인\n커뮤니티</string>

<string name="sign_up">회원가입</string>
<string name="login">로그인</string>

<!--left drawer menu -->
<string name="home">홈</string>
Expand Down

0 comments on commit dbfb841

Please sign in to comment.