Short term storage of data

I’m considering self-hosting Matomo for a project involving collecting analytics from a number of distinct websites.

Some websites have a significant number of page views, and I am concerned about keeping costs low, particularly where storage is involved.

Somewhat counter-intuitively, we are not actually concerned about a bunch of data or the typical use case for analytics. So I have a few questions:

  1. Is it possible to restrict what data is collected and stored by Matomo? Essentially anything beyond the number of page views is not that important for our use case.
  2. Regardless of the answer to the above, is it possible to clean up / remove data older than, say, the last 90 days?

Thanks for any advice.