We want to have some basic statistics of our page views (ideally as available as time series aggregated daily) to see if and how usage changes after specific actions of advertising our Wiki. Aggregated data without user tracking is totally sufficient.
Our initial idea was to integrate it with our Google Analytics using the Google Analytics Integration or the HeadScript, which seems deprecated by Miraheze as discussed here because of privacy concerns.
This overview produced by the Special:Analytics of the plugin is not enough, as the aggregation is quite coarse and would require some hacky script to scrape off daily to get daily usage.
However, it seems, that generally the Wikimedia API provides the capability to get pageviews, as documented here:
However, it seems not available in our installation, as this query
Returns: Unrecognized value for parameter "prop": pageviews
What is the best approach for our installation?
Can the Miraheze admins activate the pageviews in the API or are we bound to using Matomo? Didn't find anything in the Special:ManageWiki to do it myself.