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 291 forks source link

Improve new Gathering Data Notifications to include link to add more services #4939

Closed wpdarren closed 10 months ago

wpdarren commented 2 years ago

Bug Description

While testing #4698 I noticed an improvement on the new dashboard notification messages for gathering data. We are asking users to think about connecting more services. It would be more user friendly to add a link to the connect more services tab within Site Kit settings. (wp-admin/admin.php?page=googlesitekit-settings#/connect-more-services)

image

We have done this with the new service connect notifications with serviceSetupV2


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

Acceptance criteria

Implementation Brief

Note: The IB below is implemented in a quick POC branch here.

Fixing an issue where clicking on the CTA Link does not persist the dismissal

Test Coverage

QA Brief

Changelog entry

marrrmarrr commented 2 years ago

At this stage, the users should see CTAs within the dashboard widgets to activate GA and AdSense (if they haven't already activated GA during setup). PSI is already activated, so the only thing they could really activate would be Optimize or GTM (no effect on reporting within the dashboard). @felixarntz what are your thoughts on this, should we funnel people to Settings?

felixarntz commented 2 years ago

@marrrmarrr Yeah, I think including a link to Settings > Connect more services there would make sense. Does that sound good to you?

jimmymadon commented 11 months ago

@marrrmarrr With the sunset of Optimize and potentially removing support for GTM in the future (based on the Singular Analytics Module Design doc), there aren't many services left to connect once SC and Analytics are connected. So instead of creating a "Primary CTA button", I feel a secondary link to the Connect More Services tab in Site Kit settings is better. Since this is a simple notification, I don't see too much value in complicating the logic here and checking for "which modules are connected?" before slightly changing the notification message / CTA.

c.c. @aaemnnosttv

UPDATE: The only other alternative here is to close this issue or actually modify it so that we remove the second sentence from the notification.

techanvil commented 11 months ago

Hey @jimmymadon, it would be good to specify how the link should look here. As it stands, I would take it to mean we make the phrase "connect more services" a link. However, reviewing the setup success notification which is referred to in the Bug Description, I see it has a separate "Go to Settings" link. Presumably for consistency we should do the same here. WDYT?

image

marrrmarrr commented 11 months ago

If the primary action here is to connect more services, then that should be the primary CTA as well. So I'd suggest "Let's go" or something to that effect that would send people to settings and "Maybe later" as the standard secondary CTA if they don't want to connect more things right away.

@jimmymadon if the person hasn't connected AdSense at this stage, wouldn't there be a tile for that as well in Settings? Separately, we'll be adding AdWords soon, so there will be more things to connect, if the user chooses to do so.

More generally, I think we need to rethink the messages we send after setup is complete, to provide a smoother onboarding experience (e.g. instead of directing people to connect more stuff, do a tour of the dashboard and what's on there). But that's a discussion for another GH issue (:

techanvil commented 11 months ago

AC :white_check_mark:

Note that I made a minor amendment to change "link" to "CTA" in the AC.

tofumatt commented 11 months ago

IB ✅

mxbclang commented 11 months ago

@tofumatt @jimmymadon This issue is in EB but doesn't have an estimate – can you please add? Thanks!

jimmymadon commented 11 months ago

@bethanylang Oops - just added one.

hussain-t commented 10 months ago

Hi @marrrmarrr, do we need to dispatch an event when clicking the primary CTA? If so, can we use the existing dismiss_notification or a new one?

aaemnnosttv commented 10 months ago

@hussain-t primary CTAs use confirm_notification, dismiss would only be for the "maybe later" case. Since the notification already implements these other common events, it should do the same for the primary CTA as well.

hussain-t commented 10 months ago

Thanks, @aaemnnosttv 👍

mohitwp commented 10 months ago

QA Update ⚠️

@hussain-t I have one question that clicking on "See more Services" or "Maybe later" CTA dismisses the Banner which appears again when we clear session data or admin login again. It is same as current functionality on latest. Can you please confirm that it is correct and we will not dismiss the banner permanently ?

https://github.com/google/site-kit-wp/assets/94359491/5d9ca315-886a-4e5c-ae16-96051c069f6e https://github.com/google/site-kit-wp/assets/94359491/b06613fa-67f5-4d40-aaff-92962eb3fb21 ![image](https://github.com/google/site-kit-wp/assets/94359491/f6bd37d5-2a44-4bfe-8a13-1224c4c7c9af)
hussain-t commented 10 months ago

I have one question that clicking on "See more Services" or "Maybe later" CTA dismisses the Banner which appears again when we clear session data or admin login again. It is same as current functionality on latest. Can you please confirm that it is correct and we will not dismiss the banner permanently ?

@mohitwp, that's expected since we don't permanently dismiss the gathering / zero data notifications.

mohitwp commented 10 months ago

Thanks @hussain-t !

QA Update ✅

https://github.com/google/site-kit-wp/assets/94359491/5d9ca315-886a-4e5c-ae16-96051c069f6e https://github.com/google/site-kit-wp/assets/94359491/b06613fa-67f5-4d40-aaff-92962eb3fb21 ![image](https://github.com/google/site-kit-wp/assets/94359491/f6bd37d5-2a44-4bfe-8a13-1224c4c7c9af)