google / google/site-kit-wp

Display snippet status alongside connected status in "Connected Services" tab

Open
#1,292 8 comments 1 reaction 0 assignees View on GitHub
P2 Type: Enhancement UX
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.

![image](https://user-images.githubusercontent.com/41326532/77632590-1d687400-6f46-11ea-80c4-78f0566bfe6b.png)

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.