{"repo":"18F/analytics-reporter","free":true,"listed":false,"github":"https://github.com/18F/analytics-reporter","clone":"git clone https://github.com/18F/analytics-reporter.git","description":"Lightweight analytics reporting and publishing tool for Digital Analytics Program's Google Analytics 360 data.","language":"JavaScript","stars":665,"topics":["analytics","google-analytics"],"license":null,"category":"analytics","readme_excerpt":"Analytics Reporter A lightweight system for publishing analytics data from the Digital Analytics Program (DAP) Google Analytics 4 government-wide property. This project uses the Google Analytics Data API v1 to acquire analytics data and then processes it into a flat data structure. This is used in combination with analytics-reporter-api to provide the data which powers the government analytics website, analytics.usa.gov. Available reports are named and described in api.json and usa.json . For now, they're hardcoded into the repository. The process for adding features to this project is described in Development and deployment process. Architecture and Technical Overview The application has multiple jobs which run at scheduled intervals. See deploy/publisher.js for details on the jobs and the timing at which they are kicked off. The database functions as a queue using the pg-boss library. The publisher process puts messages on the queue which represent analytics reports and how those reports should be fetched, processed, and published. One or more consumer processes receive messages from the queue in parallel and execute the corresponding tasks. See the usage section below for more details about reports and jobs. The application can publish analytics data reports to AWS S3, to local file, to stdout, and/or to the database in JSON or CSV format. The two application components are deployed to cloud.gov for dev, staging, and production environments using GitHub Actions. See .githu","default_branch":null,"files":null,"tree":[],"storefront":"/r/18F","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/18F/analytics-reporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}