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.
How to install Connect Matomo
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “Connect Matomo” and pick the one by matomoteam.
- 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 --activateRequirements: 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.
// 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 );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.