Admin dashboard reads the unified GA4 property
Shipped 2026-11-11
What was wrong
The admin dashboard’s analytics panels take their figures from the property in the GA_PROPERTY_ID env var. Locally that pointed at an old property with almost no traffic now (about 6 web events a week), not the unified one, and the API’s service account had no access to the unified property. So wherever the env var wasn’t updated at the July cutover, the dashboard could not be showing current traffic.
What changed
- A shared constant.
api/src/config/analytics.jsholdsGA4_PROPERTY_ID = '528361126'. The dashboard reads that, so the property can’t drift between environments. Nothing readsGA_PROPERTY_IDany more. - Access.
google-data@hybrid-poetry-372104was given Viewer on the property, in GA4 rather than in code.
All six dashboard queries (totals, by month, events, country, operating system, device category) were checked against the property.
Note
Web data in the unified property starts at the 2026-07-08 cutover, so dashboard ranges before then show mobile only.
- Jira: TUN-958
- PR: [#?]
Last updated on