-
Notifications
You must be signed in to change notification settings - Fork 293
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
Add survey for GA4 dashboard view #6574
Comments
@kuasha420, I am not sure if it is the right place to trigger that survey. How about we add the |
@eugene-manuilov that's brilliant, I have updated the IB accordingly. Cheers. |
IB ✔️ |
QA Update:
|
@wpdarren, yes, that's okay. Those quotes are omitted for keys in preview. |
|
Feature Description
Users using the GA4 dashboard view on their sites should be offered a survey to track the usage of the new GA4 dashboard view, and receive valuable insights and feedback accordingly.
The survey trigger infrastructure is being enhanced in #6306.
The trigger ID for this survey can be
view_ga4_dashboard
and it should show up on sites using the GA4 dashboard view.Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
'view_ga4_dashboard'
should be triggered on the main Site Kit Dashboard when GA4 is connected andisGA4DashboardView()
returnstrue
.Implementation Brief
(It is probably useful to wait until #6306 is in Approval before writing an IB for this issue, as it would depend on the implementation of #6306.)
assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidgetGA4/index.js
:SurveyViewTrigger
under theGrid
component with the following props:triggerID
=view_ga4_dashboard
ttl
=DAY_IN_SECONDS
DashboardAllTrafficWidgetGA4
is being rendered, it means GA4 is connected andisGA4DashboardView
is true as pointed out by @eugene-manuilov here, so we can unconditionally render the aforementionedSurveyViewTrigger
here without any checks.Test Coverage
QA Brief
ga4reporting
feature flag./wp-json/google-site-kit/v1/core/user/data/survey-trigger?_locale=user
endpoint that has{"data":{"triggerID":"view_ga4_dashboard"}}
in payload.Changelog entry
The text was updated successfully, but these errors were encountered: