Matomo Analytics in WordPress

Matomo Analytics for WordPress: check out the web analytics plugin

The topic of web analytics is not an easy one, especially for smaller companies. Nevertheless, the detailed collection and evaluation of data is becoming increasingly important. Matomo for WordPress promises to be a fully-fledged analytics suite in the WordPress backend. How well does it really work? And can this plugin be a replacement for Google Analytics and the like?

When it comes to choosing the right tracking tool for web analytics, small and medium-sized companies and sole traders in particular are spoiled for choice:

  • Cloud-based enterprise solutions such as Adobe Analytics or Google Analytics are usually correspondingly expensive. In addition, tracking data is processed in the cloud and transferred to third-party providers.
  • Software hosted on your own web server, such as Matomo, requires a corresponding infrastructure and entails additional maintenance costs.
  • WordPress plugins such as Statify promise a simple, cost-effective solution. However, in most cases they only provide superficial data.

Matomo (formerly Piwik) for WordPress is a hybrid solution and combines the advantages of a WordPress plugin and self-hosted tracking software.

I take a look at how well this works in this blog post.

Install Matomo for WordPress

Installing the Matomo plugin is quick and easy: download the plugin files for Matomo Analytics from the official WordPress plugin directory,uploadthem to your WordPress backend via "Upload plugin" and click on "Activate". Alternatively, you can also use the integrated WordPress plugin search directly by searching for "Matomo Analytics".

Matomo Analytics WordPress plugin download
Matomo Analytics plugin in the official WordPress plugin directory

After you have activated the plugin, you can start tracking under the new menu item "Matomo Analytics" > "First steps" by clicking on "Activate tracking now".

Before you decide to do this, however, you should familiarize yourself with the extensive settings.

Range of functions & configuration

Matomo Analytics has six subpages in the WordPress backend:

Matomo Analytics settings
  1. First steps: This page essentially contains the button with which tracking can be activated. You will also find numerous notes on data protection and links to support and help pages.
  2. Summary: Under the "Summary" menu item, you will find a dashboard that lists some interesting key figures. However, the figures shown and the associated filter options are rudimentary and therefore only sufficient for a rough overview.
  3. Settings: Under the "Settings" menu item, you have the option to customize the tracking code according to your preferences, you can exclude certain URLs, roles or IP addresses from tracking or assign read, write or admin rights to WordPress roles.
  4. Marketplace: The Marketplace offers you access to numerous free and paid extensions for Matomo.
  5. Diagnostics: Under Diagnostics you will find information about the installed version of the WordPress plugin, a system log and various tools and help pages for troubleshooting if you should ever have problems with the plugin.
  6. About: Under "About" you can finally sign up for the newsletter and also find some links to guides and FAQs.

And is that it now?

Not by a long shot: The two remaining menu items Reports and Tag Manager take you from the WordPress backend to a kind of second level that looks similar to the on-premise version of Matomo (the version of Matomo that you download and install on your own web server or web space). This is where the full functionality of the plugin is revealed.

Matomo Analytics dashboard

First, you land on the dashboard, which gives you an overview of important metrics. You can add any key figures to the dashboard and arrange them intuitively using drag-and-drop according to your preferences. At the top, you will find a time control and a dropdown to filter the data view according to previously created user segments.

You can access further reports from the dashboard:

  • Visitors: In addition to user numbers for your website, you will find individual visitor profiles, a visitor log and real-time reports in this area. There are also reports on devices, locations, browsers and times of day.
  • Behavior: The reports in this category are all about your visitors' interactions with your website, such as page views, downloads or clicks on certain links. Custom events can also be created and tracked via the Tag Manager.
  • Acquisition: As the name suggests, the reports under the "Acquisition" menu item provide information about the channels through which visitors find their way to your website. For example, search engines, other websites, campaigns, paid ads or social networks. You will also find the Campaign URL Builder here, which allows you to create tracking links.
  • E-commerce: If you run an online store or if your website has e-commerce functions, this section provides you with information about the performance of your website. For example, you can track how sales, turnover and conversion rates are developing.
  • Goals: Under the "Goals" menu item, you can set individual goals for your website and track their conversion rates over a longer period of time.

Next to the menu item for the dashboard in the top menu bar you will find the Tag Manager

Matomo Analytics WordPress

A tag manager allows you to easily integrate content elements and code snippets, so-called "tags", into your website. In web analytics, tags are used to individualize tracking and record certain events such as clicks on certain call-to-actions, the playing of videos or certain sequences of pages viewed. The Tag Manager significantly expands the range of functions of Matomo.

Click on the cogwheel in the top menu bar to access Matomo's extensive settings.

Matomo Analytics WordPress
  • Personal: In addition to date and time settings, you can configure the automatic sending of reports by e-mail here.
  • System: This menu item allows you to deactivate functions such as the Tag Manager, Cross-Origin Resource Sharing, Visit Log and the Visitor Profile.
  • Privacy: Under Privacy, you can configure tracking with Matomo so that it complies with applicable data protection standards.
  • Measured variables: User-defined targets and dimensions can be created and managed here.
  • Diagnostics: Finally, under "Diagnostics" you will find tools to identify tracking errors.

Matomo and data protection

Matomo is committed to data protection and offers numerous setting options for this purpose.

Matomo Analytics WordPress

For example, the anonymization of IP addresses, user IDs and order numbers and the automatic deletion of old data records can be configured down to the last detail.

Under GDPR , the tool allows you to specifically identify data records in the Matomo database and thus fulfill your obligation to provide information and to change or delete data.

Matomo Analytics WordPress

It remains to be seen how often this actually happens in reality - the important thing is that the possibility exists.

Under User opt-out you will find a shortcode that generates a link to enable users to opt out of tracking. You can insert this into your privacy policy, for example.

The possibility of tracking without cookies should be particularly interesting in view of the fact that cookies are increasingly being removed from our browsers.

Matomo Analytics WordPress

If you check Force tracking without cookies, Matomo uses device fingerprinting instead to identify users. This means that information about the browser, operating system, location, time and audio settings, screen resolution and installed browser plugins is used to generate a unique device fingerprint that can be used to identify visitors.

Does this mean that you can do without a cookie banner? Tracking with cookies and device fingerprinting are treated equally in the EU from a data protection perspective. According to the assessment of Matomo itself and lawyer Thomas Schwenke, when using Matomo without cookies, however, an opt-in and thus a cookie banner can be dispensed with without hesitation. Matomo has configured its fingerprinting mechanisms in such a way that the data is anonymized and changed randomly every 24 hours.

However, you should be aware that without cookies, it is much more difficult for Matomo to recognize whether individual users have visited your website before. This has a particular impact on the recording of returning users and related key figures. For example, the days since the last visit or the number of visits until conversion.

Does Matomo as a WordPress plugin also have disadvantages?

Matomo as a WordPress plugin does have two minor drawbacks.

Firstly, running Matomo Analytics on your server requires additional resources. Whenever someone visits your WordPress website, your server has to serve your WordPress pages to the user and also track the user's path in Matomo, which results in an additional database query for each page view. During my tests for this blog article, I didn't notice any limitations in terms of speed; however, I can't say for sure how this will behave for projects with more traffic.

Secondly, Matomo as a WordPress plugin is designed for operation on exactly one WordPress instance and is therefore tied to this instance. The option of simply switching between different properties, as with Google Analytics or Matomo On-Premise, is therefore not available. The plugin solution is therefore rather unsuitable if more than one project is to be managed at the same time.

Conclusion

As someone who has been working intensively with different websites and online marketing for years, I know that nothing works without numbers. Web analysis tools are an indispensable instrument today and have become an integral part of daily work. Key figures such as clicks or page views are no longer enough.

This is precisely the difference between Matomo Analytics and other statistics plugins for WordPress: Matomo is actually a complete analytics suite in the WordPress backend. This means that in addition to page views, a wide range of different metrics and reports are available to help me understand how well my website is performing and where there is still room for improvement. The integrated tag manager and user-defined goals and dimensions expand the possibilities considerably and make the plugin interesting for web analytics professionals too.

I give Matomo credit for the fact that they are obviously aware of their responsibility when it comes to data protection. In concrete terms, this means that I am not alone with the extensive data protection settings, but can find instructions and tips at every turn that help me to make tracking GDPR-compliant.

Matomo for WordPress is a solution for anyone who wants to get serious about web analytics without tying themselves to another web application or spending a lot of money on a cloud solution. And for anyone who is tired of throwing data down the throat of third-party providers.

Personally, I will remain loyal to the Matomo version that currently runs on my own web space. Because I manage several websites and often jump back and forth between the analytics accounts of different websites. And because I can live with the additional technical effort.

Your questions about Matomo Analytics

Do you have any feedback or questions about web analytics with Matomo? Feel free to use the comment function. Do you want to be informed about new articles on WordPress, online marketing and web design? Then follow us on Twitter, Facebook, LinkedIn or via our newsletter.

Did you like the article?

With your rating you help us to improve our content even further.

Write a comment

Your e-mail address will not be published. Required fields are marked with *