google / google/site-kit-wp

Add explanatory placeholder for suppressed tags

Open
#9,635 2 comments 0 reactions 1 assignee Claimed by @aaemnnosttv View on GitHub
P1 Type: Enhancement
Dominant language
JavaScript
Stars
1.4k
Forks
383
Avg merge
4d 12h
Merged PRs (30d)
80

Description

## Feature Description

There are a number of conditions that are checked when determining if SK should print a given tag on the page or not, including filters to allow for more granular control that isn't otherwise possible via the SK UIs. This works as expected but can be confusing when nothing is output on the page where the tag would be. For unauthenticated users, this should remain as it is today, however for logged-in users (perhaps only those w/ some SK capability), we should output a placeholder with the reason why the tag was not placed. We won't always be able to provide an exact explanation, but we currently don't provide anything, so there is substantial room for improvement.

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

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