Blog: Track API calls in Node.js with Matomo
…’http://mywebsite.com/piwik.php’); // Matomo works with absolute URLs, so you have to provide protocol and hostname var baseUrl = ‘http://example.com‘; // Track a request URL: piwik.track(baseUrl + req.url); Of cause you…