Skip to content
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

New metric metadata: metric aggregation #21936

Open
diosmosis opened this issue Feb 13, 2024 · 0 comments
Open

New metric metadata: metric aggregation #21936

diosmosis opened this issue Feb 13, 2024 · 0 comments
Labels
c: APIs For bugs and features in the Matomo HTTP and plugin APIs. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. triaged

Comments

@diosmosis
Copy link
Member

diosmosis commented Feb 13, 2024

Summary

Refs matomo-org/looker-studio-connector#3
Refs matomo-org/looker-studio-connector#29

In order for Looker Studio to further group data in reports after they are requested from Matomo, it needs to know how metrics should be aggregated. For example, nb_visits should be sum-ed and max_actions should be max-ed, etc.

Similar to <metricTypes>, having individual metric aggregation information in the Metadata API output would allow the connector to forward this information to Looker Studio.

Example API output:

<metadata>
    ...
    <metricAggregation>
        <nb_visits>sum</nb_visits>
        <max_actions>max</max_actions>
        <nb_uniq_visitors>none</nb_uniq_visitors>
    </metricAggregation>
</metadata>
@diosmosis diosmosis added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. To Triage An issue awaiting triage by a Matomo core team member labels Feb 13, 2024
@michalkleiner michalkleiner added c: APIs For bugs and features in the Matomo HTTP and plugin APIs. and removed To Triage An issue awaiting triage by a Matomo core team member labels Feb 13, 2024
@michalkleiner michalkleiner added this to the For Prioritization milestone Feb 13, 2024
@innocraft-automation innocraft-automation removed this from the For Prioritization milestone Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: APIs For bugs and features in the Matomo HTTP and plugin APIs. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. triaged
Projects
None yet
4 participants