Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
The main idea is to plot whole number metrics (such as number of conversions) and rate metrics (such as conversion rate) on 2 different axes, see Conversions and Conversion Rate on different axes.
Rate metrics should be visually identifiable using the % symbol and rounded to the nearest whole number.
Implementation
Since 3013 it is possible to specify which metrics should be plotted with the columns parameter.
Here is how multiple axes should be handled at the API level :
if $columns=wholeNumberMetric,rateMetric : plot 2 axes, left for wholeNumberMetric on the left, rateMetric on the right
if $columns=wholeNumberMetric1,wholeNumberMetric2 : plot 1 axe on the left with both metrics
if $columns=wholeNumberMetric,rateMetric1,rateMetric2 : plot 2 axes, wholeNumberMetric on the left, both rate metrics on the right
if $columns=rateMetric1,rateMetric2 : plot 1 axe on the left with both metrics
Metrics can be identified using their name as rate metrics should always contain the term 'rate' : strpos($name, '_rate'), probably refactored in Piwik::isMetricPercentage().
Requires #3831 for automatic inclusion of multiple axes in scheduled reports.
The main idea is to plot whole number metrics (such as number of conversions) and rate metrics (such as conversion rate) on 2 different axes, see Conversions and Conversion Rate on different axes.
Rate metrics should be visually identifiable using the % symbol and rounded to the nearest whole number.
Implementation
Since 3013 it is possible to specify which metrics should be plotted with the columns parameter.
Here is how multiple axes should be handled at the API level :
Metrics can be identified using their name as rate metrics should always contain the term 'rate' : strpos($name, '_rate'), probably refactored in Piwik::isMetricPercentage().
Requires #3831 for automatic inclusion of multiple axes in scheduled reports.