Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Reporter to output both UA and GA4 data in reports #726

Merged
merged 142 commits into from
Jan 31, 2024

Conversation

scottqueen-bixal
Copy link
Contributor

@scottqueen-bixal scottqueen-bixal commented Dec 8, 2023

This is the complete work of our MVP for migrating from UA reporting to GA4.

Summary

The new repo structure places v1, or UA reporting under the ua directory and updates the application in src to report on v2, or new GA4 data using the BETA Google Data Client.

Other changes/updates in this PR includes:

  • adding a new .nvmrc file for easier node management in local development
  • Updates README.md to reflect impacts from migration
  • Updates cron.js to support monorepo set up for running both UA(legacy) and GA4(new) reporter applications
  • Updates ENV values in our <agency>.env files to support new GA4 properties
  • Updates ENV example to include required GOOGLE_APPLICATION_CREDENTIALS
  • Updates knex file to support reporter tests
  • Updates Analytics Data to include version in table
  • Includes new migration to create analytics_data_ga4 table
  • Updated Lock and Package file for new v2.0
  • Updates reports/, api.json, reports.json, and usa.json to use GA4 query schema and allowed values
  • Updates src/* to handle changes in Google Data Client API requirements
  • Removes unused files from legacy v1 app and moves the app into the ua directory
  • Updates testing suite to include both v1 and v2 app unit tests
  • Updated docker set up for local testing in docker database
  • Enables Circle CI test in build

@scottqueen-bixal scottqueen-bixal changed the title WIP | Migrate ga3 to ga4 WIP | Migrate UA to GA4 Jan 26, 2024
@scottqueen-bixal scottqueen-bixal changed the title WIP | Migrate UA to GA4 Update Reporter to output both UA and GA4 data in reports Jan 31, 2024
@scottqueen-bixal scottqueen-bixal marked this pull request as ready for review January 31, 2024 14:25
@levinmr levinmr merged commit 142adf4 into develop Jan 31, 2024
5 checks passed
@levinmr levinmr deleted the migrate-ga3-to-ga4 branch January 31, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants