Amirbey/fix missing attributes in frontend events#9535
Conversation
changelog: Internal, Logging, Add missing attributes to frontend logger events
app/services/analytics_events.rb
Outdated
| 'Frontend: IdV: user clicked sp link on ready to verify page', | ||
| 'IdV: user clicked sp link on ready to verify page', | ||
| ) | ||
| end | ||
|
|
||
| def idv_clicked_what_to_bring_link_on_ready_to_verify_page(**_extra) | ||
| track_event( | ||
| 'Frontend: IdV: user clicked what to bring link on ready to verify page', | ||
| 'IdV: user clicked what to bring link on ready to verify page', |
There was a problem hiding this comment.
Just want to flag that these renames will now fail build as of #9539. Renaming an event is a good opportunity to adopt the new naming scheme.
These should be :idv_clicked_sp_link_on_ready_to_verify_page and :idv_clicked_what_to_bring_link_on_ready_to_verify_page now if we're okay to do a rename.
There was a problem hiding this comment.
thanks Andrew .. removed this unused method as we discussed 👍🏿
There was a problem hiding this comment.
I think this one was translated incorrectly by me to begin with and should not have included the Frontend prefix?
There was a problem hiding this comment.
@mitchellhenke I think we didn't need the method you added, it was already wired up to an existing analytics method that doesn't have the prefix. The method you added was effectively dead code.
identity-idp/app/services/analytics_events.rb
Lines 1826 to 1832 in 5209813
🛠 Summary of changes
Re-add attributes for analytics events.