Yes, Matomo (Piwik) Javascript Tracking code is valid XHTML 1.0 Strict. See an example on piwik.org/xhtml/