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!
Currently datatables for Actions are indexed with the metrics string (nb_visits, nb_hits, etc.). See code in plugins/Actions/Actions.php archiveDay()
Other datatables are using integer indexes, mapping is defined in Piwik_Archive::$mappingFromIdToName
Actions datatable should use a similar integer mapping to reduce size of Actions datatables, and make querying faster.