Calculate formula only on page load

Sure. I’m trying to capture usage logs for my internal portal doc. My original plan was Run custom js on doc load for usage logging. Since that doesn’t seem viable, I made a custom pack with a formula that accepts a user email and a url as parameters and sends them to a webhook. My goal is have to formula calculate once per page view so I can record the page views. I only want the formula to calculate for the page the user is viewing, and only once per page view.