Where do you find the JavaScript Tracking Tag code that you are supposed to paste onto your pages?
See JavaScript Tracking Client: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3