-
Notifications
You must be signed in to change notification settings - Fork 336
Closed
Labels
P0High priorityHigh priorityTeam MIssues for Squad 2Issues for Squad 2Type: EnhancementImprovement of an existing featureImprovement of an existing feature
Description
Feature Description
GA events should be added to keep track of interaction with the "connect more services" notification (see #11818).
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- The following GA events should be tracked for the given actions. See the GA events sheet.
- These changes are only active when the
setupFlowRefreshfeature flag is enabled.
| Event Name | Category | Trigger | Condition |
|---|---|---|---|
| view_notification | {viewContext}_connect-more-services-notification | element visibility | user views the "connect more services" notification |
| confirm_notification | {viewContext}_connect-more-services-notification | click | user clicks the "Connect more services" button on the notification |
| dismiss_notification | {viewContext}_connect-more-services-notification | click | user clicks the "Maybe later" or "Don't show again" button to dismiss the notification |
| tooltip_view | {viewContext}_connect-more-services-notification | element visibility | user views the tooltip pointing to the Settings menu item that is shown when dismissing the notification |
| tooltip_dismiss | {viewContext}_connect-more-services-notification | click | user clicks "Got it" or "X" to close the tooltip |
| _____________________ | _____________________________________________________ | __________________ | __________________________________________ |
Implementation Brief
- In
assets/js/components/notifications/ConnectMoreServices.tsx- Pass
gaTrackingEventArgstoBannerNotificationcomponent, like it is passed inModuleSetupSuccessNotificationcomponent here. - The
categoryproperty should be${ viewContext }_connect-more-services-notification.
- Pass
Test Coverage
- Add tests for these GA tracking events in
ConnectMoreServicescomponent's tests.
QA Brief
- Set up Site Kit with Analytics and
setupFlowRefresh - When both Analytics and Search Console modules are active and not gathering data, the "Connect More Services" notification will be displayed
- Verify the events are triggered per the table in AC using a tool like "GA Debug"
- It may be helpful to enable "Preserve log" in Chrome devtools in order to preserve the GA debug logs when clicking "Connect more service"
Changelog entry
- Add GA event tracking for user interaction with the "connect more services" notification.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P0High priorityHigh priorityTeam MIssues for Squad 2Issues for Squad 2Type: EnhancementImprovement of an existing featureImprovement of an existing feature