Do I need to use PHP on my websites to use Matomo?
On-Premise
You will need a server with PHP to run Matomo. However, the tracking code is a simple JavaScript tag, which can be added to any webpage written in Python, Jsp, ASP, .NET, etc. For example, the same instance of Matomo can track data from a PHP website, a simple HTML website and a complex JSP application, simply by copy and pasting the JavaScript tag into the desired pages.
If you do not have a server with PHP enabled, explore the Matomo Cloud plans for fully hosted Matomo environment.