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

Graphs in email reports and mobile : smarter default metrics #3831

Open
julienmoumne opened this issue Mar 15, 2013 · 3 comments
Open

Graphs in email reports and mobile : smarter default metrics #3831

julienmoumne opened this issue Mar 15, 2013 · 3 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@julienmoumne
Copy link
Member

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.

@julienmoumne
Copy link
Member Author

Attachment: Actions - Main metrics
actions-main-metrics.png

@mattab
Copy link
Member

mattab commented Mar 17, 2013

Proposal: new entry in metadata: "defaultMetrics" that would be set only for the reports which have special rules (eg. Actions.get method defaultMetrics:["actions","downloads","outlinks"] )

Then the static graph builder would look for this metadata and if set, plot the specified metrics.

Piwik Mobile will automatically benefit from the default good looking graphs as well.

@julienmoumne
Copy link
Member Author

refs #3793

@julienmoumne julienmoumne added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 2014
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants