Skip to content

Commit

Permalink
[GH-1264] Address PO feedback
Browse files Browse the repository at this point in the history
- Update historical data download page header copy
- Re-add definitions link on data downloads page
  • Loading branch information
levinmr committed May 23, 2024
1 parent f39af7d commit 487a2e4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 33 deletions.
2 changes: 1 addition & 1 deletion assets/bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions js/components/data_downloads/DataDownloads.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function DataDownloads({ dataURL, dataPrefix }) {
<table className="usa-table usa-table--borderless desktop:grid-col-8">
<caption>
<h2>User traffic reports</h2>
<a href="/definitions">See data fields and metrics descriptions</a>
</caption>
<thead>
<tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ exports[`DataDownloads renders 1`] = `
<h2>
User traffic reports
</h2>
<a
href="/definitions"
>
See data fields and metrics descriptions
</a>
</caption>
<thead>
<tr>
Expand Down
19 changes: 4 additions & 15 deletions js/components/historical_data_download/HistoricalDataDownload.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,27 +234,16 @@ function HistoricalDataDownloads({ apiURL, mainAgencyName, agencies }) {
those years, so the yearly analysis represents a different sample
size of participating websites.
</p>
<p>
This directional information should only be used for general
insights into online visitor behavior trends.
</p>
<h2>
<svg
className="usa-icon"
aria-hidden="false"
focusable="false"
role="img"
>
<use xlinkHref="/assets/uswds/img/sprite.svg#warning"></use>
</svg>
<span>A note on sampling</span>
</h2>
<p>
Due to varying Google Analytics API sampling thresholds, and the
sheer volume of data in the Digital Analytics Program Universal
Analytics property, reports are subject to sampling. The data are
intended to represent trends and numbers may not be precise.
</p>
<p>
This directional information should only be used for general
insights into online visitor behavior trends.
</p>
</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,10 @@ exports[`HistoricalDataDownload renders 1`] = `
These Universal Analytics historical reports represent only summary-level web traffic and user demographic data aggregated by month and calendar year between January 1, 2018 and June 30, 2024. The data is limited to DAP-participating, public-facing federal government websites at the time of the original data collection. The number of websites participating in DAP was increasing during those years, so the yearly analysis represents a different sample size of participating websites.
</p>
<p>
This directional information should only be used for general insights into online visitor behavior trends.
Due to varying Google Analytics API sampling thresholds, and the sheer volume of data in the Digital Analytics Program Universal Analytics property, reports are subject to sampling. The data are intended to represent trends and numbers may not be precise.
</p>
<h2>
<svg
aria-hidden="false"
className="usa-icon"
focusable="false"
role="img"
>
<use
xlinkHref="/assets/uswds/img/sprite.svg#warning"
/>
</svg>
<span>
A note on sampling
</span>
</h2>
<p>
Due to varying Google Analytics API sampling thresholds, and the sheer volume of data in the Digital Analytics Program Universal Analytics property, reports are subject to sampling. The data are intended to represent trends and numbers may not be precise.
This directional information should only be used for general insights into online visitor behavior trends.
</p>
</div>
</div>
Expand Down

0 comments on commit 487a2e4

Please sign in to comment.