google / google/site-kit-wp

Revise the "Looks like your site is not allowed access to Google account data" wording

Open Beginner friendly
#12,124 0 comments 0 reactions 0 assignees View on GitHub
Type: Enhancement Type: Support
Dominant language
JavaScript
Stars
1.4k
Forks
383
Avg merge
4d 14h
Merged PRs (30d)
77

Description

## Bug Description

When a site can't display stats based on a user no longer being connected, the below error appears in the all traffic (GA) and Search traffic (SC) sections, possibly AdSense too.

> Error: Looks like your site is not allowed access to Google account data and can’t display stats in the dashboard. (Please try again.) To fix this, [redo the plugin setup](https://sitekit.withgoogle.com/v2/site-management/setup/?code=sitekit-****&site_id=*****.apps.sitekit.withgoogle.com&step=delegation_consent).

Revise the message to remove the `(Please try again.)` sentence

Image

## Additional Context

- SK 1.171.0
- The error as it appears in the codebase can be found [here](https://github.com/google/site-kit-wp/blob/46b20d8e1740d2e3f91c6555a12747651a3a3d51/assets/js/components/ErrorNotice.js#L85)
- I have a site active where this error appears, happy to share a login
- The full error, where you'll see a related banner above all metrics, can be found [here](https://i.ibb.co/gMHgLrnn/image.png)

---------------

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

## Acceptance criteria

*

## Implementation Brief

* [ ]

### Test Coverage

*

## QA Brief

*

## Changelog entry

*

Contributor guide

Open the contributing guide

Research direction

Start in assets/js/components/ErrorNotice.js at the referenced line where the Google account data error is defined. Remove only the “(Please try again.)” sentence and verify that the dashboard error wording matches the requested message without it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.