Skip to content

Include snippet detection within a users Site Health report - Specifically the "Info" tab  #8193

Open

Description

Feature Description

Following on from the completion of #5695, consider adding the tag placement status within the Site Kit section of a users Site Kit information tab (and not only the "Status" tab as per that related issue). This could then be output when a users shares their Site Health information, via the "Copy to clipboard" option within a users Site Health info tab.

Below: The Analytics tag detection addition as per #5695, which appears in the "Status" tab of a users Site Health info.

image

Below: Where we could include this detection information. Rather than a "Yes" it could include details on detection, or it could have it's own detection flag.

image

Additional notes

  • At present WordPress does not output details of a users "Status" with recommendations or errors when copying the info to clipboard. There is an open trac ticket that would mean status errors and recommendations are included. I did create one myself which was marked as a duplicate.

https://i.imgur.com/su9LfcC.png


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

Acceptance criteria

  • The infrastructure in Add Site Health check for source code/tag status #5695 should be enhanced such that the same asynchronous check for tag placements can be used in new module-specific additions to the Info tab of the Site Health data
    • It must update both the table and the data which is available for copying to clipboard (See the core directory-sizes check implementation for an example)
    • There should be one row added per-module, by each module that implements a tag with the format
      {module name} snippet status: {TBD}

Implementation Brief

Test Coverage

QA Brief

Changelog entry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions