google / google/site-kit-wp

Only the "All Users" metric is populating on pages where there is a "Not enough traffic to display stats"

Open
#7,510 6 comments 0 reactions 1 assignee Claimed by @jimmymadon View on GitHub
Module: Analytics Type: Bug Type: Support
Dominant language
JavaScript
Stars
1.4k
Forks
383
Avg merge
4d 14h
Merged PRs (30d)
77

Description

## Bug Description

[One user in the forums](https://wordpress.org/support/topic/not-enough-traffic-yet-to-display-stats-on-somes-posts/) reported an issue whereby they are seeing only the "All users" metric appear, with no visits in the graph below it, or in the panels/sources pie chart.

This is similar to #7369, only in this instance this occurs on a single site. It may be due to the property connected being also connected on multiple other sites, and requires further troubleshooting.

## Steps to reproduce

Unable to reproduce so far. [Testing was done](https://app.asana.com/0/1200206407034013/1205084891871251) to try and recreate this based on selecting the same GA4 property for multiple sites.

## Screenshots

![image](https://github.com/google/site-kit-wp/assets/41326532/1a599109-8fee-4614-ad6d-148887a85d85)

![image](https://github.com/google/site-kit-wp/assets/41326532/201baf85-9dc5-4563-9eba-bbba61ede39b)

![image](https://github.com/google/site-kit-wp/assets/41326532/f7605119-5056-4139-98fe-53ca8b0e5fcf)

## Additional Context

- [Support topic ](https://wordpress.org/support/topic/not-enough-traffic-yet-to-display-stats-on-somes-posts)
- [SH info](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/edit#response=ACYDBNjHZ4P89cAFTs5TK8IWHc6EinTE6D0BCuywSIYtC-cmTjnirvnOa-x_-gmDVKDBdxo)
- This site is using Analytics via a GA4 tag added via Tag Manager (There are events configured in GTM - not feasible to switch to a SK placed snippet)
- This error occurs only on individual pages - not all pages, usually on pages with low traffic.

## Insights & Troubleshooting Checks performed

- [x] Health Check & Troubleshooting plugin check - No obvious cause
- [x] Front end check (mixed content, minified content, combined JS) - No issues found
- [x] Incognito mode - The same occurs
- [x] Checked users Site Health info, no identified causes
- [x] Additional .htaccess rules applied - True. No checked performed with default htaccess file.
- [x] Confirmed no modification of Site Kit placed snippet - SK not used to place GA4 snippet
- [ ] User confirmed no ""Critical errors"" in their Site Health status
- [ ] Temporary disabled WAF rules at host level - including ModSecurity
- [ ] Checked site setup and dashboard from another WordPress site on the same hosting platform
- [ ] Checked does the same occur from another admin users account
- [x] Reviewed XHR requests - No errors as reported by user
- [x] Reviewed Console Errors - No console errors

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

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