chore: update analytics to April 2026, add HCA hostname filter#4814
chore: update analytics to April 2026, add HCA hostname filter#4814MillenniumFalconMechanic merged 1 commit intomainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
| # CHANGE THESE VALUES TO GENERATE NEW REPORTS | ||
| # The date of the current month to report on (yyyy-mm) | ||
| CURRENT_MONTH = "2026-03" | ||
| CURRENT_MONTH = "2026-04" |
There was a problem hiding this comment.
Updated all four constants files from 2026-03 to 2026-04 for the April report period.
| ], | ||
| title_resolver=resolve_project_titles, | ||
| base_dimension_filter=HCA_BROWSER_ONLY_FILTER, | ||
| ) |
There was a problem hiding this comment.
Added HCA_BROWSER_ONLY_FILTER (filters by hostName == explore.data.humancellatlas.org) to exclude HCA Data Portal events from the HCA Data Explorer dashboard. This filter was already defined in constants.py and used by the sheets report, but was not being passed to the static site generator.
There was a problem hiding this comment.
Pull request overview
Updates the static GA4 analytics dashboards to report April 2026 data, and scopes HCA dashboard reporting to the HCA Data Explorer hostname to exclude HCA Data Portal traffic.
Changes:
- Bumped
CURRENT_MONTH/PARENT_FOLDER_NAMEto April 2026 across analytics constants files. - Added a GA4
hostNamebase dimension filter to the HCA static site generator (explore.data.humancellatlas.org). - Regenerated and committed updated April 2026 static site data under
gh-pages/for AnVIL Explorer, HCA Explorer, and LungMAP.
Reviewed changes
Copilot reviewed 35 out of 39 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| gh-pages/lungmap/data/pageviews.json | Regenerated LungMAP pageview metrics for April 2026. |
| gh-pages/lungmap/data/outbound_links.json | Regenerated LungMAP outbound link click metrics for April 2026. |
| gh-pages/lungmap/data/monthly_traffic.json | Added April 2026 monthly traffic row for LungMAP. |
| gh-pages/lungmap/data/meta.json | Updated LungMAP report metadata to April 2026 bounds and totals. |
| gh-pages/lungmap/data/filter_selected.json | Regenerated LungMAP “filter_selected” event breakdown for April 2026. |
| gh-pages/lungmap/data/file_downloads.json | Updated LungMAP file download aggregation for April 2026. |
| gh-pages/lungmap/data/file_download_events.json | Updated LungMAP file download event details/totals for April 2026. |
| gh-pages/lungmap/data/event_dataset_file_manifest_requested_detail.json | Updated LungMAP dataset manifest request details for April 2026. |
| gh-pages/lungmap/data/event_dataset_bulk_download_requested_detail.json | Updated LungMAP bulk download request details for April 2026. |
| gh-pages/lungmap/data/event_dataset_analyze_in_terra_requested_detail.json | Updated LungMAP “analyze in Terra” request details for April 2026. |
| gh-pages/lungmap/data/custom_events.json | Updated LungMAP custom event totals and month-over-month deltas for April 2026. |
| gh-pages/hca-explorer/data/monthly_traffic.json | Added April 2026 monthly traffic row for HCA Explorer. |
| gh-pages/hca-explorer/data/meta.json | Updated HCA Explorer report metadata to April 2026 bounds and totals. |
| gh-pages/hca-explorer/data/file_downloads.json | Updated HCA Explorer file download aggregation for April 2026. |
| gh-pages/hca-explorer/data/file_download_events.json | Updated HCA Explorer file download event details/totals for April 2026. |
| gh-pages/hca-explorer/data/event_dataset_file_manifest_requested_detail.json | Updated HCA Explorer dataset manifest request details for April 2026. |
| gh-pages/hca-explorer/data/event_dataset_bulk_download_requested_detail.json | Updated HCA Explorer bulk download request details for April 2026. |
| gh-pages/hca-explorer/data/event_dataset_analyze_in_terra_requested_detail.json | Updated HCA Explorer “analyze in Terra” request details for April 2026. |
| gh-pages/hca-explorer/data/custom_events.json | Updated HCA Explorer custom event totals and month-over-month deltas for April 2026. |
| gh-pages/anvil-explorer/data/outbound_links.json | Updated AnVIL Explorer outbound link click metrics for April 2026. |
| gh-pages/anvil-explorer/data/monthly_traffic.json | Added April 2026 monthly traffic row for AnVIL Explorer. |
| gh-pages/anvil-explorer/data/meta.json | Updated AnVIL Explorer report metadata to April 2026 bounds and totals. |
| gh-pages/anvil-explorer/data/file_downloads.json | Updated AnVIL Explorer file download aggregation for April 2026. |
| gh-pages/anvil-explorer/data/file_download_events.json | Updated AnVIL Explorer file download event details/totals for April 2026. |
| gh-pages/anvil-explorer/data/event_dataset_file_manifest_requested_detail.json | Updated AnVIL Explorer dataset manifest request details for April 2026. |
| gh-pages/anvil-explorer/data/event_dataset_bulk_download_requested_detail.json | Updated AnVIL Explorer bulk download request details for April 2026. |
| gh-pages/anvil-explorer/data/event_dataset_analyze_in_terra_requested_detail.json | Updated AnVIL Explorer “analyze in Terra” request details for April 2026. |
| gh-pages/anvil-explorer/data/custom_events.json | Updated AnVIL Explorer custom event totals and month-over-month deltas for April 2026. |
| gh-pages/anvil-explorer/data/access_requests.json | Updated AnVIL Explorer access request click aggregation for April 2026. |
| analytics/lungmap-analytics/sheets/constants.py | Updated LungMAP report month/folder name constants to April 2026. |
| analytics/hca-explorer-sheets/generate_static_site.py | Applied HCA_BROWSER_ONLY_FILTER as a base GA4 dimension filter for all HCA Explorer queries. |
| analytics/hca-explorer-sheets/constants.py | Updated HCA Explorer report month/folder name constants to April 2026. |
| analytics/anvil-explorer-sheets/constants.py | Updated AnVIL Explorer report month/folder name constants to April 2026. |
| analytics/anvil-catalog-sheets/constants.py | Updated AnVIL Catalog report month/folder name constants to April 2026. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Ticket
Closes #4809
Summary
CURRENT_MONTHto2026-04in all four analytics constants files (AnVIL Explorer, AnVIL Catalog, HCA, LungMAP)HCA_BROWSER_ONLY_FILTERto HCA static site generator to exclude HCA Data Portal events from the HCA Data Explorer dashboardTest plan
explore.data.humancellatlas.org🤖 Generated with Claude Code