-
Notifications
You must be signed in to change notification settings - Fork 329
Closed
Labels
Module: AdSenseGoogle AdSense module related issuesGoogle AdSense module related issuesModule: AnalyticsGoogle Analytics module related issuesGoogle Analytics module related issuesModule: Search ConsoleSearch Console module related issuesSearch Console module related issuesP1Medium priorityMedium priorityTeam MIssues for Squad 2Issues for Squad 2Type: EnhancementImprovement of an existing featureImprovement of an existing feature
Description
Feature Description
Site Kit is inherently limited in the freshness of the data it can display by the underlying services that provide it. Initially, this was 2 days old for Search Console and 1 day for Analytics and AdSense. Since v2 of the Search Console API however, we were able to have all services aligned on a 1 day (yesterday) cutoff. Fast-forward to today, and with the latest announcement from the Search Console team, all of these services now support intra-day freshness from the reporting APIs!
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- All report requests should be updated such that the end date of the date range is the current day
Implementation Brief
- Update all module
DATE_RANGE_OFFSETconstants to0 - Update failing tests with hard-coded dates to use
getDateRangeDatesselector where possible- Where selectors are not available, update hard coded values
Test Coverage
- No additions or subtractions
- Will likely need to regenerate many VRT reference images
QA Brief
- Keep your developer tools open with network log recording turned on.
- Set up the latest version of Site Kit with Analytics, AdSense, and Ads modules.
- Open the Site Kit dashboard.
- In a new browser tab, switch to the
developbranch (where the changes made here are present). - Observe the payload of the report requests made and ensure that the
endDateof the requests is the current date, whereas in the latest version, theendDateis the previous day. - Compare the data in the two tabs and notice that there may be a slight difference as the data for the current day is taken into account.
- Ensure that Site Kit functions well otherwise without any unexpected errors.
Changelog entry
- Update reports to include data for the current day.
Metadata
Metadata
Assignees
Labels
Module: AdSenseGoogle AdSense module related issuesGoogle AdSense module related issuesModule: AnalyticsGoogle Analytics module related issuesGoogle Analytics module related issuesModule: Search ConsoleSearch Console module related issuesSearch Console module related issuesP1Medium priorityMedium priorityTeam MIssues for Squad 2Issues for Squad 2Type: EnhancementImprovement of an existing featureImprovement of an existing feature