How to Add Matomo Analytics Tracking Code into WordPress

matomo logo pisyek

This is not rocket science. You can easily embed the Matomo Analytics tracking code by using a plugin or simply copy and paste the tracking code into your header or footer.

Since I wanted to learn new things during this #COVID19, I learned and create a simple WordPress plugin so that I can easily embed Matomo tracking code into my WordPress sites. You can download it here for free.

Why I chose Matomo?

Previously I used Google Analytics and Statcounter for tracking visitors. Statcounter provides simple and easy dashboard reporting. While Google Analytics features are too overwhelming for me. Then I found Matomo.

Matomo, formerly known as Piwik, is a downloadable, Free (GPL licensed) web analytics software platform.

It provides detailed reports on your website and its visitors, including the search engines and keywords they used, the language they speak, which pages they like, the files they download and so much more.

Matomo aims to be an open-source alternative to Google Analytics. Matomo is PHP MySQL software which you download and install on your own webserver.

Furthermore, you also can use Matomo for e-commerce analytics. Matomo can give you comprehensive insights into your customers’ purchasing behaviors. You can easily integrate Matomo with WooCommerce.

Let’s continue with the tutorial.