Skip to content

Add front end logging for "Show password" clicks#6946

Merged
jmdembe merged 19 commits intomainfrom
LG-6143-show-password-analytics
Sep 19, 2022
Merged

Add front end logging for "Show password" clicks#6946
jmdembe merged 19 commits intomainfrom
LG-6143-show-password-analytics

Conversation

@jmdembe
Copy link
Contributor

@jmdembe jmdembe commented Sep 13, 2022

This PR adds front-end logging to track if the "Show password" button has been clicked and the location of the button.

Why? So that, as a team, we can get insight on where that button is being used, and to inform future development of that feature

@jmdembe jmdembe marked this pull request as draft September 13, 2022 13:37
@jmdembe jmdembe marked this pull request as ready for review September 13, 2022 16:35
@jmdembe jmdembe force-pushed the LG-6143-show-password-analytics branch from 2560e97 to 864b38b Compare September 14, 2022 19:17
changelog: Internal, Analytics, Add analytics event for show password button
@jmdembe jmdembe force-pushed the LG-6143-show-password-analytics branch from 864b38b to 87648eb Compare September 14, 2022 19:25
@jmdembe jmdembe force-pushed the LG-6143-show-password-analytics branch from 88334c7 to 66f2f2f Compare September 15, 2022 14:52
try to make the linter happy
@jmdembe jmdembe force-pushed the LG-6143-show-password-analytics branch from 66f2f2f to 28c81ec Compare September 15, 2022 15:23
@jmdembe jmdembe force-pushed the LG-6143-show-password-analytics branch from 4166184 to 5eed47b Compare September 15, 2022 21:45
@jmdembe jmdembe requested review from a team, aduth and zachmargolis September 16, 2022 13:03
Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

I have a question at #6946 (comment)

@jmdembe jmdembe merged commit 2a06b44 into main Sep 19, 2022
@jmdembe jmdembe deleted the LG-6143-show-password-analytics branch September 19, 2022 15:04
'IdV: download personal key' => :idv_personal_key_downloaded,
'IdV: Native camera forced after failed attempts' => :idv_native_camera_forced,
'Multi-Factor Authentication: download backup code' => :multi_factor_auth_backup_code_download,
'Show Password Button Clicked' => :show_password_button_clicked,
Copy link
Contributor

Choose a reason for hiding this comment

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

This mapping is not working as expected, and the events are still being logged with the "Frontend:" prefix. I think it has to do with the difference in case, "Show Password Button Clicked" vs. "Show Password button clicked".

Suggested change
'Show Password Button Clicked' => :show_password_button_clicked,
'Show Password button clicked' => :show_password_button_clicked,

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.

3 participants