# Policy Attention Index — Dataset Documentation

**Tool:** Policy Attention Index — https://attention-index.straitresearch.org/
**Author:** Athena Anthea, Founder & Research Director, Strait Research
**Dataset version:** 1.0 · Data retrieved October 24, 2026
**License:** CC-BY-4.0

## Purpose

The Policy Attention Index records daily visits to four U.S.
immigration-policy web domains — uscis.gov, ice.gov, cbp.gov and the
Department of Justice overall — as measured by the Digital Analytics
Program (DAP, analytics.usa.gov), alongside a dated reference timeline
of immigration rules and events. It is a research resource. Visits are
shown next to events so that correlation can be inspected. Attention is
correlation, never causation: nothing in this dataset or the tool page
asserts that any event caused any change in visits, and no such claim
should be drawn from it.

## Dataset description

2,518 daily rows in long format. Files: `attention-index.csv` and
`attention-index.json` (identical content), plus `events.json` (the
11-event reference timeline). The website download editions are the
same records in compact form (the CSV omits `series_label` and the
JSON uses an array edition with `users`/`pageviews` stated once as
null constants), kept under the site deploy tool's per-file size
limit; the full editions are in the Zenodo deposit.

Coverage, as returned by the API (the requested window was 2025-01-01
through the latest available date):

| Series | First date | Last date | Days |
|---|---|---|---|
| uscis.gov | 2025-02-12 | 2026-10-23 | 619 |
| ice.gov | 2025-02-12 | 2026-10-23 | 619 |
| cbp.gov | 2025-02-12 | 2026-10-23 | 619 |
| Department of Justice overall | 2025-01-01 | 2026-10-23 | 661 |

## Methods

**Source and pull.** DAP API v2 via api.gsa.gov (GSA connector),
retrieved October 24, 2026, paced at ≥1.2 seconds between calls; no
HTTP 429 was encountered. uscis.gov, ice.gov and cbp.gov were pulled on
the domain route, `/analytics/dap/v2/domain/<domain>/reports/site/data`,
one calendar month per call, January 2025 – October 2026, limit 10000.
Raw pull: 51,073 rows saved per month in the build files.

**The site report carries visits only.** Returned fields are `id`,
`date`, `report_name`, `report_agency`, `domain` and `visits`. The
report does not carry `users` or `pageviews`; those columns are present
in the dataset and empty, rather than estimated.

**Department of Justice series.** Pulled on the agency route,
`/analytics/dap/v2/agencies/justice/reports/site/data`, which returns
one row per DOJ domain per day. The series is the per-day sum across
all DOJ domains returned that day (56–200 domains per day in the
returned data; the participating set is DAP's and can change). EOIR
hostnames are inside that sum. EOIR is not separable in DAP data as
returned by this route, and no EOIR-only figure is stated.

**Deduplication.** The domain route returns most (date, domain) pairs
two or three times: once with `report_agency` null and once or twice
with an agency name. The copies agree on most days and disagree on some
(uscis.gov: 36 days; ice.gov: 50 days; cbp.gov: 41 days), where the
null-agency copies are systematically lower and the agency-labelled
copies agree with each other. The API also returns occasional stray
rows for a domain under an unrelated agency with small visit counts
(e.g. uscis.gov under "state", 58 visits on 2025-04-23; ice.gov under
"general-services-administration" on 16 days). Rule: within a
(date, domain) group, the visits value carried by the most rows wins;
ties are broken in favour of the row labelled with the domain's parent
agency (homeland-security for the three DHS domains; justice on the
agency route), then any agency-labelled row, then the highest API id.
The agency route had no conflicting (date, domain) groups.

**What DAP measures, as DAP documents it** (open.gsa.gov/api/dap/;
analytics.usa.gov/about; retrieved October 24, 2026):

- DAP is a unified Google Analytics (GA4) account for participating
  U.S. federal government agencies. The program does not track
  individuals and anonymizes the IP addresses of visitors.
- Not every government website is represented: DAP covers
  participating sites only (that documentation states more than 500
  federal second-level domains across approximately 7,000 hostnames).
- Report data are limited to sites with a minimum of 50 visits in the
  report period.
- Due to GA4 sampling thresholds and data volume, reports are subject
  to sampling; the data are intended to represent high-level trends
  and should not be relied on for 100% accuracy.
- DAP API v2 returns GA4 data recorded from August 1, 2023. The
  shorter history returned for the three domain routes (from
  2025-02-12) is a property of the returned data; the API does not
  state a reason and none is inferred here.

**Bot and internal traffic.** The site report carries no per-record
flag for bot or agency-internal traffic, and DAP's published
documentation for this API states no bot or internal-traffic exclusion
that can be applied to these rows. No such exclusion is applied or
claimed; visits are as returned.

**7-day trailing average (chart).** Computed at page build: for each
day, the mean of that day and the six preceding calendar days in the
same series, over the rows present. Days with no returned row are
absent from the dataset (not zero) and are not imputed.

**Top pages — dropped.** No top-pages snapshot is published. The
domain route supports only the `site`, `domain`, `download` and
`second-level-domain` reports; none provides page-level data for a
single domain. Rather than substitute a different measure, the
snapshot was dropped.

## Events timeline

11 dated reference events in `events.json`, each from a fetched record
kept in the build files (`data/raw/event-source-records.json` and
`data/raw/congress-119-hr1.json`):

- 8 Federal Register rules from the Rule Watch dataset (Strait
  Research), dated by the effective date stated in the record (title,
  publication date, citation and document number in `events.json`
  source records).
- Public Law 119-21 enactment, 2025-07-04, from the Congress.gov API
  v3 record for H.R.1, 119th Congress (latest action text: "Became
  Public Law No: 119-21.").
- 2 worksite operations from the Worksite Enforcement Log (Strait
  Research), the two largest in that log by arrests reported:
  Camarillo, CA, 2025-07-10 (361 arrests reported) and Ellabell, GA,
  2025-09-04 (475 arrests reported).

Events are reference lines only. Their dates assert nothing about
traffic on or after those dates.

## Field definitions

| Field | Definition |
|---|---|
| date | Calendar date of the daily count (YYYY-MM-DD), as returned by DAP. |
| domain | uscis.gov, ice.gov or cbp.gov (domain route); justice.gov denotes the Department of Justice agency-route series (see series_label). |
| series_label | Display label. For justice.gov it states that the series is the Department of Justice overall, summed across all DOJ domains returned on the agency route. |
| visits | Daily visits as returned by the DAP site report, after the documented deduplication. A GA4 session-based count as DAP defines it; not a count of people. |
| users | Not carried by the DAP site report; always empty. |
| pageviews | Not carried by the DAP site report; always empty. |

## Known gaps

- Domain-route coverage begins 2025-02-12 although 2025-01-01 was
  requested. The API states no reason; none is inferred.
- Duplicate copies with differing visit counts occur on 36–50 days per
  DHS series. The deduplication rule resolves them deterministically,
  but the underlying discrepancy is DAP's.
- The Justice series' composition (which DOJ domains DAP returns per
  day) varies between 56 and 200 domains per day in the returned data;
  composition changes in the source appear as level changes in the
  series.
- Visits are subject to GA4 sampling (per DAP documentation) and are
  trend data, not exact counts.
- EOIR traffic cannot be separated from the Department of Justice
  total in this dataset.

## Sources

- Digital Analytics Program API v2, GSA — https://api.gsa.gov/analytics/dap/v2/ — retrieved October 24, 2026. API documentation: https://open.gsa.gov/api/dap/
- Rule Watch dataset (Strait Research) — https://rule-watch.straitresearch.org/
- Worksite Enforcement Log (Strait Research) — https://worksite-log.straitresearch.org/ (dataset in the tool workspace)
- Congress.gov API v3, bill record 119/hr/1 — https://api.congress.gov/v3/bill/119/hr/1

## AI-credit disclosure

Built by Strait Research. Direction and final calls by Athena Anthea; research judgment and technical execution shared with an AI assistant.
