[ANALYTICS-408] Migrating to the Google Analytics Data API v1 Created: 01/Mar/23 Updated: 26/Apr/23 Resolved: 26/Apr/23 |
|
| Status: | Closed |
| Project: | Analytics |
| Component/s: | None |
| Affects Version/s: | 1.2.2 |
| Fix Version/s: | 1.2.3 |
| Type: | Story | Priority: | Neutral |
| Reporter: | Thuy To | Assignee: | Thuy To |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 3d 0.5h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Template: | |||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[X] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||||||||||
| Epic Link: | Google Analytics 4 | ||||||||||||||||||||||||
| Story Points: | 13 | ||||||||||||||||||||||||
| Team: | |||||||||||||||||||||||||
| Work Started: | |||||||||||||||||||||||||
| Approved: |
Yes
|
||||||||||||||||||||||||
| Description |
|
Problem: Google Analytics 4 is replacing Universal Analytics. On July 1, 2023 all standard Universal Analytics properties will stop processing new hits. 360 Universal Analytics properties will stop processing new hits on July 1, 2024. 3/ Migrating to the Google Analytics Data API v1 ----> we have to implement in code
Expectation 1: Analytics can access and get data from GA4 in Magnolia. Refer links for demo site and document: AuthorX demo site for GA4: https://analytics.google.com/analytics/web/#/a257509406p354424382/admin/property/settings Google cloud API: https://console.cloud.google.com/apis/api/analyticsreporting.googleapis.com/metrics?project=authorxga4 https://developers.google.com/analytics/devguides/collection/ga4 https://developers.google.com/analytics/devguides/reporting/data/v1 https://developers.google.com/analytics/devguides/migration/api/reporting-ua-to-ga4#data-api-v1_1 Development notes: https://github.com/googleapis/java-analytics-data Need to change the API for google analytics and re-implement code in GoogleDataSupplier including unit tests. GoogleDataSupplier.java and GoogleAnalyticsServiceProvider.java are related to Data API directly |