Connect Matomo (WP-Matomo, WP-Piwik)

Description

Si vous n’utilisez pas encore Matomo Cloud ou si vous hébergez votre propre instance de Matomo (Matomo On-Premise), veuillez utiliser l’extension Matomo Analytics.

Cette extension utilise l’API Matomo pour afficher vos statistiques Matomo dans votre tableau de bord WordPress. Elle peut ajouter le code de suivi Matomo à votre site web et vous permet de le modifier. De plus, WP-Matomo supporte les réseaux de sites WordPress et gère les multi-sites et leurs codes de suivi.

Pour utiliser cette extension, l’application de statistiques Web Matomo est nécessaire. Si vous ne disposez pas déjà d’une configuration Matomo (par exemple, fournie par votre hébergeur Web), vous avez deux options simples : utilisez soit un Matomo auto-hébergé, soit hébergé sur le cloud Matomo d’InnoCraft.

Prérequis : PHP 7.0 (ou supérieur), WordPress 5.0 (ou supérieur), Matomo 4.0 (ou supérieur).

Langues supportées : anglais, albanais, allemand, français, grecque, hongrois, italien, portugais (Brésil). Partiellement supportées : azerbaïdjanais, biélorusse, chinois (simplifié), hindi, lituanien, luxembourgeois, norvégien, persan, roumain, russe, espagnol, suédois, turque, ukrainien.

Qu’est-ce que Matomo ?


En savoir plus

Premiers pas

Codes courts

Si activé, vous pouvez utiliser les codes courts suivant :

[wp-piwik module="overview" title="" period="day" date="yesterday"]

Affiche le tableau de visualisation identique au Tableau de bord de WP-Matomo. Vérifiez la documentation sur l’API Matomo concernant VisitsSummary.get pour obtenir plus d’informations sur la période ou le jour. Les tableaux de données multiples seront cumulés. Si vous renseignez l’attribut titre, son contenu sera affiché dans le graphique de ce titre.

[wp-piwik module="opt-out" language="en" width="100%" height="200px"]

Affiche l’iframe de refus du suivi. Vous pouvez modifier la langue de l’iframe grâce à l’attribut langage (p. ex. fr pour Français) ainsi que la largeur et la hauteur avec les attributs width et height.

[wp-piwik module="post" range="last30" key="sum_daily_nb_uniq_visitors"]

Affiche les valeurs des clés choisies relativement à l’article courant. Vous pouvez définir une plage (format : lastN, previousN ou YYYY-MM-DD, YYYY-MM-DD) et la clé de la valeur désirée (p. ex. sum_daily_nb_uniq_visitors, nb_visits ou nb_hits – pour plus d’information, consultez l’utilisation de plage dans la méthode Actions.getPageUrl de l’API Matomo).

[wp-piwik]

est équivalent à [wp-piwik module= »overview » title= » » period= »day » date= »yesterday »].

Crédits et remerciements

  • Graphiques fournis par Chart.js (Licence MIT).
  • Tous les traducteurs de Transifex et WordPress.
  • Toute personne qui fait un don au projet WP-Matomo, y compris l’équipe Matomo !
  • Tous les utilisateurs qui m’ont envoyé des e-mails avec des critiques, recommandations, demandes de nouvelles fonctionnalités et rapports de bogues – vous m’aidez à rendre WP-Matomo bien meilleur !

Merci à toutes et à tous !

Captures d’écran

  • Réglages de WP-Matomo.
  • Page de statistiques WP-Matomo.
  • Closer look to a pie chart.
  • WordPress toolbar graph.
  • Matomo: Here you'll find your auth token.

Installation

Notes générales

  • Pour commencer, vous devez disposer d’une instance de Matomo en cours d’exécution. Avec les liens suivants, vous pouvez télécharger Matomo et consulter la documentation de Matomo.
  • Si vous souhaitez mettre à jour votre instance de Matomo, vous devriez mettre votre site WordPress en maintenance pendant le processus de mise à jour.

Installez WP-Matomo sur un simple site WordPress

  1. Téléversez le répertoire complet wp-piwik dans votre répertoire wp-content/plugins.
  2. Activer l’extension par l’intermédiaire du menu « Extensions » de WordPress.
  3. Ouvrez le nouveau menu « Réglages/WP-Matomo (WP-Piwik) » et suivez les instructions pour configurer votre connexion Matomo. Enregistrer les réglages.
  4. Si vous avez accès à plusieurs statistiques de site et n’avez pas activé la « configuration automatique », choisissez votre site et enregistrez à nouveau les réglages.
  5. Consultez « Tableau de bord/WP-Matomo (WP-Piwik) » pour voir les statistiques de votre site.

Installer WP-Matomo sur un réseau de sites WordPress (WPMU/WP multisite)

Il existe deux méthodes différentes pour utiliser WP-Matomo dans un environnement multisite :

  • En tant qu’extension spécifique au site, il se comporte comme une extension installée sur un simple site WordPress. Chaque utilisateur peut activer, configurer et utiliser WP-Matomo de son côté. Les utilisateurs peuvent même utiliser leurs propres instances Matomo (et par conséquence ils doivent). 
  • L’utilisation de WP-Matomo comme extension réseau équivaut à une approche centrale. Une seule instance Matomo est utilisée et l’administrateur du site configure complètement l’extension. Les utilisateurs sont simplement autorisés à voir leurs propres statistiques, les administrateurs du site peuvent voir les statistiques de chaque site.

Extension spécifique au site

Ajoutez simplement WP-Matomo à votre dossier /wp-content/plugins et activez la page Extension pour les administrateurs de site individuels. Chaque utilisateur doit activer et configurer WP-Matomo par lui-même s’il souhaite utiliser l’extension.

Extension réseau

Le support de l’extension réseau est encore expérimental. Veuillez la tester par vous-même (par exemple en utilisant une copie locale de votre WP multisite) avant de l’utiliser dans un contexte utilisateur.

Ajoutez WP-Matomo à votre dossier /wp-content/plugins et activez-le en tant qu’extension réseau. Les utilisateurs peuvent accéder à leurs propres statistiques, les administrateurs du site peuvent accéder aux statistiques de chaque site et à la configuration de l’extension.

FAQ

Où puis-je trouver l’URL Matomo et le jeton d’authentification Matomo ?

Pour utiliser cette extension, vous aurez besoin de votre propre instance Matomo. Si vous ne disposez pas encore d’une installation Matomo, vous avez deux options simples : utiliser soit un Matomo auto-hébergé, soit Matomo hébergé sur le cloud par InnoCraft.

Dès que Matomo fonctionnera, vous pourrez configurer WP-Matomo : L’URL de Matomo est la même URL que celle que vous utilisez pour accéder à votre Matomo, par exemple pour le site de démonstration : https://demo.matomo.org. Le jeton d’authentification est une sorte de mot de passe secret, qui permet à WP-Matomo d’obtenir les données nécessaires de Matomo. Pour obtenir votre jeton d’authentification, connectez-vous à Matomo, cliquez sur l’icône de l’engrenage des préférences (en haut à droite) et cliquez sur « API » (colonne latérale gauche, vers le bas).

Vous obtiendrez une description plus détaillée ici : https://fr.matomo.org/blog/2015/05/wordpress-integration-wp-piwik-1-0/

I get this message: « WP-Matomo (WP-Piwik) was not able to connect to Matomo (Piwik) using our configuration ». How to proceed?

First, please make sure your configuration is valid, e.g., if you are using the right Matomo URL (see description above). Then, go to the « Support » tab and run the test script. This test script will try to get some information from Matomo and shows the full response. Usually, the response output gives a clear hint what’s wrong:

The response output contains…
bool(false) and HTTP/1.1 403 Forbidden: WP-Matomo is not allowed to connect to Matomo. Please check your Matomo server’s configuration. Maybe you are using a password protection via .htaccess or you are blocking requests from localhost/127.0.0.1. If you aren’t sure about this, please contact your web hoster for support.
bool(false) and HTTP/1.1 404 Not Found: The Matomo URL is wrong. Try to copy & paste the URL you use to access Matomo itself via browser.
bool(false) and no further HTTP response code: The Matomo server does not respond. Very often, this is caused by firewall or mod_security settings. Check your server logfiles to get further information. If you aren’t sure about this, please contact your web hoster for support.

If this does not help as well, feel free to open a topic in the support forum. Please share all available information including the test script result, if possible.

PHP Compatibility Checker reports PHP7 compatbility issues with WP-Matomo.

The Compatibility Checker shows two false positives. WP-Matomo is 100% PHP7 compatible, you can ignore the report.

Overview shortcode shows no unique visitors using a yearly range.

See Matomo FAQ.

WP-Matomo only shows the first 100 sites of my multisite network. How can I get all other sites?

The Matomo API is limited to 100 sites by default. Add the following line to the section [General] of Matomo’s config/config.ini.php file:

API_datatable_default_limit = 1000

Tracking does not work on HostGator!

Try to enable the « avoid mod_security » option (WP-Matomo settings, Tracking tab) or create a mod_security whitelist.

Can I contribute to WP-Matomo as a translator?

You like to contribute to WP-Matomo translations? Please use the Transifex translation community.

Of course, I will add missing languages if requested, and I will also upload the existing language files of older WP-Matomo releases.

If you can’t (or don not want to) use transifex, you can also translate languages/wp-piwik.pot delivered with WP-Matomo.

Thank you very much! 🙂

Avis

13 mars 2024
Good plugin. Nonetheless, considering it is better to be in the safe side a consent banner is a must. It would be great if the tool also adds the function to incorporate the code in the header to support popular consent banners with matomo. Matomo already has made available the code for the most common popular consent banners. Plugins to add code in the headers have the drawback that one cannot really choose the location in the header, and the location seems to make a difference. That the only reason preventing me using Matomo and that is the reason to set 2 stars to the plugin
22 septembre 2023 3 réponses
Impossible to connect the sites with the latest version of Matomo, unusable!
1 décembre 2022
This plugin does what it claims very easily. But also gives a lot of options if you want to customize your tracking.
7 septembre 2022
Once you understand how the plugin works in connection to an "on premise" Matomo, it's the ideal plugin for Analytics outside GA. Am migrating most of the blogs I manage (8 so far) with good data. Thx!
3 juillet 2022
Lots of issues. Main issue is no data showing in wordpress. Also zero support even if you buy their packages. We spend close to $2000 and no replies. Based on many posts, this appears to be a bug in plugin.
20 août 2021
Just great ! So easy to use with Wordpress, compared to the never eending problem I had with Analytics!
Lire les 92 avis

Contributeurs/contributrices & développeurs/développeuses

« Connect Matomo (WP-Matomo, WP-Piwik) » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Connect Matomo (WP-Matomo, WP-Piwik)” a été traduit dans 12 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Connect Matomo (WP-Matomo, WP-Piwik) » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

1.0.30

  • Fix settings behavior
  • Fix auto configuration in PHP API mode
  • Fix Opt-Out shortcode language attribute
  • Remove deprecated dynamic property (PHP 8.2)

1.0.29

  • Rename plugin to « Connect Matomo »
  • Fix a XSS vulnerability

1.0.28

  • Encode plugin display name
  • Option to set requireConsent or requireCookieConsent
  • Avoid notice on empty ecommerce data
  • Improve search tracking performance (thanks to theodejager, details)
  • Fix multisite sub-site tracking (thanks to ulkoalex, details)
  • Remove excess form closing tag (thanks to ulkoalex, details)

1.0.27

  • Fix a CSRF vulnerability
  • Fix JavaScript typos on settings page which broke some interface functionality
  • Fix proxy path on multisite networks (thanks to caveman99, details)
  • Fix array key warnings (thanks to goaround, details)
  • Fixed a bug in proxy config.php to avoid adding the protocol twice to the Matomo URL
  • Proxy script will run proxy/config.local.php before proxy/config.php to set an individual WordPress root directory via $wpRootDir

1.0.26

  • Fix feed tracking via proxy script (thanks to nicobilliotte, details)
  • Add piwik.php proxy script wrapper to make sure proxy tracking codes continue working if piwik.php is used
  • Fix for stalled blog options on network activation (thanks to ulkoalex, details)
  • Fix wrong title on city statistics (thanks to ulkoalex, details)
  • Fix « call to undefined method » error on network admin
  • Do not allow to set empty WP-Matomo display name
  • Rename Piwik link on dashboard widget to Matomo

1.0.25

  • Replace jqplot and jquery.sparklines with Chart.js
  • Allow to show overview stats for last 60 and 90 days
  • Allow to select the per post stats range from today to last 90 days
  • Optionally remove Matomo’s script tag’s type attribute, see https://wordpress.org/support/topic/how-to-remove-unnecessary-type-attribute-for-javascript/.
  • Fix/update proxy script (thanks to nicobilliotte and Rasp8e, https://github.com/braekling/WP-Matomo/pull/91)
  • Make plugin working if deployed in a custom folder (thanks to utolosa002, https://github.com/braekling/WP-Matomo/pull/88)

1.0.24

  • Hotfix to avoid deprecated jQuery.support.boxModel in jqPlot (https://github.com/jqPlot/jqPlot/issues/123)
  • Enabling metaboxes on particular Custom Post Types (thanks to goaround, https://github.com/braekling/WP-Matomo/pull/83)

1.0.23

  • Handle tracking codes containing matomo.js/.php instead of piwik.js/.php
  • Fixed target= »_BLANK » property (thanks to tsteur)

1.0.22

  • Bugfix: Innocraft cloud URL *.matomo.cloud will work
  • Option to configure filter_limit parameter (see expert settings)
  • Replaced piwik.php proxy script by matomo.php proxy script

1.0.21

  • Bugfix: Get HTTP mode working again

1.0.20

  • Support for new Innocraft cloud URL (*.matomo.cloud)
  • Changed naming from Piwik to Matomo
  • Added City, Type and Model views
  • Bugfix: Avoid warnings on empty results

1.0.19

  • Security fix: Escape request var
  • Language updates

1.0.18

  • WPML.org support: Use different site IDs for different languages
  • Ecommerce widgets

1.0.17

  • Header issue solved which caused incompatibilities with other plugins like Yoast SEO
  • Update of InnoCraft cloud links (InnoCraft is the team behind Matomo)
  • Bugfix: Avoid a broken page if Matomo is misconfigured and WordPress debugging enabled

1.0.16

  • Added InnoCraft Cloud support (the new service created by the people behind Matomo). Piwik.pro is still usable via HTTP mode, the configuration will be updated automatically.
  • Added search functionality to site browser
  • Added preload DNS option, see https://matomo.org/blog/2017/04/important-performance-optimizations-load-piwik-javascript-tracker-faster/
  • Added option to set link and download classes (expert settings)
  • Added option to choose which post types should be considered for annotations
  • Bugfix: Opening Matomo stats of a specific network site does not lead to the sitebrowser anymore
  • Bugfix: Avoid unnecessary notices
  • Bugfix: Avoid a warning in proxy script
  • Bugfix: NoScript code is working again
  • Replaced deprecated wp_get_sites

1.0.15

  • Allow to modify the tracked user ID using the filter « wp-piwik_tracking_user_id »
  • Bugfix: Output of « post » shortcode was incorrectly placed, see https://wordpress.org/support/topic/post-shortcode-values-are-incorrectly-placed/
  • Bugfix: Usage of WP_PROXY_BYPASS_HOSTS, see https://wordpress.org/support/topic/bug-considering-wp_proxy_bypass_hosts-in-proxy-setups/
  • Bugfix: Proxy script did not work with cURL, see https://github.com/braekling/WP-Matomo/issues/48
  • Bugfix: RSS feed tracking did not use proxy URL

1.0.14

  • Action « wp-piwik_site_created » was extended by a site ID parameter, so it will deliver the Matomo site ID of the created site
  • Bugfix: Fixed an issue with Matomo site creation
  • Bugfix: Allow changes of a manually defined tracking code on networks, see https://github.com/braekling/WP-Matomo/issues/46

1.0.13

  • Language updates
  • Readme typo fixes (thx to ujdhesa)
  • Perform your own code after site creation by using the action « wp-piwik_site_created »
  • Improved caching ID to avoid interferences, see https://github.com/braekling/WP-Matomo/issues/42

1.0.12

  • Removed notices and warnings
  • Allow to modify the tracking code using the filter « wp-piwik_tracking_code »
  • Network: Don’t show plugin overview settings link on individual sites

1.0.11

  • Security improvements
  • Removed some division by zero warnings
  • Option to disable SSL host verification (additional to peer verification)
  • Overview widget: Do not show unique visitors row if value is not available
  • Bugfix: Post shortcode is fixed and will work again

1.0.10

  • Security fix

1.0.9

  • Language updates
  • Bugfix: Deprecated get_currentuserinfo() replace. Thx to the infinity, see https://github.com/braekling/WP-Matomo/pull/21
  • Bugfix: Overview widget will show proper values even if a period > 1 day is selected, see https://wordpress.org/support/topic/weird-numbers-im-wp-piwik

1.0.8

  • Feature: Show « per post stats » and the « custom variable meta box » also on page and custom post edit
  • Bugfix: Fixed user tracking (moved the user tracking changes from general modifications to runtime modifications)
  • Bugfix: Fixed namespace error. Thx to thelfensdrfer, see https://github.com/braekling/WP-Matomo/pull/18
  • Bugfix: Warning on blog name change, see https://wordpress.org/support/topic/wp-piwik-triggers-warning-when-changing-blog-name

1.0.7

  • Feature: User ID Tracking. Thx to Danw33, see https://github.com/braekling/WP-Matomo/pull/16
  • Feature: Site ID parameter added to opt-out shortcode. Thx to christianhennen, see https://github.com/braekling/WP-Matomo/pull/17
  • Feature: Allow a local config file to affect the proxy script, see https://wordpress.org/support/topic/proxy-config-require-wp-loadphp-path
  • Bugfix: No script tag is not auto-inserted if the tracking code is manually defined.

1.0.6

  • Language updates
  • Encoding & gettext fixes
  • Better error messages. Thx to mcguffin, see https://github.com/braekling/WP-Matomo/pull/14

1.0.5

  • Plusieurs mises à jour linguistiques.
  • Important security fix: XSS vulnerability

1.0.4

  • Plusieurs mises à jour linguistiques.
  • Feature: Offer setDownloadExtensions option (see expert settings).
  • Feature: Consider configured HTTP connection method in proxy script.
  • Widget: Visitor country added.
  • Bugfix: Annotations on scheduled posts will work.
  • Bugfix: Donation button will work again.

1.0.3

  • Plusieurs mises à jour linguistiques.
  • Switch to JSON renderer (Matomo 3 compatibility preparation)
  • Solution de contournement : l’API PHP fonctionnera avec Matomo 2.14+, voir https://github.com/matomo-org/matomo/issues/8311 pour plus d’informations.
  • Feature: Heartbeat timer support
  • Feature: Expanded token & URL/path input fields
  • Bugfix: Site duplication fix.
  • Bugfix: Avoid notice on empty overview response.
  • Bugfix: Return request error responses.
  • Bugfix: Opt-out URL fixed.
  • Bugfix: Capabilities: « Do not track »-filter and « show stats »-limit will work on multisites as expected again.

1.0.2

  • Plusieurs mises à jour linguistiques.
  • Feature: Disable update notifications (expert settings).
  • Feature: Choose between cURL and fopen if both are available (expert settings).
  • Feature: Choose between POST and GET (expert settings).
  • Widget: System details added.
  • Widget: SEO widget re-enabled.
  • Update: Replaced deprecated Matomo API calls.
  • Bugfix: Settings link (toolbar, network mode) fixed.
  • Bugfix: Encode blog titles in PHP mode.
  • Bugfix: Pie charts won’t show to long legends if more than 10 items are available.

1.0.1

  • Several language updates, amongst others Portuges (Brazil) finished. See https://www.transifex.com/organization/piwik/dashboard/wp-piwik for further information.
  • Bugfix: If WP-Matomo is not configured properly or the connection to Matomo could not be established, the toolbar graph won’t cause a JavaScript error anymore.

1.0.0

  • Feature: Expand « other » values on click
  • Bugfix: Avoid notices on invalid file path (PHP API)
  • Bugfix: Cookie lifetime input boxes are in some cases shown or hidden by mistake
  • Network (multisite): Updated plugin to use wp_get_sites if possible
  • Test script: Settings dump added

0.10.1.0

  • Bugfix: Fixed memory & timeout issue on multisites

0.10.0.9

  • Add clear cache function.
  • Add clear settings (reset) function.

0.10.0.8

  • Bugfix: Sitebrowser link (settings page, support) fixed
  • Bugfix: Use new settings directly after saving (reloading is not necessary anymore)
  • Optimized caching behaviour
  • Language update (German, French)

0.10.0.7

  • Bugfix: Opt-out shortcode output fix
  • Bugfix: Opt-out shortcode will also work in « pro » and « php » mode
  • Bugfix: Test script link (settings page, support) fixed
  • Bugfix: Removed test script errors and notices
  • Bugfix: Keep sure the revision ID is stored and avoid re-installing the plugin again and again
  • Bugfix: http/pro – after configuration the settings page had to be reloaded once to start working
  • Typo fixes

0.10.0.6

  • Bugfix: Option storage bug if WP-Matomo is used as single site plugin on blog networks
  • Bugfix: WP-Matomo will work without Matomo superuser access, again
  • Bugfix: Choosing the site without auto config works again

0.10.0.5

  • Bugfix: In some cases the update message did not disappear -> fixed
  • Important change: If you want to upgrade from 0.8.x to 0.10.x, please install 0.9.9.18 first: https://downloads.wordpress.org/plugin/wp-piwik.0.9.9.18.zip

0.10.0.4

  • Bugfix: Settings link in admin notices fixed
  • Bugfix: Shortcode result will appear where expected
  • Bugfix: 0.9.9.18 settings will be kept (if WP-Matomo was not reconfigured after updating to 0.10.0.3, yet)
  • Feature: If Matomo returns an error instead of a tracking code, this error will be visible

0.10.0.3

  • Public beta of WP-Matomo 1.0
  • Full refactored code
  • Feature: Limit referral cookie lifetime
  • Feature: Enable content tracking

0.9.9.18

  • Improvement: Define additional file extensions for tracking downloads
  • Improvement: Added a POT file to support translators (Note: 1.0 will change a lot, so please don’t spend too much time in translating the current version, e.g., by creating an all new translation. With 1.0 I will also offer a translation platform to support your work.)
  • Improvement: If necessary, you can force Matomo to use HTTP or HTTPS now (e.g., to avoid redirections from http to https)
  • Avoided a naming collision with Woo Theme

0.9.9.17

  • Improvement: Updated the Matomo proxy script and added cURL support if url_fopen is not available
  • Bugfix: Setup bug, see https://wordpress.org/support/topic/piwik-urlpath-not-saved
  • Bugfix: CDN URL notice, see https://wordpress.org/support/topic/tracking-cdn-blank-gives-php-notice-which-breaks-the-trackback-js-code
  • Bugfix: Fixed zlib compression notice, see https://wordpress.org/support/topic/v09914-is-bad
  • Bugfix: Proxy script label links to proxy script checkbox
  • Fixed a typo in German language file

0.9.9.16

  • Bugfix: PHP API causes plain text output issue (see 0.9.9.11)
  • Bugfix: Shortcode output translated

0.9.9.15

  • Bugfix: One more commit error
  • Bugfix: Adding up problem related to the overview widget
  • Bugfix: Fixes missing brackets on ob_start
  • Hotfix: Adds /0.9.9.15 to js/index.php to force a reload
  • Bugifx: Replaced broken support link
  • Added a bitcoin donation link

0.9.9.14

  • Bugfix: Commit errors in 0.9.9.13

0.9.9.13

  • Improvement: Only activate/ load admin components if an admin page is actually loaded. Thanks to Michael!
  • Bugfix: Proxy tracking will work again. Matomo 2.7 or higher is recommended.
  • Bugfix: Avoid a PHP notice in dashboard
  • NOTE: If you update Matomo and use the « add tracking code » feature, please also update your WP-Matomo tracking code: Just open the WP-Matomo tracking code settings and save them again.

0.9.9.12

  • Bugfix: Avoid forced relogin on site change (WP network)
  • Bugfix: Avoid multiple annotations on post updates
  • Bugfix: Use mergeSubdomains instead of mergeAliasURLs
  • Feature: Added mergeAliasURLs as additional feature

0.9.9.11

  • Bugfix: PHP API causes plain text output issue, see https://wordpress.org/support/topic/bug-cant-access-to-tabs-in-setting-after-configuration
  • Bugfix: PHP API causes WordPress multisite login issue, see https://wordpress.org/support/topic/causes-multisite-superadmin-subsite-login-problem
  • Bugfix: Removed PHP warning if annotations are enabled and annotations will work again, see https://wordpress.org/support/topic/warning-message-everywhere-in-the-backend-call_user_func_array-expects
  • Feature: « Track visitors across all subdomains » script changes are done by Matomo now, see https://wordpress.org/support/topic/track-across-subdomains-wp-on-subdomain?replies=2
  • Update: Flattr API update

0.9.9.10

  • Bugfix: Multisite login issue, see https://wordpress.org/support/topic/0999-multisite-frontend-not-logged-in
  • Bugfix: wpMandrill compatibility, see https://wordpress.org/support/topic/version-0999-conflicts-with-wpmandrill
  • Feature: Show page views (actions) in « visitors last 30 »

0.9.9.9

  • Update: PHP API will use namespaces (Matomo 2.x compatibility)
  • Update: Matomo URL isn’t necessary to use PHP API anymore.
  • Feature: Limit cookie lifetime
  • Feature: Track visitors across all subdomains
  • Feature: Disable custom var box if necessary
  • Feature: Choose if you like to add the tracking code to your site’s footer or header
  • Feature: New shortcode (post)
  • Feature: Add data-cfasync=false to script tag if necessary.
  • Feature: Add annotations on new posts, see http://linuxundich.de/webhosting/beim-veroeffentlichen-von-wordpress-posts-eine-anmerkung-in-piwik-setzen/
  • Bugfix: Do not load sparklines plugin if toolbar not shown
  • Bugfix: PHP API will work again (urlencoding removed)
  • jqPlot and jquery.sparkline updated
  • Partly refactored code

0.9.9.8

  • Feature: Per post stats (shown at the edit post page)
  • Feature: Track RSS views using a measurement pixel

0.9.9.7

  • Bugfix: Error messages won’t by cached anymore
  • Bugfix: Custom vars will now be added properly
  • Bugfix: Missing slash in proxy mode added
  • Feature: Track users on admin pages

0.9.9.6

  • Bugfix: Proxy script will work again
  • Option: Enable/disable one week caching
  • Load config file using full path to avoid side effects

0.9.9.5

  • Fatal error on statistics settings page fixed

0.9.9.4

  • Use Transients API (one week caching)
  • Option: Track visitors without JavaScript, see http://piwik.org/faq/how-to/#faq_176

0.9.9.3

  • Sparkline script update (IE 10 compatibility)
  • Syntax error fixes

0.9.9.2

  • Bugfix regarding tracking code changes in proxy mode, see https://wordpress.org/support/topic/problem-with-https-in-proxy-mode
  • Feature: Change text « WP-Matomo » in menu items and dashboard widgets
  • Code cleanup (« new » first step)
  • Debugging: Logger added
  • Avoid double slash (//) in tracking code

0.9.9.1

  • CDN support: http and https separated, see https://wordpress.org/support/topic/request-cdn-support-1
  • Made code optional. Move code to site footer.

0.9.9.0

  • Matomo 1.11 compatibility fixes (Matomo 1.11 required now!)
  • Depending on Matomo 1.11 WP-Matomo will use async tracking now
  • CDN support added, see https://wordpress.org/support/topic/request-cdn-support-1

0.9.8.1

  • Warning on empty data removed (overview table)
  • Removed a possible deadlock
  • Bugfix: Apply tracking code settings everytime the tracking code is updated
  • Reset/uninstall script bugfix regarding network mode

0.9.8

  • WordPress 3.5 compatibility fix: https://wordpress.org/support/topic/v35-errors-fix?replies=5 (Thanks Christian Foellmann!)
  • Advanced Search Result Analytics, see http://piwik.org/docs/javascript-tracking/#toc-tracking-internal-search-keywords-categories-and-no-result-search-keywords
  • Site Search stats added
  • Use js/index.php: Replaces piwik.js and piwik.php by js/ (instead of piwik.js only)
  • Connection timeout setting added
  • Full reset option added
  • Uninstall script added
  • Stats metaboxes: Date formatted
  • Use proxy settings defined in wp-config.php
  • Matomo.php proxy script added (see http://piwik.org/faq/how-to/#faq_132)
  • Bugfix: After upgrade, Matomo automatically places cookies again (https://wordpress.org/support/topic/after-upgrade-piwik-automatically-places-cookies-again)

0.9.7

  • Shortcodes added
  • WP-Matomo will rename sites in Matomo if site name changes in WordPress
  • Bugfix: Tracking code changes should stay active after WP-Matomo updates

0.9.6.3

  • Matomo 1.9+ compatibility fix (Matomo 1.9 required!)
  • Browser version details added

0.9.6.2

0.9.6.1

  • Toolbar graph bugfix

0.9.6

  • Option: Disable SSL peer verification (REST API)
  • Option: Use own user agent
  • Test script displays additional information (e.g. response headers)
  • Using WordPress metabox concept properly
  • Bugfix: Sparkline script only loaded if required
  • Stats site supports up to 3 columns
  • Network admin stats: Choose site using a paged table (instead of a select box).
  • Feature: Custom variables, using custom post meta boxes.
  • Some minor bugfixes

0.9.5

  • WordPress 3.4 compatible (workaround)

0.9.4

  • Requires at least Matomo 1.8.2!
  • Choose between HTTP API or PHP API
  • Show graph on WordPress Toolbar
  • Add option to disable cookies – Thanks to Mathias T.!
  • Update bugfix: Upgrading from WP-Matomo 0.8.7 or less will work again
  • Some minor bugfixes

0.9.3

  • Bugfix: Adding a new site will work again.

0.9.2

  • Uses $wpdb->blogs instead of $wpdb->prefix.’blogs’ to keep it compatible to different database plugins
  • Bugfix: SEO dashboard widget will work even if « last 30 » is selected
  • Bugfix: New created blogs won’t show « Please specify a value for ‘idSite’. » anymore.
  • Bugfix: New network sites without title will be created
  • Bugfix: Upgrading from old versions will work again
  • Tabbed settings
  • Debug tools added (testscript, site configuration overview and WP-Matomo reset)
  • Support forum RSS feed
  • Language updates
  • Optionally use of set_time_limit(0) on stats page time out

0.9.1

  • Bugfix: Usage as « Site Specific Plugin » mixed up the different sites settings (network mode)
  • Hotfix: Avoid « Unknown site/blog » message without giving a chance to choose an existing site. Thank you, Taimon!

0.9.0

  • Auto-configuration
  • No code change required to enable WPMU mode anymore (Still experimental. Please create a backup before trying 0.9.0!)
  • All features in WPMU available
  • Bugfix: Removed unnecessary API calls done with each site request – Thank you, Martin B.!
  • Bugfix: No stats on dashboard (sometimes this issue still occured, should be fixed now)
  • Code cleanup (still not finished)
  • Minor UI fixes
  • Minor language/gettext improvements
  • Security improvements
  • Show SEO rank stats (very slow, caching will be added in 0.9.1)
  • WordPress dashboard SEO rank widget (very slow, caching will be added in 0.9.1)
  • New option: use js/index.php
  • New option: avoid mod_security
  • Multisite: Order blog list alphabetically (Network Admin stats site)
  • Settings: Order site list alphabetically (site list shown if order conf is disabled)

0.8.10

0.8.9

  • WP 3.2 compatible, metabox support

0.8.8

  • Bugfix: Will also work with index.php in Matomo path
  • Bugfix: last30 dashboard widget – show correct bounce rate

0.8.7

  • New language files (Azerbaijani, Greek, Russian)
  • Fixed hardcoded database prefix (WPMU-Matomo)
  • Minor bugfixes: avoid some PHP warnings

0.8.6

  • Added an optional visitor chart to the WordPress dashboard
  • WPMU/multisite bug fixed
  • Minor bugfixes

0.8.5

  • Select default date (today or yesterday) shown on statistics page
  • Bugfix: Shortcut links are shown again
  • German language file update
  • Minor optical fixes (text length)

0.8.4

  • New stats in overview box
  • WP 3.x compability fixes (capability and deprecated function warnings)
  • Some minor bugfixes
  • New config handling
  • Code clean up (not finished)

0.8.3

  • Matomo 1.1+ compatibility fix

0.8.2

0.8.1

  • Use load_plugin_textdomain instead of load_textdomain
  • Fixed js/css links if symbolic links are used
  • Changed experimental WPMU support to experimental WP multisite support
  • Try curl() before fopen() to avoid an OpenSSL bug
  • Added Norwegian language file by Gormer
  • Don’t worry – new features will follow soon 😉

0.8.0

  • Using jqPlot instead of Google Chart API
  • Some facelifting
  • Some minor bugfixes

0.7.1

  • Track 404-pages in an own category
  • Get some page (and article) details
  • Language updates

0.7.0

  • Bugfix: Percent calculation fixed
  • Bugfix: Visitor chart: No label overlapping if < 50 visitory/day
  • Visitor chart: Added a red unique visitor average line
  • Visitor table: Added a TOTAL stats line
  • Pie charts: Show top 9 + « others », new color range
  • Option: Show Matomo shortcut in overview box
  • Some performance optimization

0.6.4

  • Unnecessary debug output removed
  • German language file update
  • WordPress dashboard widget: last 30 days view added

0.6.3

  • Click at a visitor stats day-row to load its details
  • Add stats overview to your WordPress dashboard

0.6.0

  • Added experimental WPMU support
  • Switch to disable Google Chart API
  • Added Albanian [sq] language file
  • Added Belorussian [be_BY] language file

0.5.0

  • Display statistics to selected user roles
  • Some HTML fixes (settings page)

0.4.0

  • Tracking filter added
  • Resolution stats
  • Operating System stats
  • Plugin stats

0.3.2

  • If allow_url_fopen is disabled in php.ini, WP-Matomo tries to use CURL instead of file_get_contents

0.3.1

  • WordPress 2.8 compatible
  • Bugfix: Warnings on WP 2.8 plugins site
  • Dashboard revised
  • Partly optimized code

0.3.0

  • WP-Matomo dashboard widgetized
  • Stats-boxes sortable and closeable
  • German language file added
  • Browser stats and bounced visitors

0.2.0

  • First public version