Graphs in email reports and mobile : smarter default metrics #3831
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
Since #3013, it is possible to plot multiple metrics using the ImageGraph API.
This feature is available but not used in scheduled reports. Scheduled reports rely on the metadata 'imageGraphUrl' field.
The metadata 'imageGraphUrl' field does not currently specify any metric to plot.
In absence of a specified metric, the ImageGraph API plots 'nb_visits' by default.
If 'nb_visits' is not available for a specific report, the first metric found in the metadata 'metrics' field is used.
As an example, the Actions - Main metrics report (actions-main-metrics.png) plots the 'pageviews' metric.
While this is a fine default metric, it would be even more useful to additionally plot 'downloads' and 'outlinks'.
Other reports would also benefit from plotting conversion rates see #3793.
This ticket is about finding a way to define which metric(s) should be plotted by default in graphs.
An immediate natural way to proceed would be to add yet an additional metadata entry.
The text was updated successfully, but these errors were encountered: