Open techanvil opened 1 month ago
@techanvil I must have missed this during UX review because I feel that the expectation as a wholly Analytics-powered feature should be that it no longer has a presence on the dashboard when disconnected (aside from perhaps a generic CTA to connect GA as when originally setting up) just like any other. It seems this has been conceptually modeled after Key Metrics which was the first instance where such a "GA disconnected" informational banner was introduced because nearly all metrics come from GA but not all which made it a dependency. It's also possible because KM has its own settings which are independent from all modules. Given audiences are specific to GA, this doesn't seem like something we should do, and instead the UX should be updated to reflect this.
This will require some additional conversations I'm sure, but even if this was previously discussed I'd like to revisit it before we move forward here. This may affect other issues in motion or hopefully not any which have been already been done, but if so please let me know.
Thanks @aaemnnosttv, that makes sense to me. We have already implemented the Connect CTA Banner, but we can simply back that code out if we decide not to include it. It's not something we need to do for the bug bash as the code path for showing it is simply no longer reached and the feature is effectively reset when Analytics is disconnected.
I've marked this as a P2 and moved it to the Backlog so we can continue the conversation post bug bash and make the call on how to proceed. Cc @ivonac4
Bug Description
Steps to reproduce
Additional Context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
previousPropertyID
, to track the previously connected Analytics property ID.availableAudiences
,audienceSegmentationSetupCompletedBy
,availableAudiencesLastSyncedAt
, andpreviousPropertyID
are retained when Analytics is deactivated. Additionally, don't callReset_Audiences::reset_audience_data()
when Analytics is deactivated.propertyID
topreviousPropertyID
in thepre_update_option_googlesitekit_analytics-4_settings
hook.Test Coverage
QA Brief
Changelog entry