1) Pageviews do not equal revenue. The purpose of every website isn't inherently to make money.
2) The purpose of analytics is to understand your visitors and their interaction with content. There doesn't need to be a profit motive to want to do this. I've worked on plenty of nonprofit, informational, and discussion sites where we use analytics to discover what content is resonating with what kind of an audience, how people are discovering the site, what paths people take through the content, where errors are occurring, or just congratulate authors for writing things that got a lot of reads.