We are accurately capturing bounce rates now because we are sending a GA event once the user has been on the page for 30 seconds.
But we now have a problem wherein we don't really have an idea how long the user stays on the page.
So we'll send another GA event every 30 seconds that the user is on the page and the tab/document is active. (this is after the initial 30 second no bounce event)
As a result, we'll also update the 30 second no bounce event to only send when the tab/document is active.
Related to #12
We are accurately capturing bounce rates now because we are sending a GA event once the user has been on the page for 30 seconds.
But we now have a problem wherein we don't really have an idea how long the user stays on the page.
So we'll send another GA event every 30 seconds that the user is on the page and the tab/document is active. (this is after the initial 30 second no bounce event)
As a result, we'll also update the 30 second no bounce event to only send when the tab/document is active.