LG-6111 - Event tracking for personal key dl#6335
Conversation
7fab59f to
7078284
Compare
7078284 to
dd7b95f
Compare
There was a problem hiding this comment.
Sorry to adjust again, but I noticed that in the upcoming reimplementation of this step, this event was implemented in #6257 as ...
| trackEvent('IdV: personal key downloaded'); | |
| trackEvent('IdV: download personal key'); |
It would be good to keep these in sync so we don't have to worry about querying for two event names.
There was a problem hiding this comment.
No worries..agreed on keeping them in sync.
Updated.
dd7b95f to
b38dcc9
Compare
aduth
left a comment
There was a problem hiding this comment.
LGTM 👍
I notice that the event name was previously "IdV: personal key downloaded" when it was removed in #6162. That being said, the front-end logging will prefix any logged event with "Frontend:", so the event name would be different anyways.
(cc @zachmargolis)
Good catch on the
The documentation tracks the previous name of the event as well, so I think we should use the method |
I wondered about this, but one thing I worry about is consistency around when and why we want the prefix in some cases and not others for frontend-logged events. If we want to avoid it altogether, I'd almost rather just get rid of the prefix, and force all events to be added to the allowlist. |
Yes I am a big fan of that! Only issue is that in the ~15 minute deploy window for new events from the client, old servers may reject. But I think it's worth a shot, we could even tag the |
Thinking we should do this as a separate refactor story? |
Yes, migrating the rest of frontend events should totally be a different story (or stories, if we group them in batches of 5) But for this one, we should definitely add |
b38dcc9 to
568276c
Compare
Cool. Added, take a look. |
568276c to
5deb4ee
Compare
|
Thanks! Can you remove the identity-idp/app/services/analytics_events.rb Lines 610 to 615 in 700f883 |
5deb4ee to
e890e72
Compare
|
Ah yes.. done. |
e890e72 to
24c4159
Compare
changelog: Analytics, Event Tracking, Personal Keys Download
24c4159 to
9bb4260
Compare
No description provided.