Research on replacing GA3 with GA4 API client implementations
scottqueen-bixal opened this issue · comments
Definition of Done: review documentation and create a POC that indicates realtime data reporting from new GA4 client.
Some initial discovery on the scope required to get started with implementing the GA4 API client with https://github.com/18F/analytics-reporter began with the following information.
Initial discovery provided in this report: https://docs.google.com/presentation/d/1dfVp3Zid_GPm7E9f0Zj2j7vtmv3j_GMiucnutEAUB6s/edit#slide=id.g2886f895075_0_49
GA tool to test out query(s):
https://ga-dev-tools.google/ga4/query-explorer/
Direct Link to new Data Api v1 Beta documentation
https://developers.google.com/analytics/devguides/reporting/data/v1
Official Notification Group:
https://groups.google.com/g/google-analytics-api-notify
google-analytics/data repo:
https://github.com/googleapis/google-cloud-node/tree/main/packages/google-analytics-data
as of today we are successfully reporting on realtime data as indicated by:
- the latest version of the public facing dashboard https://analytics-develop.app.cloud.gov/
- the values returning from the reports in the s3 https://analytics-develop.app.cloud.gov/data/live/realtime.json
- https://api.gsa.gov/analytics/dap/develop/v1.2/reports/language/data?api_key=DEMO_KEY1&limit=10