[Header Logging] Adds three Statsig Events to Header#71776
Open
hannahbergam wants to merge 4 commits intostagingfrom
Open
[Header Logging] Adds three Statsig Events to Header#71776hannahbergam wants to merge 4 commits intostagingfrom
hannahbergam wants to merge 4 commits intostagingfrom
Conversation
fisher-alice
reviewed
Apr 1, 2026
fisher-alice
reviewed
Apr 1, 2026
| }; | ||
|
|
||
| onLessonNameClick = () => { | ||
| analyticsReporter.sendEvent(EVENTS.HEADER_LESSON_NAME_CLICKED, { |
Contributor
There was a problem hiding this comment.
For other statsig reports, I think product has requested appName and levelPath. Curious if @dmcavoy would want to include here as well. And if so, maybe we don't need lessonName?
Contributor
Author
There was a problem hiding this comment.
Yes definitely curious for her feedback on these various events- I know we chatted some in a private DM Dani so would love a sign off here or a request for other attributes if relevant!
Contributor
There was a problem hiding this comment.
I wonder if she just wants a signal on how often these features are clicked, if levelPath would be sufficient since then she would know the course name, and bubble number (to keep changes minimized).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds three analytics events to track user interactions with the header.
Events added
Header Lesson Name ClickedFires when a user clicks the lesson name link in the header.
Payload:
lessonNameHeader Progress Bubble Link ClickedFires when a user clicks a progress bubble to navigate to a level.
Payload:
previousLevelNumber,newLevelNumber,lessonNameHeader Unit Details ToggledFires when a user opens or closes the unit details popup (the "More"/"Less" toggle button).
Payload:
open(boolean)Side quest
BubbleChoice.tsxthat was surfaced by the Redux connect wrapper:_.mapKeysreturnsDictionary<V>which TypeScript can't verify satisfies thelevelprop type, fixed with anas unknown as LevelWithProgresscast.Links
Testing story
Deployment notes
Privacy and security