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 ecb3c33
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 37 deletions.
2 changes: 1 addition & 1 deletion assets/bundle.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions js/components/data_downloads/DataDownloads.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ 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>
<th scope="col">Description</th>
<th scope="col">Report</th>
<th scope="col">Time Range</th>
<th scope="col">Download</th>
<th scope="col">Update Frequency</th>
Expand Down Expand Up @@ -129,7 +130,7 @@ function DataDownloads({ dataURL, dataPrefix }) {
</caption>
<thead>
<tr>
<th scope="col">Description</th>
<th scope="col">Report</th>
<th scope="col">Time Range</th>
<th scope="col">Download</th>
<th scope="col">Update Frequency</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@ exports[`DataDownloads renders 1`] = `
<h2>
User traffic reports
</h2>
<a
href="/definitions"
>
See data fields and metrics descriptions
</a>
</caption>
<thead>
<tr>
<th
scope="col"
>
Description
Report
</th>
<th
scope="col"
Expand Down Expand Up @@ -173,7 +178,7 @@ exports[`DataDownloads renders 1`] = `
<th
scope="col"
>
Description
Report
</th>
<th
scope="col"
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 ecb3c33

Please sign in to comment.