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

Align Analytics Event Names with iOS #310

Merged
merged 6 commits into from
Jan 9, 2025
Merged

Conversation

sshropshire
Copy link
Collaborator

Summary of changes

  • This PR aligns Analytics event names with iOS
  • This PR also converts event names to enums to simplify auditing

Checklist

  • Added a changelog entry

Authors

List GitHub usernames for everyone who contributed to this pull request.

@sshropshire sshropshire marked this pull request as ready for review January 9, 2025 19:07
@sshropshire sshropshire requested a review from a team as a code owner January 9, 2025 19:07
}
private object ApproveOrderEvent {
// @formatter:off
const val STARTED = "card-payments:approve-order:started"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is nice!

analyticsService.sendAnalyticsEvent(eventName, orderId)
const val AUTH_CHALLENGE_SUCCEEDED = "card-payments:approve-order:auth-challenge:succeeded"
const val AUTH_CHALLENGE_FAILED = "card-payments:approve-order:auth-challenge:failed"
const val AUTH_CHALLENGE_CANCELED = "card-payments:approve-order:auth-challenge-canceled"
Copy link
Collaborator

@KunJeongPark KunJeongPark Jan 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this one also follows format :canceled

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 ok I think this got fixed I had some typos initially.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉🚢

@sshropshire sshropshire merged commit ac52f2d into main Jan 9, 2025
6 checks passed
@sshropshire sshropshire deleted the analytics_alignment_with_ios branch January 9, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants