Connect WordPress to Matomo Analytics with WP-Matomo

Among Matomo Analytics’ list of recommended plugins for customizing web analytics is the WP-Matomo (WP-Piwik) WordPress plugin. This plugin allows you to view Matomo analytics within your WordPress dashboard. Below we cover how to setup the WP-Matomo (WP-Piwik) plugin using your Matomo API code.

Make WordPress even easier than it is already with a dedicated WordPress Hosting plan. Speed and security right out of the box.

Install WP-Matomo (WP-Piwik)

  1. Log into your WordPress website directly or via Softaculous.
  2. Under Plugins, select Add New.
  3. Search “WP-Matomo“.
  4. Select Install Now to install WP-Matomo (WP-Piwik).
    searching and installing WP-Matomo (WP-Piwik)
  5. Select Activate in the same location. You can also enable it from Installed Plugins on the left.
    Activating WP-Matomo (WP-Piwik)
  6. Hover over Settings and select WP-Piwik to configure the plugin settings.
    Select WP-Piwik under Settings
  7. Type your Matomo login URL beside Piwik URL.
    Add your website and API token
  8. Paste your Matomo API Code beside Auth token.
    1. Login your Matomo installation.
      Login Matomo

    2. Select Settings.
      Select Settings from the dashboard

    3. Select API.
      Select API

    4. Click the grey text field to uncover and copy your API code.
      Click to show your API code

  9. After copying the authentication code, press Save Changes. You’ll see a new tab titled Show Statistics.
    Matomo connection complete
  10. Hover over Dashboard and select WP-Piwik to view your Matomo Analytics.
    WordPress Matomo dashboard

    Screen Options at the upper-right shows options for hiding certain stats.

You can read more about improving your Matomo web analytics in our Support Center and our last article – branding in Matomo. You can also view our other recommended WordPress plugins.

InMotion Hosting Contributor
InMotion Hosting Contributor Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

Was this article helpful? Join the conversation!