How to get Site Stats/Analytics? - Classic (not S)

Previous Forum posts recommend the Stats plugin but it does not seem to exist anymore. I found a Google Analytics plugin on Github updated in 2020 but it does not install and tells me it is an invalid plugin. How do we get use stats for Omeka Classic?

We use Matomo which is kind of an open source Google Analytics. You just put the bit of php code it build for you in the footer of your Omeka pages and it sends your tracking data to the host where you have Matomo installed.