New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analytics appearing in zero data state for new analytics property. #8023
Comments
Just co-assigned myself and I will look into this later today, thank you @bethanylang ! |
Hi @zutigrm, thanks for drafting the IB. One thing - we generally return That being the case it would be preferable to return a defined value e.g. If you've already explored the option of using |
Hi @techanvil Basically both are working, idea behind returning undefined was to simulate loading, as when What do you think? |
Hmmm... I think that I'd go with returning |
@techanvil Thank you. It does makes sense. IB updated |
Great, thanks @zutigrm. IB LGTM. ✅ |
QA Update: ✅Verified:
|
Bug Description
I set up site kit with analytics a/c property which have data. After that I created new property for the same account. As per QAB when I create new property then Analytics should appear in gathering data state. But, in my test I created 3 new properties but for all of them Analytics appearing in zero data state on main dashboard.
Steps to reproduce
Screenshots
Recording.706.mp4
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
assets/js/modules/analytics-4/datastore/report.js
, after this check:site-kit-wp/assets/js/modules/analytics-4/datastore/report.js
Lines 204 to 206 in ff60aea
propertyCreateTime
is0
and returnfalse
Test Coverage
assets/js/modules/analytics-4/datastore/report.test.js
, add a new test case underisGatheringData
to cover that it should returnfalse
ifpropertyCreateTime
is0
- not set yetQA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: