google / site-kit-wp Public
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 date filters for relevant metrics in AdSense dashboard #317
Comments
|
Hey @OisinOConnor, is there a more descriptive name you'd suggest for the section called "Other metrics"? |
|
@OisinOConnor Could you provide an update on this? |
|
Possibly:
|
|
@marrrmarrr Updated ACs based on our conversation earlier. I also included a note to change the "Advanced Settings" text to "See full stats in AdSense", which makes more sense here and is in line with what we display in the same place for Analytics. I opened #1921 for the separate follow-up task to introduce a graph for these metrics over the period to this screen like we said earlier. |
|
Does this mean all you guys and these notices...that you are working on my site?
…-----Original Message-----
From: Felix Arntz <notifications@github.com>
To: google/site-kit-wp <site-kit-wp@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Sent: Mon, Aug 17, 2020 11:12 am
Subject: Re: [google/site-kit-wp] Add date filters for relevant metrics in AdSense dashboard (#317)
@marrrmarrr Updated ACs based on our conversation earlier. I also included a note to change the "Advanced Settings" text to "See full stats in AdSense", which makes more sense here and is in line with what we display in the same place for Analytics.I opened #1921 for the separate follow-up task to introduce a graph for these metrics over the period to this screen like we said earlier.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
@ryanwelcher IB mostly looks good, just one thing:
These metrics being set in PHP is now somewhat legacy, that datapoint as of #1776 supports requesting specific metrics from the client. So rather than altering that server-side default (which only exists for backward-compatibility), let's modify the client-side request to include a |
|
IB |
@cole10up I believe this is expected behavior. |
|
@cole10up @felixarntz - @aaemnnosttv and I were able to reproduce the zero data issue and it's related to |
|
It turns out the issue was local to the |
|
@cole10up ready for another pass |
|
@ryanwelcher @aaemnnosttv Let's try to find the reason for this one early on Monday. It's not a highly critical problem I think, but it appears to be a regression from this one, so it should be addressed in a timely manner. Depending on whether the fix is simple enough, we can squeeze it into this release - otherwise let's open a follow-up issue and mark it for the 1.20.0 release. |
|
@felixarntz @ryanwelcher It has to do with a change to the |
|
@felixarntz The PR is opened for inclusion in the release now. The problem @cole10up found was that the component would render a zero data state if the previous range had no data. Using Cole's data which is able to reproduce the behavior above, I can now see the 90 day range (note the relative change indicators and values are not shown due to lack of data). |








Feature Description
In the Search Console and Analytics dashboard there is a date filter:
However, this is not present in the AdSense dashboard screen. The "Estimated Earnings" widget doesn't need date filter, but the other two statistics on this screen would benefit from it.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
PAGE_VIEWS_CTR).Implementation Brief
assets/js/modules/adsense/index.legacy.jsadd thegooglesitekit.showDateRangeSelector-${ slug }to return true to display theDateRangeSelectorcomponent in the AdSense page.AdSenseDashboardWidgetwith thewithSelectHOC fromDatathat adds thedateRangeprop using thegetDateRangeselector fromcore/usergetCurrentDateRangeto use for displaying the date range in other components.<Layout />component fromAdSenseDashboardWidgetcomponent that represents the Estimated earnings section.Layoutcomponents to reflect date range as per the AC.AdSensePerformanceWidgetto be a functional component.withDatasettings inAdSensePerformanceWidgetto use thegetReportselector from themodules/adsensedatastore passingmetrics: [ 'EARNINGS', 'PAGE_VIEWS_RPM', 'IMPRESSIONS', 'PAGE_VIEWS_CTR' ],to retrieve thePAGE_VIEWS_CTRdata pointAdSensePerformanceWidgetQA Brief
Performance over the last XX dayswhere the XX is the currently selected date range.Performance by page over the last XX dayswhere the XX is the currently selected date range.See full stats in AdSensewith the external link icon.Changelog entry
The text was updated successfully, but these errors were encountered: