Mobile app version of vmapp.org
Login or Join
Mendez628

: Google Analytics: Tracking page time on site Does anyone know how Google Analytics tracks how long a user has been on the site? When the user leaves the page that has analytic tracking code,

@Mendez628

Posted in: #Analytics #Google #GoogleAnalytics #Tracking

Does anyone know how Google Analytics tracks how long a user has been on the site? When the user leaves the page that has analytic tracking code, won't the sending/receiving link be broken? How are they able to retrieve the last bits of information before the user leaves the page?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Mendez628

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sue5673885

Here's an answer to that question from the Google forums


The way that Google Analytics calculates average time on site is by
subtracting the timestamps between the first and the last pageview of
a visit. ... There is no way for Google Analytics to know exactly
when a visitor left the site since no information is sent back to GA
when the visitor closes their browser or navigates to a different
site.


So I read that to mean that they measure the time from the first page view to the last page view, because they can't tell how long that page was viewed for.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme