OpenPanel
OpenPanel
Mar 17

Heart beat for better duration tracking

Today we can't keep track of duration for single page visits or last page visit. With heart beats this would be solved
PendingPending

Ghost
AnonymousMar 25, 2026

I have solved for myself using a custom page_duration event with duration property and is a middleware in my react router. It also parametrizes the paths to /page/:id/module/:id. It works but the experience of using event properties for visualization is clumsy I feel. This could be a library feature in react!

Ghost
AnonymousNov 17, 2025

Hey! This would be very helpful.

Ghost
AnonymousNov 17, 2025

hey this would be very useful for us.

Ghost
AnonymousSep 4, 2025

Is there an ETA? Most analytics services have problems with this, which could set OpenPanel apart with this feature. Since OpenPanel is event-based, this could perhaps be solved with the Page Visibility API instead of a heartbeat. If hidden, send the event session_idle_start, and if visible again, send session_idle_stop or something along those lines. The time in between could then be calculated from the duration or used additionally for an idle metric. I have no idea if this is easy to implement, but that's how I imagine it as a non-programmer.