Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[init] Amplitude User Property Setting #267

Merged
merged 3 commits into from
Sep 19, 2024

Conversation

jihyunniiii
Copy link
Contributor

Related issue 🛠

Work Description ✏️

  • Amplitude User Property Setting 작업을 진행하였습니다.
    • User Property 관련 확장 함수 추가
    • user_name

Screenshot 📸

스크린샷 2024-09-18 오후 5 19 20

Uncompleted Tasks 😅

  • N/A

To Reviewers 📢

  1. User Property Setting
    User Property 값에 Int 값이랑 String 관련 값밖에 없어서 두 형식에 관한 updateUserProperty 함수 만들어 두었습니다.
fun updateStringUserProperty(propertyName: String, propertyValue: String) {
    amplitude.identify(Identify().set(property = propertyName, value = propertyValue))
}

fun updateIntUserProperty(propertyName: String, propertyValue: Int) {
    amplitude.identify(Identify().set(property = propertyName, value = propertyValue))
}

아래와 같이 사용하시면 됩니다.

AmplitudeUtils.updateStringUserProperty(propertyName = USER_NAME, propertyValue = uiState.editProfile.name)
  1. 테스트를 위해 user_name 부분을 연결해두었습니다.
    스크린샷 참고하셔서 확인해주시면 됩니다. (event property와 확인하는 방법 다름)

@jihyunniiii jihyunniiii merged commit b3cfbee into develop Sep 19, 2024
1 check passed
@jihyunniiii jihyunniiii deleted the init-amplitude-user-property branch September 19, 2024 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[init] Amplitude User Property Setting
2 participants