Lifecycle hooks

As a Google Angular developer I am spoiled with the ability to execute code when a user visits and leaves a page. I’d like to do the same with AppSheet, but Actions are limited to data changes and schedule. I have a requirement where I need to measure how much time a user dwells in a View. It doesn’t look like AppSheet currently supports this. Has anyone found a workaround or a hack?