Display snippet status alongside connected status in "Connected Services" tab
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 384
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 77
Description
## Feature Description
Consider adding a notice to display the snippet status for the Analytics, AdSense and Tag Manager modules.
At present a user may have used another Analytics plugin to place the tracking code. For that reason they may have opted out of allowing Site Kit to place the snippet. They may then have decided to solely use Site Kit, while deactivating the other plugin. This can result in data not being collected on their site until they go back and toggle the Site Kit option to insert the snippet.
Rather than just state "`Analytics is connected`" it may be useful to add the snippet status alongside the connected status. "`Analytics is connected - Snippet inserted`"
Likewise with the AdSense and Tag Manager modules.

Without the above there have been cases whereby users are not aware their site didn't have the required snippet.
https://wordpress.org/support/topic/analytics-code-is-not-showing/
https://wordpress.org/support/topic/recover-missing-data/
---------------
_Do not alter or remove anything below. The following sections will be managed by moderators only._
## Acceptance criteria
*
## Implementation Brief
*
## QA Brief
*
## Changelog entry
*
Contributor guide
Research direction
Start by locating the Connected Services tab and the status rendering for the Analytics, AdSense, and Tag Manager modules. Trace how each module exposes whether its snippet is inserted, then verify that the connected status also displays the snippet status for all three modules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wordpress
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100