-
Notifications
You must be signed in to change notification settings - Fork 286
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
Add getReport
selector for GA4
#6173
Comments
Hey @nfmohit, this is looking good. The new selector will also need test coverage so please can you add to the Test Coverage section and consider whether the estimate will need adjusting as a result. |
My bad, missed it, my apologies. I've updated the IB. Thank you for noticing, @techanvil! |
Thanks @nfmohit! IB ✅ |
Unassigned from @derweili as this is a major blocker for Sprint 92 and he's out this week. |
Should this go back into EB if it's unassigned? Worth flagging in the Slack channel too if this is a major blocker :) |
Thanks @eclarke1, I had forgotten to move it back. :) I flagged it in Slack yesterday but will flag again today seeing as there's been no movement yet. |
There is a PR in progress for this #6287. During review we decided to make this issue dependent on #6172 but it could be that this one can resume now that 6172 has an IB and is in progress. I see @hussain-t has assigned himself here. @techanvil is working on 6172 and should be able to help answer any questions that may come up in the completion of this one. |
QA Update: ✅Verified:
Left this for |
QA ✅
|
Feature Description
This issue is for adding the primary selector to the GA4 data store to retrieve GA4 reporting data from the backend.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
modules/analytics-4
data store should receive agetReport( options )
selectorGET:report
datapoint foranalytics-4
if no report data has been received yet for the given report optionsImplementation Brief
assets/js/modules/analytics/datastore/report.js
file inassets/js/modules/analytics-4/datastore
.assets/js/modules/analytics-4/datastore/report.js
:getPageTitles
,isGatheringData
, andhasZeroData
selectors, for now.analytics
withanalytics-4
.MODULES_ANALYTICS
withMODULES_ANALYTICS_4
.getReport
resolver, remove the code execution afterfetchGetReport
is called.Test Coverage
getReport
selector, similar to the one inassets/js/modules/analytics/datastore/report.test.js
.QA Brief
QA:Eng Brief
getReport
selector is properly registered to themodules/analytics-4
datastore.getReport
selector fetches and returns data from theanalytics-4/report
endpoint.getReport
selector throws errors when fetched with invalid paramsChangelog entry
getReport
selector for Google Analytics 4.The text was updated successfully, but these errors were encountered: