-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support re-aggregation of all Matomo metrics #3
Comments
Let's create the related core issue. Once that is implemented in core, it would be great to immediately implement it in Looker Studio. Let's discuss internally the timeline. |
This is actually more complicated than I initially thought. Some metrics can be added together, but it depends on the report dimension. For example, For the first version of this feature, we should be able to allow reaggregation of some metrics in the right contexts, but not all. |
I've gotten this to work with normal metrics (not deployed), but there appears to be a bug in Looker Studio that prevents reaggregation of calculated fields from working. I've reported this to Looker Studio, once that issue is resolved work on this can continue. |
Looker Studio supports creating reports with arbitrary dimensions and metrics. If a flattened report has multiple dimensions and only one is selected, Looker Studio will try to aggregate the columns so only a single instance of each dimension value remains in the chart.
But this only works when the right metadata is present in the connector schema (specifically, how metrics are aggregated). Currently, we set every metric to be non-re-aggregatable.
To make normal metrics in Matomo re-aggregatable:
To make processed metrics in Matomo re-aggregatable:
bounce_count / nb_visits
)Something to keep in mind: many processed metrics in Matomo do not use columns in the report, but other data, such as metrics in past data. These would have to be made available for Looker Studio.
Workaround
There is currently a workaround that can be used in some cases. Users that want to re-aggregate can create their own calculated field that manually specifies the aggregation, and add that with the single dimension they want.
The text was updated successfully, but these errors were encountered: