The CustomTrackerJs plugin lets the super users or other plugins add custom code to the Matomo (Piwik) Javascript Tracker.

Please share