-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot recover Analytics module when UA is not connected. #6861
Comments
IB ✅ |
Fix module recovery without UA connected
QA Update:
|
Hi @wpdarren. When you say you "disconnected" PSI, may I know how you did it? If the module is entire disconnected from Site Kit, it won't be recoverable anymore and any other admin should be able to set it up from Site Kit again. In order to test if PSI can be recovered, I think you need to disconnect the admin from Site Kit who set up PSI. That way, it will lose its owner ID and another admin will be able to recover it.
I added some context behind this here. I'd recommend adding this to the bug bash board and creating a new issue for it. |
QA Update: ✅Verified:
Please see 2nd note above regarding an API error seen in the settings when logged in as the second admin user. I will be creating a ticket for this and adding it to the known issues board. |
Bug Description
When Analytics is connected without UA, and then put into a recoverable state, the Module Recovery Alert becomes stuck on the loading state.
Steps to reproduce
Once #6825 and #6846 are implemented:
ga4Reporting
anddashboardSharing
feature flags enabled, setup Site Kit.Screenshots
Additional Context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
Update
getRecoverableModules()
to returnanalytics-4
instead ofanalytics
when the GA4 Dashboard View is enabled.Within
assets/js/googlesitekit/modules/datastore/modules.js
, in the*getRecoverableModules()
resolver:analytics
module.getSettings()
selector to resolve, in order for thedashboardView
setting to be immediately available.moduleList
:analytics
and ifisGA4DashboardView()
is true.analytics-4
instead ofanalytics
tomoduleList
.Within
assets/js/components/notifications/ZeroDataStateNotifications/index.js
:analytics
in the list of recoverable modules to instead check foranalytics-4
whenisGA4DashboardView()
is true.site-kit-wp/assets/js/components/notifications/ZeroDataStateNotifications/index.js
Line 78 in ce3938d
Within
assets/js/modules/search-console/components/dashboard/SearchFunnelWidgetGA4/index.js
:analytics
in the list of recoverable modules to instead check foranalytics-4
.site-kit-wp/assets/js/modules/search-console/components/dashboard/SearchFunnelWidgetGA4/index.js
Line 122 in ce3938d
Test Coverage
getRecoverableModules()
test coverage to cover this new behaviour.QA Brief
Steps to reproduce
mentioned in the issue description.debug.log
.Changelog entry
The text was updated successfully, but these errors were encountered: