Matomo Tracker


Matomo tracker adds matomo (formerly piwik) tracking code to your website while hiding your matomo installation url. You can choose between php and javascript tracking.
Javascript tracking returns more details about your visitors while php tracking is more robust.

You first need to :

  • Have a matomo script running on a custom domain name
  • Have a valid token (more info here :
  • Create the website you want to track in Matomo admin to retrieve your website Id

Features :

  • Easy to install
  • Lightweight
  • Hide your matomo domain url


  • Matomo Tracker admin page


  • Upload matomo-tracker to the /wp-content/plugins/ directory
  • Activate the plugin through the ‘Plugins’ menu in WordPress
  • Visit Settings >> Matomo Tracker to add you matomo url and id
  • Check your matomo installation to track your pageviews


نونبر 1, 2018
After installing this plugin I noticed it asked for your authorization token which I deemed strange as your authentication token gives full access to you matomo instance. If this is needed just for hiding your matomo url it seems a waste of time. After installing the plugin I was greeted with a message that I did not have permission to access this page, when going to an admin page. At that point I deleted the plugin.
Read all 3 reviews

Contributors & Developers

“Matomo Tracker” is open source software. The following people have contributed to this plugin.


Translate “Matomo Tracker” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Working like a charm 🙂


  • Fix Minor issue causing google to index plugin folder


  • Fix javascript error from 1.0.1


  • Caching added for js tracker (avoid google pagespeed message)


  • Tracking Mode selection added : You can now choose between Javscript or Php tracking Mode


  • JS Tracking Mode is no more including inline javascript and now calls a JS File
  • JS Tracking file loading mode is now customizable (defer, async or nothing)
  • JS Tracking file can be disallowed in robots.txt


  • Added new settings to inline javascript as in previous version
  • Workaround to solve js tracking reported issue (


  • Now uses enqueue script to enqueue external JS File (No more defer or async option)
  • Added an option to disable logged-in users tracking


  • Fixed track.js loading in header


  • Fixed tracking issue for subfolder install