Show a warning notice when enabling enhanced measurement with no events enabled. #7475
Labels
Module: Analytics
Google Analytics module related issues
Type: Enhancement
Improvement of an existing feature
Feature Description
If there are no enhanced measurement events enabled for the currently selected data stream, enabling enhanced measurement for the stream will have no tangible effect. This is a rare edge case as it requires the user to have explicitly taken the steps to disable all of the events.
With this being such an unlikely edge case, it doesn't seem worthwhile trying to engineer an overly complex solution that involves Site Kit enabling some or all of the events. Rather, we should simply show a warning notice when enabling enhanced measurement with no events enabled.
Therefore, we should add a warning notice to the "Enable enhanced measurements" toggle and banner when there are no events enabled for the selected web data stream. The notice should include a link to the selected web data stream's settings page on the Analytics site.
Toggle:
Banner:
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: