Simple Matomo Tracking Code

Περιγραφή

This is a unofficial, basic WordPress plugin for the Matomo web analytics software platform.
It adds the Matomo javascript code into every page of your website, so you don’t have to code PHP to add it to your templates.

It is based quite heavily on the (no more supported) Piwik Analytics WordPress plugin which itself is based on the (no more available) Google Analytics wordpress plugin by Joost de Valk.

The following options are supported:

  • matomo hostname
  • matomo path
  • site ID
  • option to control download tracking
  • option to exclude the admin user (probably you)

Please note, this plugin requires a self-contained Matomo installation somewhere under your control. It does not include Matomo itself.

See also The Matomo Website.

Εγκατάσταση

  1. Install and activate the plugin as you normally would.
    (You can find more details and instructions here.)
  2. Visit the “Simple Matomo Tracking Code” page in the “Settings” section and adjust the parameters.
    Don’t forget to click “Update Settings” when you’re done.

Συχνές Ερωτήσεις

Q: The Matomo Web Analytics javascript code does not show up.
A1: Make sure your theme has a call to wp_footer() in the footer.php file
A2: Make sure you’re not logged in as admin.

Κριτικές

14 Οκτωβρίου 2023
I like this, minimal code: pure and effective.Does not support multisite.
Ανάγνωση όλων των 2 κριτικών

Συνεισφέροντες & Προγραμματιστές

“Simple Matomo Tracking Code” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Το “Simple Matomo Tracking Code” έχει μεταφραστεί σε 5 γλώσσες. Ευχαριστούμε τους μεταφραστές για τις συνεισφορές τους.

Μεταφράστε το “Simple Matomo Tracking Code” στην γλώσσα σας.

Ενδιαφέρεστε για την ανάπτυξη;

Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .

Σύνοψη αλλαγών

1.1.0

  • uninstall updated for multisite compatibility

1.0.3

  • Bugfix for reset, fixes from static code analysis, requires now PHP 7.1 or higher

1.0.2

  • changed texts

1.0.1

  • code cleanup: moved duplicated code in function

1.0.0

  • prepared for translations

0.5.2

  • fix for wrong appended path (to many slashes)

0.5.1

  • input validation

0.5.0

  • new javascript code from matomo
  • remove configuration during uninstall
  • fixed warnings

0.1.0

  • created plugin based on piwik-analytics