Goals CTA widget appears on shared dashboard
See original GitHub issueBug Description
Bug bash issue: https://app.asana.com/0/1202258919887896/1202419766205815 please refer to Asana issue for background
When the non-authenticated user (editor) has access to Analytics, the Goals CTA appears on the shared dashboard. It’s my understanding that this should not appear.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- The Analytics “Goals” CTA should not appear in any shared dashboard context; it should only appear when the user viewing the dashboard has authenticated with Site Kit
Implementation Brief
- Using
assets/js/modules/search-console/components/dashboard/SearchFunnelWidget/Overview.js,- Render
CreateGoalCTAorCTAif the user has been authenticated by querying thecore/userdata store via theisAuthenticatedselector.
- Render
Test Coverage
- No new tests to be added.
QA Brief
- Ensure that the Goals CTA doesn’t appear for non-authenticated users with view-only access to Analytics as mentioned in the AC.
- Ensure that it appears for the authenticated users.
Changelog entry
- Do not show “Create Goals” widget on shared dashboard.
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
The Goal Widget - monday.com Support
Keep your eye on your ultimate goal with the Goal Widget! Add it to your dashboard to watch your team smash your goals!...
Read more >Goals Widget - Pendo Help Center
The Goals widget surfaces usage goals on the dashboard where they can be tracked and shared with your other product analytics. Goals are...
Read more >Introducing The Call To Action Widget - Elementor
The Call to Action (CTA) widget grabs your visitors' attention and motivates them to interact and take action.
Read more >Review dashboard in Viva Goals - Microsoft Support
A Review Dashboard is a way to visually organize collections of data and can be utilized at all levels of the organization to...
Read more >For 'View Only dashboard' – CTAs that shared users can't use ...
We shouldn't show anything at all to view-only users when it comes to CTAs. The "Link Analytics and AdSense" one is a CTA,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks @hussain-t, that’s great. Moving back over to QA 😃
@tofumatt we don’t currently have a way to check if the user has that kind of access to the account/property. It may be possible to request through the management API but this would substantially increase the effort needed for this change and we don’t do it now so I’m going to remove that detail. We can always revisit it later in a follow-up 👍