google / google/site-kit-wp

AdSense 'Earnings at Risk' Notification Reappears After Tag Manager Setup

Open
#10,488 5 comments 0 reactions 2 assignees Claimed by @mohitwp View on GitHub
Type: Bug
Dominant language
JavaScript
Stars
1.4k
Forks
383
Avg merge
4d 12h
Merged PRs (30d)
80

Description

## Bug Description

The 'Earnings at Risk' notification, which appears after successfully setting up AdSense and is dismissed by the user, reappears after setting up Tag Manager.

## Steps to reproduce

1. Set up SK using the oi.ie site.
2. Set up AdSense.
3. Dismiss the AdSense 'Earnings at Risk' notification.
4. Navigate to Settings → Connect More Services.
5. Set up Tag Manager.
6. Select a Tag Manager account and container.
7. Complete the setup.
8. You will be redirected to the main dashboard.
9. A successful Tag Manager setup notice appears on the dashboard.
10. Wait a few seconds.
11. The AdSense 'Earnings at Risk' notice reappears.
_**12. Note : If we disconnect and reconnect analytics or any other module then The 'Earnings at Risk' notification will reappear again.**_

Expected : The 'Earnings at Risk' notification should not reappear after being dismissed.

## Screenshots

https://github.com/user-attachments/assets/acbffbd1-8bf9-4cfb-92ee-2b163ad4f94a

## Additional Context

- PHP Version:
- OS: [e.g. iOS]
- Browser: [e.g. chrome, safari]
- Plugin Version: [e.g. 22]
- Device: [e.g. iPhone6]

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

_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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.