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.
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.
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}
- It must update both the table and the data which is available for copying to clipboard (See the core