Why google analytics average times metrics are nonsense
Average time on pages and average time on site are popular metrics, used in Google Analytics and other software. I use it to see how long people spend on my pages, and my site. I was disappointed to see most people spend 0 seconds on my pages. These same people tend to visit only one page. Today I realised that connection was not a coincidence, and that the metric average time on page is nonsense.
Google analytics and other javascript analytics software works like this:
- Person loads page, message is sent to the analytics server saying person loaded page.
- Person goes to another page on your site, message is sent to the server saying person loaded another page.
When someone leaves your site there is no message sent. The analytics server has no idea.
So how do they measure how long someone spends on a page?
Easy, person loads page, time is recorded. Person loads another page, time is recorded. Difference between the times = time spent on the first page.
So what about when someone leaves the site? Server does not know how long someone spent on the previous page, so time spent is measured as 0 seconds.
This means analytics software does not measure the time spent on the last page a user sees, and if the user only visits one page on your site nothing is measured either.
In google analytics, average time on site and page is calculated based on ALL visitors to your site regardless of whether the time was recorded or not.
So if 1000 people visit one page for 2 mins and then leave, and 500 visit one page for 4 mins and then another, only the time for the 500 is recorded, but the average is based on all 1500. Heres the math:
Average time on site = total time on site / number of visitors.
Total time on site (only the 500 are counted) = 500 x 4 = 2000 mins
Googles incorrect average time on site = 2000/1500 = 1.3 min.
Average time on site (based on the data google has, if it calculated properly) should be 2000/500 = 4 mins
And if google could know about everyone the average time on the site would be 4000/1500 = 2.6 mins
So – why doesn’t google fix this? Well, they did but people complained so they put it back. As a result, you can forget about your average times as being a reliable statistic.
There’s more on this at http://imediaconnection.com/content/16342.asp


4 Comments
overklokan
interesting … but there’s JS “onunload” fucntion, right? why Google is not using it?
MrGamma
Even if there was an onunload event handler introduced… it would not effect those who use tabbed browsing and leave a window open for a few extra minutes/hours…
The fact that computers cannot track your eye movement across a screen will always mean that time statistics will always be sketchy at best…
IN the end… they are estimates… but to tell you the truth… I think Googles estimates are way way off…
jacob smalls
I noticed this truthfully. I know that my site being at the top of google search for its keywords would not mean people were leaving without ever spending 1 second on the site.
Thanks for the info. Makes me feel better knowing what I write is not completly ignored.
Charles
We are experiencing similar problems with the average time on site and what exactly it means.
We currently run four CPC advertsing campaigns:
Google adwords CPC
Facebook CPC
MSN CPC
Yahoo YSM marketing CPC
The average time users spend on our site has varied considerably for these four apparently reputable companies, over the last few months:
facebook/CPC users 2-15 seconds
Google/CPC users 1 minute
MSN users 1 minute
Yahoo users 10-30 seconds.
I queried this with all of them and whereas Yahoo agreed to look into this and refund, facebook refused.
Can anybody offer an explanation as to why when facebook users click they apparently move away from my site more than 4 times faster than google or MSN users?