[ANALYTICS-65] Support more metrics and dimensions for google analytic and matomo as well in case user wanna have more than 2 values data Created: 13/May/19 Updated: 04/Aug/20 Resolved: 21/May/19 |
|
| Status: | Closed |
| Project: | Analytics |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Oanh Thai Hoang | Assignee: | Nguyen Phung Chi |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 2.5d | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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)
|
||||||||
| Date of First Response: | |||||||||
| Epic Link: | Analytics backend | ||||||||
| Sprint: | Add-Ons 12 | ||||||||
| Story Points: | 3 | ||||||||
| Description |
|
Currently, our GoogleDataSupplier supports us to get data from 1 dimension and 1 metric only. See
ReportRequest request = new ReportRequest()
.setViewId(viewId)
.setDateRanges(Collections.singletonList(dateRange))
.setMetrics(Collections.singletonList(metric))
.setDimensions(Collections.singletonList(dimension));
We should support user for configuring more metrics and dimensions to get more data in case type of chart need more than 2 dimensions GA references: https://developers.google.com/analytics/devguides/reporting/core/dimsmets
I have just a quick check of matomo seem they return all metric data they have (https://developer.matomo.org/api-reference/reporting-api). Pls check matomo as well.
|