question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Goals CTA widget appears on shared dashboard

See original GitHub issue

Bug 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.

image.png


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 CreateGoalCTA or CTA if the user has been authenticated by querying the core/user data store via the isAuthenticated selector.

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:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
techanvilcommented, Jun 22, 2022

Thanks @hussain-t, that’s great. Moving back over to QA 😃

1reaction
aaemnnosttvcommented, Jun 16, 2022
  • it should only appear when the user viewing the dashboard has authenticated with Site Kit and has access to the Analytics account

@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 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found