Problem:
Report returns the format which is different from old one. Need to parse it to json node and display on analytics dashboard.
dimension_headers
{ name: “city” }
metric_headers
{ name: “activeUsers” type: TYPE_INTEGER }
rows {
dimension_values
{ value: “Ho Chi Minh City” }
metric_values
{ value: “3" }
}
rows {
dimension_values
{ value: “(not set)” }
metric_values
{ value: “1" }
}
rows {
dimension_values
{ value: “Barcelona” }
metric_values
{ value: “1" }
}
rows {
dimension_values
{ value: “Thun” }
metric_values
{ value: “1" }
}
row_count: 4
metadata
{ currency_code: “USD” time_zone: “Europe/Zurich” }
kind: “analyticsData#runReport”
Expectation:
Display the GA4 report on dashboard.
Development notes
|