-
Notifications
You must be signed in to change notification settings - Fork 336
Closed
Labels
P0High priorityHigh priorityTeam SIssues for Squad 1Issues for Squad 1Type: EnhancementImprovement of an existing featureImprovement of an existing feature
Description
Feature Description
Implement new tracking events defined in [SK] Periodic Email Reports - GA4 Events(V1 tab)
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- GA Tracking events fire for every event defined in [SK] Periodic Email Reports - GA4 Events
Implementation Brief
Invite User Panel
- Update the invite user panel component added in Create the “Invite others to subscribe” component #11857, add tracking on invite button click with
send_inviteaction and{viewContext}_email_reports_invite_usercategory.
Settings Disable Modal
- Update settings disable modal added in Show modal before disabling Email reporting in admin settings #11862:
- Track
view_modalon{viewContext}_email_reports_settings_confirm_disable_modalwhen modal renders. - Track
dismiss_modalwhen user cancels/closes modal without confirming disable. - Track
learn_morewhen user clicks learn more link. - Track
visit_email_report_settingswhen user clicks email report settings link. - The existing disable event should be updated to trigger on confirmation of feature disablement.
- Track
User Settings Panel
- Update file
assets/js/components/email-reporting/UserSettingsSelectionPanel/index.js:- Update
onSideSheetOpento trackview_panelwith category{viewContext}_email_reports_user_settings. - Update close handler to track
close_panelwith same category. - Track
subscribewhen user subscribes (not previously subscribed), pass selected frequency as label. - Track
change_frequencywhen user changes subscription (already subscribed), pass selected frequency as label. - Track
unsubscribewhen user unsubscribes.
- Update
Error Notices
- Update the notices added in Implement error notice infrastructure in admin settings and email reports subscription panel #11860:
- Use
useNotificationEventshook with IDemail_reports_{errorID}_notification. - Wire up
view_notification,dismiss_notification,confirm_notificationevents for each notice type.
- Use
Test Coverage
- Update the tests for each updated component to confirm each tracking event is fired.
QA Brief
This issue standardises all GA events for both the PUE v0 and v1 epics.
- Go through the "Description" of every single event within the Periodic Email Reports - GA4 events spreadsheet and test every event.
Changelog entry
- Include user analytics in email reporting feature.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P0High priorityHigh priorityTeam SIssues for Squad 1Issues for Squad 1Type: EnhancementImprovement of an existing featureImprovement of an existing feature