This plugin allows you to extend the piwik.js with custom js code.

Once you have activated the plugin, you can customise the tracking code in Administration > Diagnostics > Custom Tracker JS.

To be able to add custom JavaScript, the file plugins/JsTrackerCustom/tracker.js needs to be writable.

NOTE: We recommend to use the Matomo Tag Manager plugin instead.

Any questions, feature wishes or problems? Get in touch with us, we are happy to help.

About InnoCraft

We at InnoCraft are the creators of Piwik and know it better than anyone else. This means all plugins are perfectly integrated into Piwik and come with outstanding features and quality to grow your business. We help our clients get started, configure, monitor and make the most of their Piwik analytics service. We also offer unique analytics products and services that help grow your business and meet the needs of medium and large businesses alike.


This plugin is compatible with Matomo 3 (see requirements below for more details).

Please share