Web Analytics for WordPress

Self-hosting web analytics got a whole lot easier! Introducing Matomo for WordPress beta

Be the first to try it out! Your feedback is much needed and appreciated

Get a fully functioning Matomo (which is comparable to Google Analytics) in seconds! How? With the new Matomo Analytics for WordPress plugin (out in beta). 

Web analytics in WordPress has never been easier to get, or more powerful. Matomo Analytics for WordPress is the one-stop problem solver. It’ll save you time, money and give you the insights to help your website or business succeed. 

Best of all, we get to further the goal of decentralising the internet. Our hope is for Matomo Analytics for WordPress to spread far and wide. We’re so excited that more and more people can now get their hands on this powerful, free, open-source analytics platform, in a few clicks!

Since it’s out in beta, why don’t you give it a go and be one of the first to test it out.

What do you get?

  • No more signing up to third party analytics service (like Google)
  • No more sending away your valuable data to a third party service (like Google)
  • Easy setup –  install with a few clicks, no tracking code installation or developer knowledge needed
  • 100% accurate data – no data sampling and no data limits 
  • Full data ownership – all data is stored on your servers and no one else can see your data
  • Privacy protection / GDPR compliance
  • Ecommerce tracking out-of-the-box (Woocommerce, Easy Digital Downloads, and MemberPress) and we’re keen to add many more over time
  • Powerful features – segmenting, comparing reports, different visualisations, real-time reports, visit logs and visitor profiles, Matomo Tag Manager, dashboards, data export, APIs, and many more
  • Compared to other WordPress solutions we don’t charge you extra for basic features that should work out-of-the-box
  • Just like Matomo On-Premise, Matomo Analytics for WordPress is free

We need your feedback!

We all know and love the versatility of WordPress – with over 55,000 plugins and all the different ways of hosting it. However, with this great versatility comes the potential for things to be missed, so we’re keen to hear your feedback.

Thank you! We really appreciate your help on this ❤️

Now, you beta try it out ;) (*wink, nudge*)

How do you get Matomo Analytics for WordPress?

 

You can then upload it in your WordPress by going to “Plugins => Add New”. During the upload, if you get an error like “Are you sure you want to do this?”, we recommend you upload the extracted zip file on to your server and into your ‘wp-content/plugins’ folder manually using ftp or ssh. Make sure the plugin name is ‘matomo’.

All you need is at least WordPress 4.8 and PHP 5.5.9 or later. MySQL 5.1+ is recommended. If your website is mission critical, we do not recommend running this in a production environment just yet. We’ve built it in a way that shouldn’t break anything, but of course, you never know. 

The source code is available at: https://github.com/matomo-org/wp-matomo/

In perfect harmony: Matomo and WordPress

Matomo Analytics for WordPress

The idea for this started two years ago when we realised the similarities between the Matomo and WordPress project. 

Not only from a technological point of view – where both are based on PHP and MySQL and can be extended using plugins – but also from a philosophical, license and values point of view. We both believe in privacy, security, data ownership, openness, transparency, having things working out-of-the-box, simplicity etc. 

WordPress is currently used on approximately 30% of all websites. Many of them use the self-hosted open-source WordPress version. Giving everyone in this market the opportunity to easily get a powerful web analytics platform for free, means a lot to us. We believe WordPress users get a real choice besides the standard solution of Google Analytics, and it furthers our effort and goal of decentralising the internet. 

We’re hoping more people will be empowered to protect user privacy, have access to a great free and open-source tool, and keep control of data in their own hands.

We hope you feel the same. Help us spread the word to your friends and get them in on this awesome new project!

Share on facebook
Share on twitter
Share on linkedin

FAQs

Are there any known issues?

  • If you have configured a custom content directory using `WP_CONTENT_DIR` parts of the plugin likely won’t work
  • If you have WP_DEBUG enabled, then some notices re MySQL might appear which can be ignored.

Isn’t there already a WP-Matomo plugin for WordPress available?

Yes, the existing WP-Matomo (WP-Piwik) plugin is an awesome plugin to connect your existing Matomo On-Premise or Matomo Cloud account with WordPress. The difference is that this new plugin installs Matomo Analytics fully in your WordPress. So you get the convenience of having a powerful analytics platform within your WordPress.

We highly recommend you install this new plugin if you use WordPress and are not running Matomo yet.  

If you are already using Matomo on our Cloud or On-Premise, we’d still highly recommend you use WP-Matomo (WP-Piwik). So that you get an easier way of inserting the tracking code into your WordPress site and get insights faster.

What are the differences between Matomo On-Premise and Matomo for WordPress?

  • There are no users and no website management in Matomo itself. Instead users and websites are managed in WordPress. This way you only need to manage your users and sites in one place.
  • Matomo HTTP API is not available, use the WordPress REST API instead 
  • Widgets cannot be exported, we provide shortcodes to embed reports into your website instead
  • Tag Manager is not available in WP Multisite
  • Matomo Marketplace is not available (see more about this below)
  • Matomo CLI tools (console) may not work in MultiSite mode
  • The entire login/logout and authentication is all done through WordPress
  • Individual Matomo core plugins cannot be disabled
  • The Matomo mobile app for Android and iOS won’t work with Matomo for WordPress
  • No custom logo can be uploaded in Matomo for WordPress
  • Matomo for WordPress focuses on simplicity by doing a lot of the work you usually have to do in On-Premise, for you. For example it automatically configures Geolocation and you don’t need to set up any cronjob to generate reports.
  • Please note: if you are thinking of migrating from On-Premise to Matomo for WordPress, this currently is not supported but we will see if we can add support for this later on.

I have a high traffic website, will it be an issue?

If you have a lot of traffic, we’d advise you to install Matomo On-Premise separately. There’s no specific traffic threshold we can give you on when it’s better to use Matomo On-Premise. It really depends on your server. We also need to await feedback from this beta test. 

We reckon if you have more than 500,000 page views a month, you may want to think about using Matomo On-Premise with WP-Matomo instead, but this is just an estimate. In general, if the load on your server is already quite high, then it might be better to install Matomo on a separate server. See also recommended server sizing for running Matomo.

Will it run on WordPress.com?

We don’t think so. As mentioned on the incompatible plugins guide, WordPress has found that SQL-heavy plugins can put a high strain on their servers and we reckon this plugin will fall into this category.

Does it support WP MultiSite?

Yes it does. When you have a MultiSite running, each blog has its own Matomo installation. In the network admin you can manage the tracking code for all sites in one convenient place. 

If you have a lot of sites – or a lot of traffic in your WordPress – we recommend you install Matomo On-Premise as it’ll be much faster and easier for you to maintain. This option still gives you the ability to White Label, whereas, Matomo on WordPress doesn’t.

Will plugins from the Matomo Marketplace work on WordPress?

Yes and no. In general, it will be possible for any existing Matomo plugin to be compatible with Matomo WordPress. There is an option for us to make them automatically compatible, as it only involves inserting a few lines of code. However, the problem is that each developer would need to put their plugin on the WordPress Marketplace first. The other option is you download it from our Marketplace and then upload it in WordPress manually. 

I want to extend the WordPress plugin, where is the documentation?

We cannot wait to see what you, the community, will come up with! 

We will make the documentation available closer to the release date on our Matomo Developer Zone. We’re already providing a few filters to hook into our plugin and you can also access Matomo data within any WordPress plugin. 

There are so many awesome ways to make this work and to figure out how the insights could be better integrated into WordPress, so please let us know your ideas, and keep an eye out!

Will Matomo Premium Features work?

Yes they will! Well, most of them. This means features like Heatmaps, Session Recordings, Form Analytics, Media Analytics, Custom Reports and many more will be available for WordPress. There are currently no such plugins available on the WordPress Marketplace unless you are using a third party service.

How does Matomo for WordPress work technically?

Thanks to the beauty of dependency injection; the event system; the config; and our plugin architecture in Matomo, we were able to hook into many central parts and replace them with WordPress internals. For example emails, database, authentication, logging, users management, and more. It’s important for us to apply as many WordPress best practices as possible to guarantee that it works on as many systems as possible out-of-the-box. This means you get to enjoy the authentic WordPress look and feel. We’re also making sure it works when you follow all the Hardening WordPress steps to secure your WordPress. 

How do I report a bug or request a new feature in Matomo for WordPress?

Please create an issue, on our repository whenever you find a bug or if you have any suggestion or ideas of improvement. We want to build an outstanding analytics experience for WordPress!

Matomo Analytics for WordPress newsletter

Get ahead of the crowd – signup to our exclusive Matomo for WordPress newsletter to get the latest updates on this exciting new project.

Share this post

Share on facebook
Share on twitter
Share on linkedin
Share on print
Share on email