Connect Matomo icon
Analytics & Tracking

Connect Matomo

Adds Matomo (former Piwik) statistics to your WordPress dashboard and is also able to add the Matomo Tracking Code to your blog.

  • By matomoteam
  • v1.1.12
  • Updated

Overview

Connect Matomo describes itself as: “Adds Matomo (former Piwik) statistics to your WordPress dashboard and is also able to add the Matomo Tracking Code to your blog.”

It is active on 60,000+ WordPress sites and rated 4.5 out of 5 by 95 users on WordPress.org. Developers can extend it through 1 actions and 5 filters, listed below.

We haven't published a hands-on review of Connect Matomo yet. Want one, or need help with it? Send us a request.

How to install Connect Matomo

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Connect Matomo” and pick the one by matomoteam.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install wp-piwik --activate

Requirements: WordPress 5.0+ · tested up to WordPress 7.0.0

Hooks & customisation

Connect Matomo 1.1.12 fires 1 actions and 5 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

wp-piwik — top hooks
// Filter whether a shortcode may request data from Matomo. The hook can return a…
apply_filters( 'wp-piwik_shortcode_authorized', $authorized, $attributes, $post );

// Filter in classes/WP_Piwik/Admin/Settings.php
apply_filters( 'litespeed_esi_status', false );

// Filter in classes/WP_Piwik.php
apply_filters( 'wp-piwik_meta_boxes_locations', get_post_types( array( 'public' => true ), 'names' ) );

// Action in classes/WP_Piwik.php
do_action( 'wp-piwik_site_created', $result );

// Filter in classes/WP_Piwik/TrackingCode.php
apply_filters( 'wp-piwik_tracking_code', $this->tracking_code );

// Filter in classes/WP_Piwik/TrackingCode.php
apply_filters( 'wp-piwik_tracking_user_id', $pk_user_id );

Browse all 6 hooks with examples →

Need Connect Matomo customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with matomoteam. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.

Alternatives in Analytics & Tracking

See all →

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful…

5+ million installs 91 hooks

The best free Google Analytics plugin for WordPress. See how visitors find and use your website so you can grow…

2+ million installs Reviewed 186 hooks
CookieYes icon

CookieYes

3,238

Google-certified CMP: cookie banner, cookie notice and cookie consent for GDPR/CCPA compliance, with cookie blocker, cookie scanner and consent log.

1+ million installs Reviewed 82 hooks

Publish your cookie banner or notice in minutes. Automatically scan cookies, and create policies to align with GDPR, CCPA, and…

1+ million installs 184 hooks