0 second visits according to Google Analytics
paweljaniak.co.za
paweljaniak.co.za
I have a site that is extremely heavy on front page traffic. Basically 97% of all traffic is front page traffic, and 75% of all traffic is single visit (they hit the front page and nothing else). 55% of traffic does not generate multiple page views on any given day.
I have absolutely no problem with Google reporting 0 second visits. In fact, quite the opposite, Google reports very high visit durations, as visitors tend to spend a lot of time on the front page and then leave. If there were a problem with 0 second counting, it would decimate my time on site numbers due to all the people not generating second page requests for GA to count.
I've been using Google Analytics since they purchased it, and have never run into this problem (across millions of uniques and two dozen sites). The only time I've ever seen 0 second requests on any scale, is from bots, and in that case they're easy to out by looking at flash settings + browser version. If you're seeing a huge number of 0 second requests, it's most likely a bot.
http://cutroni.com/blog/2012/02/29/understanding-google-anal...
Personally, this stresses the importance of measuring events or interactions rather than time on a page. It would be nice to have both but if given the choice, I'd rather have event/interaction data.
https://developers.google.com/analytics/devguides/collection...
I use Analytics (Google Analytics, Woopra, GoSquared, and ChartBeat (although never at the same time, that would be ridiculous)) for two main reasons.
1) I enjoy looking at analytical data. Something about charts and graphs just intrigues me. Don't even get me started on the netflow statistics I monitor at my job.
2) It's fun to see how many people are viewing my posts. When I get a post that makes it to the front page of HN or Reddit and I get to see the hundreds of thousands of hits my page gets, it gets me excited to keep posting.
If a reader leaves early that's possibly a symptom of poor writing. If you're lucky, it was just the wrong topic for the reader: no shame in that. If you're unlucky, however, it may be that your content is confronting.
If you have good content but it's not presented properly, you're not going to get value across to the reader. They'll decide to skim read, skip paragraphs, or just leave the page altogether.
In a perfect world, the readers would comment about what was problematic about the article. In the real world, they don't. They don't comment as they don't feel confident to speak about the topic. They don't comment as they don't feel it's worth their time. They don't comment as they don't want to sound stupid.
If average time spent reading a page (culling the outliers) is about the same as what you'd expect to read the article, it's a good signal that you have the right content and the right method of presentation. Authors can use this to help bring content to readers in a clearer and more engaging fashion -- a win-win for all involved.
I should have specified that I was coming at this from the point of view that someone's writing a single page article or blog post with no conversion target other than to have it read.
If you're actually aiming to achieve anything concrete with a web page, then the only way to improve that is exactly as you said: directly track conversion to your goal.
The time on page can give you a relative statistic to compare your articles and develop a more engaged readership over the long term, not just optimize to try and sell them something right now.
An example would be something like patio11's posts, some of them are pushing for a conversion but I don't think that each would be best measured in terms of a conversion made right now.
Pinging all visitors to check their still online is our solution, rather than making a guess/estimate - this means that sometimes GA reports about 10 visitors online when there are actually more like 100.
This is especially true with HN posts where most people only visit the one page and then leave.
Thanks for the great post :)
Problem solved.
The other proposed solutions do help to show engagement but requires more knowledge of how to implement, this 4th solution helps to KISS
If you don't want this to happen, there are plenty of other analytics services out there. I'd recommend GoSquared, but I did work for them last year, so I'm biased in that recommendation.
My fix was to "ping" GA with an event every 60 seconds. This results in about 55,000ish pings a day and has made my average time on site a little more like something I'd expect off a music streaming website(http://www.tubalr.com). My average time on Tubalr is around 1 hour with the new event tracking I'm doing.
Why not place a AJAX script to a local session monitor that stores up details about a visit and flushes the results via hits to GA? That way, a user doesn't have to wait for GA to load on a page (I've see it be the majority of load time on many websites). The AJAX script could be tied to all types of events such as mouse movement (people hover over links, images, ect. without clicking so capture that as interactivity), onFocus events, and in future eye-tracking events.
This could be built up as a off-screen buffer that generates a more detailed session and fires it off to AG in near-real-time. One other important factor could be to label the events in a concatenated nomenclature so that home.hover, home.idle.30s, home.unFocus, home.gaze.rightMenu.17s, and home.scroll.down.x143 all make sense.
- Maintain an open (but idle) websocket connection on your page to have an accurate real-time visitor information. The websocket should remain open as long as the user doesn't close the tab or navigate away.
What are some cons that prevent everyone from doing so?
document.addEventListener('visibilitychange', onVisibilityChange);But I think it may be possible to determine if the current tab is open with some javascript, and send that information through the websocket. Edit: what bsimpson said.
[1] https://dl.dropboxusercontent.com/u/8554242/live-status.html
Ubuntu, Firefox 20.0
So either change the url to http://dl.dropboxusercontent.com/u/8554242/live-status.html or override the network.websocket.allowInsecureFromHTTPS setting in about:config to true.
I figured the real-time dashboard of Google Analytics must be doing something similar, but I don't know what exactly they use.
setInterval(function() {
$.ajax('http://analytics-site.com/ping?page=' + window.location.href);
}, 5000);It's been pretty reliable. All current browsers will make a GET request in the onbeforeunload event (onunload in Opera). Firefox is the only one that blocks the next page's load until a response is received, and Opera is the only other browser that handles the response though it doesn't block while waiting for it.
Our primary motivation is to measure session engagement (bounce rate, conversion, duration, pages, etc.) versus average page load time across the session.
If so, I think I should block GA to reduce the length of the interval of unresponsiveness while the "on load" JavaScript runs.
My objection is to the means, namely, giving the page's author essentially unlimited access to compute resources on the browser and hoping the author will choose to be moderate.
Until 2008 I browsed the web on a slow machine (Celeron based on a PIII core, probably made in 2000 since the BIOS copyright notice referred to the year 2000) and blocking GA on that machine very drastically reduced the amount of time the browser was unresponsive. So much so as to suggest that even on modern fast hardware, there will probably be some improvement in responsiveness even if the difference will not be immediately noticeable to the user like it was on my old machine.
http://snowplowanalytics.com/blog/2013/04/18/measuring-conte...
Also, I am not a web developer, but is it not possible to specify another GA event in the onbeforeunload function?
I know I have searched for things that seem to take a long time (when I am in a rush) but the results page show my search took e.g. 0.22 seconds when really the page may have loaded slow or I had to reload the page taking maybe 30 seconds or Google Instant is being annoying.
Did you read this submission? It's not about Google search results. It's about how the time-on-site metric in Google Analytics is computed.