Too Long; Didn't Read
How To Get Page Views From Google Analytics via a Netlify Serverless function. The guide is based on how to run Express.js apps as serverless functions. It uses the serverless-http npm package to retrieve Google Analytics page views. Google Analytics has a powerful API, all I really needed to do was call that API and retrieve my information. But ideally I wouldn't want to be making that call directly from this blog as that would mean exposing my API key and any other sensitive information to anyone who knows hows how to press F12.