Details
-
Story
-
Resolution: Fixed
-
Neutral
-
1.2.2
-
None
-
Empty show more show less
-
Yes
-
Yes
-
13
-
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.
So we need to migrate data and use GA4 in Magnolia instead. Steps for doing:
1/ Create a GA4 property and data stream in AuthorX demo site —> Done
2/ Access and get data from URL site on Addon server by using GA script —> Refer comments on https://jira.magnolia-cms.com/browse/ANALYTICS-378#:~:text=2/-,Access%20and%20get%20data,-from%20URL%20site
3/ Migrating to the Google Analytics Data API v1 ----> we have to implement in code
Why do we need to migrate?
===> We are currently using Universal Analytics with the Reporting API v4, since the Reporting API v4 can only access properties created with Universal Analytics. If our application needs to access data in a Google Analytics 4 property, it is necessary to update the code to use the Data API v1
Expectation 1: Analytics can access and get data from GA4 in Magnolia.
Expectation 2: Create a new connector so that there will be a soft migration for the existing customers
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
Checklists
Attachments
Issue Links
- is cloned by
-
ANALYTICS-378 Verify Google Analytics connector works with GA4. July 2023
-
- Closed
-
- is depended upon by
-
ANALYTICS-427 Parse the GA4 report response to adapt on analytics dashboard
-
- Closed
-
-
ANALYTICS-418 DOCU: Provide an overview and link to migration process by Google UA->GA4
-
- Closed
-
-
ANALYTICS-420 Investigate why request had invalid authentication credentials in GA4
-
- Closed
-