-
Notifications
You must be signed in to change notification settings - Fork 481
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
Add amplitude event to code.org/music and update activity links #58450
Conversation
@@ -86,3 +86,5 @@ theme: responsive_full_width | |||
=hoc_s(:dance_afe_disclaimer) | |||
|
|||
= view :swiper_page_music_lab | |||
|
|||
= view :analytics_event_log_helper, event_name: AnalyticsConstants::MUSIC_PAGE_VISITED_EVENT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the analytics event log helper automatically sending all events to both?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just double checked- that .js file would require a refactor to send Statsig events by default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can pair on it this PM if you want! (Also... if Statsig isn't a requirement here then please ignore me)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how that Statsig console message originally showed up, and I can't get it to show up again, weird! 🤔
@dmcavoy do you want Statsig set up for Pegasus pages too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not right now. Lets keep this just amplitude
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The screenshot is of two user properties events, not 'page visited' events. You should be able to see the event show up in the console under the two you showed (which happen on nearly every page load). Can you update the screenshot with the specific events?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see the new screenshot yay!
Adds Amplitude (and Statsig) events to https://code.org/music, and updates the existing urls to the activity to include a
/reset
at the end in a few places.Links
Jira ticket: ACQ-1869
Testing story
Local testing