Bug Description
In #9291 we updated this notification to use the new Notifications API. In doing so, a small regression was introduced which causes GA4 settings to be fetched when the module isn't connected.
Steps to reproduce
- Connect Site Kit from a clean state with minimal setup only
- Observe
analytics-4 settings fetch on dashboard
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- No requests to Analytics endpoints should be invoked on the SK dashboard when the module is not connected
Implementation Brief
Test Coverage
QA Brief
Changelog entry