[Aug-Sept 2013] Matomo 2.0 Development Update!

Contents

This Development Update is the first in a new series of posts we’ll be writing to keep you, our loyal users, informed of our efforts. We hope these updates keep you excited about Matomo’s future, and if you’re a developer, we hope they inspire and challenge you to accomplish more yourself!

Despite this being our first update, it will probably be one of our biggest. We’ve gotten a lot done as we race towards the Matomo (Piwik) 2.0 release! Just see for yourself:

What we’ve accomplished

Theming

Matomo now supports theming, a feature that was requested often in the past. Because of our switch to the Twig template engine and other major code changes it is now possible to change the way Matomo looks. Additionally, developers can use the dynamic stylesheet language LESS, instead of CSS. Matomo will automatically transform the LESS code into CSS.

Matomo 2.0 will ship with a new dark theme called PleineLune (french for Full Moon) that makes use of the new theming feature. Another theme with a left-aligned menu was created during the Matomo Meetup in Paris. Both of these themes were created by Thomas Zilliox, a very talented designer and CSS expert.

left-menuplein-lune

PHP 5.3 Namespaces

For Matomo 2.0 we decided to make use of namespaces, a feature introduced in PHP 5.3. The usage of namespaces makes our code more readable and allows us to better modularize the platform. This is in part why we are raising the required minimum PHP version to 5.3 for Matomo 2.0. (Remember to update your server!)

Translations in JSON

All translations are now stored in JSON files which makes storing translations in Matomo a lot cleaner that the giant PHP array we previously used.

Side note: if you’d like to make Matomo available to more languages, please sign up at translations.piwik.org. We’d love to have your help!

UI Tests

We now use UI tests to make sure that changes to the code don’t break the UI. UI tests use PhantomJS and CutyCapt and are automatically executed on Travis CI. Whenever an integration test fails the script produces a screenshot diff that shows the difference. Learn more.

UIIntegrationTest_actions_downloads

AnonymizeIP supports IPv6

The AnonymizeIP plugin now masks IPv6 addresses. The concept of the config option ‘ip_address_mask_length’ has now changed to reflect the level of masking that should be applied to the IP. With a masking level of 1 Matomo will mask the last octet of an IPv4 address and the last 80 bits of an IPv6 address.

All Websites Dashboard usable with 20,000+ Websites

The All Websites Dashboard is now usable even if you track many thousands of websites in your Matomo instance. We rewrote parts of the archiving process in order to make this possible. Making Matomo fast and memory efficient is a constant concern for core developers.

Plugins can now add new Visualizations

Matomo Plugins and Themes can now create new visualizations for your report data. They can also specify their own ViewDataTable footer icons or modify existing ones. This will allow plugin developers to create new ways for you to view your data, customize existing reports so they look great in new visualizations and provide extra analytics functionality accessible in each of your reports.

The new TreemapVisualization plugin makes use of this feature to let you view your reports as treemaps. It serves as an example of this new functionality.

Matomo Marketplace

The Matomo Marketplace is a new platform developers can use to publish their plugins and themes so all Matomo users can easily access them. The marketplace is hosted at plugins.matomo.org and is currently in an early development state, but we’re already able to host plugins!

Developers can easily publish their plugins by adding a commit hook to their Github repositories. Every time you push a new tag, the marketplace will make a new version of your plugin available. The marketplace will provide a centralized platform to search for plugins and also provide statistics on plugin usage.

Install Plugins and Themes in one click from within Matomo

Matomo has offered since the beginning the much-loved “one click update” feature. We are bringing the same functionality to the Marketplace: you will be able to install Plugins and Themes in one click directly within the Matomo interface! Similarly to WordPress or Firefox, Matomo will let you extend the functionality of your analytics platform.

Conclusion

In Matomo 2.0 you will be able to install plugins and themes from the marketplace. And, if you’re so inclined, you will be able to create and host your own plugins/themes on the marketplace so everyone can use them. This is by far the accomplishment we are most excited by… the possibilities it opens up for Matomo’s future are truly unlimited. We hope you share our excitement!

Au revoir, until next time!

PS: our mission is to liberate web analytics; thank you for sharing the word about Matomo 2.0!

Enjoyed this post?
Join the 160,000+ subscribers who receive the Matomo Newsletter straight to their inbox every month
Get started with Matomo

A powerful web analytics platform that gives you and your business 100% data ownership and user privacy protection.

No credit card required.

Free forever.

Get started with Matomo

A powerful web analytics platform that gives you and your business 100% data ownership and user privacy protection.

No credit card required.

Free forever.