Only render the Audience Segmentation Setup CTA when Analytics is connected #8876
Labels
Module: Analytics
Google Analytics module related issues
P2
Low priority
Type: Enhancement
Improvement of an existing feature
Feature Description
This is a small cleanup, as at present the Setup CTA won't actually be displayed when Analytics isn't connected due to its internal check for Analytics data availability on load. However it would be preferable to entirely avoid rendering the component when Analytics is not connected, thus avoiding redundant Analytics store lookups and so forth.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
AudienceSegmentationSetupCTAWidget
inDashboardMainApp
.site-kit-wp/assets/js/components/DashboardMainApp.js
Lines 262 to 264 in 774ea23
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: