google / site-kit-wp

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
https://sitekit.withgoogle.com
Apache License 2.0
1.25k stars 292 forks source link

Split the "Sell products or services" answer in the User Input app #9489

Open benbowler opened 1 month ago

benbowler commented 1 month ago

Feature Description

As part of the updates to the User Input app, the existing "Sell products or services" question should be split into to separate questions, this requires some additional changes to logic to handle the behaviour with the legacy answer, as well as a banner for users who have previously selected the combined option. As part of this issue, only answer split should be added, banner will be implemented as separate issue

The proposed solution was discussed in a thread with @aaemnnosttv and @sigal-teller (message @benbowler for details), the summary of which is the following. Existing users who have selected the combined option should not be automatically migrated, these users should see a new banner in the Admin Settings screen when editing their metrics encouraging them to update the answer. The app metrics selection should continue working with the legacy combine answer selected.

This additional scope was first identified in #9374.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Test Coverage

QA Brief

Image

Changelog entry

zutigrm commented 1 month ago

Taking this back to AC with me, pending the new tailored metrics that should be added for each new answer. Current thread for this

10upsimon commented 2 weeks ago

AC looks good to me here ✅ I will move to IB and pick up myself.

zutigrm commented 2 weeks ago

IB ✅

jimmymadon commented 3 days ago

@10upsimon I noticed the PR here created 5 metric tiles for the provide_services option. If ACR is not active, then the max number of tiles should be 4. Could we please bring this back down to 4 metrics?

https://github.com/google/site-kit-wp/blob/8913261d60a8593fe7bff01fac23086f7b5c6e71/assets/js/googlesitekit/datastore/user/key-metrics.js#L338-L344

mohitwp commented 1 hour ago

QA Update :X

@10upsimon

Issue 1) 'connversionReporting'feature flag is not enabled. When I select purpose 'Provide services' then 5 metric tiles are showing. It should display 4 metric tiles.

![Image](https://github.com/user-attachments/assets/48bdf253-cf95-40ea-9f96-5b1e59a29cf8)

Issue-2 ) When I select purpose 'Sell Products" and if "WooCommerce" plugin is active then 4 metric tiles are showing.

As per AC metric list "Most engaged traffic source" should be listed when purpose is "Provide Services". When 'connversionReporting'feature flag is enabled then metrics are showing correctly as per table mentioned under AC.

![Image](https://github.com/user-attachments/assets/1a162312-da51-4a73-a940-54bbd8fa8289) 'conversionReporting' feature flag is enabled "Sell Products" ![Image](https://github.com/user-attachments/assets/9d53c91e-d55c-416d-a985-cfbb86d68178)

Q -3) The Figma design for the "Answers Edit Screen" also includes a description, but this has not been implemented yet. I also tested this with ACR enabled. Do we have a separate ticket to implement this?

![Image](https://github.com/user-attachments/assets/98a44432-7aa6-44c0-8584-8f9624c744cb)