Complianz Privacy Suite

Configuring Matomo for WordPress with Complianz

Aert Hulsebos

Aert Hulsebos


Popular articles

Share on facebook
Share on twitter
Share on linkedin

There are three popular ways how to install Matomo for WordPress. We will describe below how to make it work with Complianz.

  1. Using the Matomo official WordPress plugin. Available here.
  2. Adding Matomo’s Javascript snippet to your website
  3. Using Complianz to add Matomo for you

Which one you should choose is based on the consequences per implementation.

  1. You are using the Matomo official WordPress plugin. This will save all available data from Matomo in your current database, which is not recommended for medium to large websites.
  2. Adding Javascript from Matomo creates more freedom, but requires some coding knowledge.
  3. Adding with Complianz will make sure consent is handled correctly, as well as implementation. Changing the code, however, is more complicated.

1. Using the Matomo official WordPress plugin

If you’re using the Matomo official plugin;

  1. In Matomo choose to anonymize IP addresses
  2. In Complianz, under Wizard – Cookies – Statistics select the answer Yes, Anonymously for the question: Do you compile statistics of this website?
  3. Configure Matomo in the dedicated plugin. Complianz is now configured to handle Matomo as an anonymous statistics script.

2. Adding Matomo’s Javascript snippet to your website

If you want to install Matomo’s Javascript yourself you, please add the following classes for Complianz to recognize Matomo:

script type="text/javascript"

should be;

script type="text/javascript" class="cmplz-stats" class="cmplz-native"

3. Using Complianz to add Matomo for you

You can let Complianz add Matomo when you have the plugin installed, or when you don’t have the plugin installed:

    • Matomo plugin installed: Use as your installation URL when asked in Complianz -> Wizard -> Cookies -> Statistics Configuration. Make sure tracking from the Matomo plugin is disabled, as Complianz will add the script for you.
    • Matomo plugin NOT installed: Use the domain of your Dashboard installation

Recent articles


About Contact form 7 v5.4

Due to significant changes in Contact Form 7 version 5.4, consent for reCaptcha is no longer available. We recommend not updating or reverting back to 5.3.