Background
This task is intended to capture what data wiring is needed to answer if this feature met its goals.
Measurement Goals
See Epic
Link to Finalized Designs
Designs spec: https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/iOS---%3E-Activity-Tab?node-id=349-2&p=f
See also: User flow diagram https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/iOS---%3E-Activity-Tab?node-id=367-1682&p=f&t=6yDaEjY3fNexhMqA-0
Tasks
- @ PM Add measurement goals to Epic
- @ PM Add link to final designs
- @Analyst Create schema Doc
- @analyst Create validation task after Beta release
- @Analyst Move ticket to Ready for Dev for engineers to implement instrumentation
- @Engineers the completed user stories instrument according to deck. Mark items in the Deck that have been instrumented with a green background. Target user stories for completion before external release:
- T408587: [L] Activity tab (user story) logged-in readers
- T408644: [S] Activity tab (user story): Survey
- T407674: [S] Activity Tab (user story): onboarding screen
- T407010: [M] Activity Tab (user story): Logged-out users
- T407009: [L] Activity tab (user story): Timeline of articles viewed
- T409596: [M] Activity tab (user story): Add articles saved to timeline
- T409200: Activity Tab (User story): Timeline of Behavior - Empty State
- T407002: [S] Activity tab (user story): Experiment setup
- T408174: [S] Activity tab (user story): Overflow menu
- T407676: [M] Activity Tab (user story): Total impact across projects
Eng Notes
TS or MA
- Check ios_article_link_interaction changes - https://docs.google.com/presentation/d/1z_YFvx3X4XFb4Wyp6axEMUxl_G0Si7khaQ--HV8MPH8/edit?slide=id.g39b7dd6aafa_0_285#slide=id.g39b7dd6aafa_0_285
- Investigate edit attempt step issues - https://docs.google.com/presentation/d/1z_YFvx3X4XFb4Wyp6axEMUxl_G0Si7khaQ--HV8MPH8/edit?slide=id.g39b7dd6aafa_0_285#slide=id.g39b7dd6aafa_0_285
- Check donate funnel events - https://docs.google.com/presentation/d/1z_YFvx3X4XFb4Wyp6axEMUxl_G0Si7khaQ--HV8MPH8/edit?slide=id.g39b7dd6aafa_0_150#slide=id.g39b7dd6aafa_0_150
- Check ios_navigation_events changes - https://docs.google.com/presentation/d/1z_YFvx3X4XFb4Wyp6axEMUxl_G0Si7khaQ--HV8MPH8/edit?slide=id.g39b7dd6aafa_0_186#slide=id.g39b7dd6aafa_0_186
- Check History events - https://docs.google.com/presentation/d/1z_YFvx3X4XFb4Wyp6axEMUxl_G0Si7khaQ--HV8MPH8/edit?slide=id.g39b7dd6aafa_0_168#slide=id.g39b7dd6aafa_0_168
- Check ios_login_action events. Create new MR in GitLab for the login schema for the additional category. - https://docs.google.com/presentation/d/1z_YFvx3X4XFb4Wyp6axEMUxl_G0Si7khaQ--HV8MPH8/edit?slide=id.g39b7dd6aafa_0_162#slide=id.g39b7dd6aafa_0_162
GO
- Create a new ActivityTabFunnel class in the project. You can copy ArticleTabsFunnel, rename the class, and strip away all of the public logging methods.
- You will want to delete all of the ActiveInterface and Action enums, we will add them back in 1-by-1 as you add new public logging methods for this funnel.
- Note you will need to add a new stream enum value to match the stream name in the deck (app_activity_tab).
Go through deck and add logging for these events (highlighted in light blue):
- Onboarding events - https://docs.google.com/presentation/d/1z_YFvx3X4XFb4Wyp6axEMUxl_G0Si7khaQ--HV8MPH8/edit?slide=id.g39b7dd6aafa_0_68#slide=id.g39b7dd6aafa_0_68
- Activity tab impression, Timeline click events - https://docs.google.com/presentation/d/1z_YFvx3X4XFb4Wyp6axEMUxl_G0Si7khaQ--HV8MPH8/edit?slide=id.g39b7dd6aafa_0_198#slide=id.g39b7dd6aafa_0_198
- Overflow menu events - https://docs.google.com/presentation/d/1z_YFvx3X4XFb4Wyp6axEMUxl_G0Si7khaQ--HV8MPH8/edit?slide=id.g39b7dd6aafa_0_192#slide=id.g39b7dd6aafa_0_192
- Survey events - https://docs.google.com/presentation/d/1z_YFvx3X4XFb4Wyp6axEMUxl_G0Si7khaQ--HV8MPH8/edit?slide=id.g39b7dd6aafa_0_174#slide=id.g39b7dd6aafa_0_174
- Logged-out module buttons (only the module buttons, TS or MA will cover the Accounts created should also be tracked in: section) - https://docs.google.com/presentation/d/1z_YFvx3X4XFb4Wyp6axEMUxl_G0Si7khaQ--HV8MPH8/edit?slide=id.g39b7dd6aafa_0_162#slide=id.g39b7dd6aafa_0_162
Testing Notes
Events are sent to several different streams: `app_activity_tab, app_donor_experience, ios.login_action, ios.navigation_events, eventlogging_EditAttemptStep, ios.article_link_interaction.
- Enable "Send analytics to wmflabs"
- Go to https://stream.wikimedia.beta.wmflabs.org/v2/ui/#/
- Watch streams, compare to events in deck.