[ANALYTICS-480] Verify and replace Universal Google to Google Analytics 4 in Integrated User eXperience (IUX) slots. Created: 05/Jun/23 Updated: 03/Jul/23 Resolved: 26/Jun/23 |
|
| Status: | Closed |
| Project: | Analytics |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Thuy To | Assignee: | Thuy To |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 2d 6.5h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: | |
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Release notes required: |
Yes
|
| Documentation update required: |
Yes
|
| Epic Link: | Google Analytics 4 |
| Story Points: | 3 |
| Team: | |
| Work Started: | |
| Approved: |
Yes
|
| Description |
|
Problem: We are currently configuring and collecting data from Universal Google showing on extensionViews of IUX.
Both services-demos-travel-config/decorations/pages-app/apps/pages-app.subApps.browser.workbench.yaml and Addon server are using UA in extensionViews of IUX. Expectation: Replace UA to Ga4 in extensionViews of IUX and update documentation. |
| Comments |
| Comment by Thuy To [ 21/Jun/23 ] |
|
We need to update the chartDefinition of GA4 in extensionViews, replace UA to GA4 in documentation https://docs.magnolia-cms.com/product-docs/6.2/Connector-Packs/Analytics-Connector-Pack/Analytics-module.html#_iux_slot_filter_configuration_examples
Also update the jsonPath in https://docs.magnolia-cms.com/product-docs/6.2/Connector-Packs/Analytics-Connector-Pack/Analytics-module.html#_google_analytics_simple_column_chart_definition_example
extensionViews:
- name: analytics1
icon: icon-analytics-app
view:
name: analytics
$type: analyticsView
chartDefinitions:
- name: active28DayUsers
label: GA Active 28 Days Users
class: info.magnolia.analytics.amcharts.data.AmChartDefinition
dataSupplier: gaActive28DayUsersSupplier
chartType: !include:/analytics-ui/chartTypes/line-and-area/line-different-colors-ups-downs.yaml
series:
- name: series
dataFields:
- name: categoryX
jsonPath: $.rows.[*].dimensionValues.[*].value
- name: valueY
jsonPath: $.rows.[*].metricValues.[*].value
- name: sessions
label: GA Sessions
class: info.magnolia.analytics.amcharts.data.AmChartDefinition
dataSupplier: gaSessionsSupplier
chartType: !include:/analytics-ui/chartTypes/line-and-area/line-different-colors-ups-downs.yaml
series:
- name: series
dataFields:
- name: categoryX
jsonPath: $.rows.[*].dimensionValues.[*].value
- name: valueY
jsonPath: $.rows.[*].metricValues.[*].value
|