As Chrome keeps inching towards market dominance, it is definitely helping to move the web forward and speeding it up along the way. One of the interesting ways they have helped speed up the web (as of Chrome 13) is through the use of "prerendering". Basically, prerendering will begin to download a page that is linked from the current page via
Pretty interesting trick on Google's part to make Chrome feel faster. As one can imagine, to avoid unnecessary overhead to websites linked from one page, discretion should be practiced in selecting what if any pages should be prerendered from the current page being viewed. Easy candidates are next-type pages and other links that have a high click through rate.
How does this impact site stats? It depends on whether you can truly count a page view if a page was prerendered but then never seen? If you just care about inflated numbers, then this is probably a welcome exploit to increasing views across a larger number of pages even though a person truly only viewed one page. But, if you do care about them for being able to understand user interaction with your content, this could skew your numbers in a horrible way. These false views will increase the denominator in your analytics formulas without a chance of increase to the numerator, thus making your impact for user actions on those pages seem less effective.
The good news is that individual sites will have to enable this in their code for now and hence adoption will be slow. But with Google search results pages utilizing this feature already and the Chrome Beta released today enabling it from the omnibox, these false views will quickly start to accumulate.
So how do you prevent that from happening? Depends on how you determine page views.
If you use Google Analytics, you are already covered with the 2011-07 release (July 26, 2011) as it uses the Page Visibility API (but only with the webkit prefix, hopefully they keep up with other vendor releases as well).
If not, you can roll your own by using the Page Visibility API yourself. Continuing on form the example from my previous post, we can build a simple check for determining whether or not a page has been prerendered:
link
declarations on the current page like so:<link rel="prerender" href="/someOtherAwesomeness.html"> <link rel="prerender" href="http://anotherAwesome.website.com">These pages will now be downloaded in the background while the user is currently on the page theses are linked from. When/if the user follows a link to one of those pages, it will feel nearly instantaneous to the user since the page is already loaded.
Pretty interesting trick on Google's part to make Chrome feel faster. As one can imagine, to avoid unnecessary overhead to websites linked from one page, discretion should be practiced in selecting what if any pages should be prerendered from the current page being viewed. Easy candidates are next-type pages and other links that have a high click through rate.
How does this impact site stats? It depends on whether you can truly count a page view if a page was prerendered but then never seen? If you just care about inflated numbers, then this is probably a welcome exploit to increasing views across a larger number of pages even though a person truly only viewed one page. But, if you do care about them for being able to understand user interaction with your content, this could skew your numbers in a horrible way. These false views will increase the denominator in your analytics formulas without a chance of increase to the numerator, thus making your impact for user actions on those pages seem less effective.
The good news is that individual sites will have to enable this in their code for now and hence adoption will be slow. But with Google search results pages utilizing this feature already and the Chrome Beta released today enabling it from the omnibox, these false views will quickly start to accumulate.
So how do you prevent that from happening? Depends on how you determine page views.
If you use Google Analytics, you are already covered with the 2011-07 release (July 26, 2011) as it uses the Page Visibility API (but only with the webkit prefix, hopefully they keep up with other vendor releases as well).
If not, you can roll your own by using the Page Visibility API yourself. Continuing on form the example from my previous post, we can build a simple check for determining whether or not a page has been prerendered:
var visibilityAPI = ( typeof document.hidden != 'undefined' && { 'visibilitystate': 'visibilitystate', 'visibilitychange': 'visibilitychange' } ) || ( typeof document.webkitHidden != 'undefined' && { 'visibilitystate': 'webkitvisibilitystate', 'visibilitychange': 'webkitvisibilitychange' } ) || ( typeof document.mozHidden != 'undefined' && { 'visibilitystate': 'mozvisibilitystate', 'visibilitychange': 'mozvisibilitychange' } ) || ( typeof document.msHidden != 'undefined' && { 'hidden': 'msHidden', 'visibilitystate': 'msvisibilitystate', 'visibilitychange': 'msvisibilitychange' } ); (function pageVisibilityChanged() { if ( document[ visibilityAPI.visibilitystate ] === "prerender" ) { // Application has been prerendered // Add listener to fire when page is no longer in prerender state document.addEventListener( visibilityAPI.visibilitychange, pageVisibilityChanged, false ); } else { // Page is no longer in presender state // A page view can be counted now document.removeEventListener( visibilityAPI.visibilitychange, pageVisibilityChanged, false ); } })();There is still one problem with this example: the person could still never see your site though even after the follow one of the links. For example, they could open the page in a new tab behind their current one and then close it before they view it. Yes, this is probably an edge case, but you could easily expand the previous example to only count when the page is truly viewed.
var visibilityAPI = ( typeof document.hidden != 'undefined' && { 'hidden': 'hidden', 'visibilitystate': 'visibilitystate', 'visibilitychange': 'visibilitychange' } ) || ( typeof document.webkitHidden != 'undefined' && { 'hidden': 'webkitHidden', 'visibilitystate': 'webkitvisibilitystate', 'visibilitychange': 'webkitvisibilitychange' } ) || ( typeof document.mozHidden != 'undefined' && { 'hidden': 'mozHidden', 'visibilitystate': 'mozvisibilitystate', 'visibilitychange': 'mozvisibilitychange' } ) || ( typeof document.msHidden != 'undefined' && { 'hidden': 'msHidden', 'visibilitystate': 'msvisibilitystate', 'visibilitychange': 'msvisibilitychange' } ); (function pageVisibilityChanged() { if ( document[ visibilityAPI.visibilitystate ] === "prerender" ) { // Application has been prerendered // Add listener to fire when page is no longer in prerender state document.addEventListener( visibilityAPI.visibilitychange, pageVisibilityChanged, false ); } else if ( !document[ visibilityAPI.hidden ] ) { // Page is no longer in presender state or hidden // A true page view can be counted now document.removeEventListener( visibilityAPI.visibilitychange, pageVisibilityChanged, false ); } })();Now you are one small step closer to more accurate reporting!
Shouldn't the various properties be camel cased? I.e. webkitVisibilityChange rather than webkitvisibilitychange...
ReplyDeleteWithout that, this doesn't work.
Great Blog!!! Was an interesting blog with a clear concept. And will surely help many to update them.
ReplyDeleteMachine Learning course in Chennai
Machine Learning Training in Chennai
Data Science Course in Chennai
DevOps Training in Chennai
RPA Training in Chennai
AWS Training in Chennai
Terrific post thoroughly enjoyed reading the blog and more over found to be the tremendous one. In fact, educating the participants with it's amazing content. Hope you share the similar content consecutively.
ReplyDeleteData Analytics training in bhilai
Mua vé máy bay tại Aivivu, tham khảo
ReplyDeleteVé máy bay đi Mỹ
từ mỹ về việt nam được chưa
vé bay phú quốc
gia ve may bay ha noi nha trang
vé máy bay giá rẻ đi Sài Gòn pacific airlines
https://saglamproxy.com
ReplyDeletemetin2 proxy
proxy satın al
knight online proxy
mobil proxy satın al
AOBİ4J
https://saglamproxy.com
ReplyDeletemetin2 proxy
proxy satın al
knight online proxy
mobil proxy satın al
ALDG
Ankara
ReplyDeleteBolu
Sakarya
Mersin
Malatya
WV31QA
Diyarbakır
ReplyDeleteSamsun
Antep
Kırşehir
Konya
B8F
https://titandijital.com.tr/
ReplyDeletesakarya parça eşya taşıma
aksaray parça eşya taşıma
urfa parça eşya taşıma
kocaeli parça eşya taşıma
1OF
ankara parça eşya taşıma
ReplyDeletetakipçi satın al
antalya rent a car
antalya rent a car
ankara parça eşya taşıma
3JTEE
5B8CC
ReplyDeleteSamsun Parça Eşya Taşıma
Siirt Parça Eşya Taşıma
Ardahan Evden Eve Nakliyat
Aksaray Lojistik
Gümüşhane Parça Eşya Taşıma
C510A
ReplyDeleteDiyarbakır Evden Eve Nakliyat
Ankara Evden Eve Nakliyat
Edirne Evden Eve Nakliyat
Erzincan Evden Eve Nakliyat
Tunceli Evden Eve Nakliyat
728BF
ReplyDeleteKarabük Şehirler Arası Nakliyat
Omlira Coin Hangi Borsada
Çankırı Lojistik
Karapürçek Boya Ustası
Isparta Şehir İçi Nakliyat
Mexc Güvenilir mi
Bitrue Güvenilir mi
Ağrı Lojistik
Aydın Şehir İçi Nakliyat
F8239
ReplyDeletefiltre kağıdı
paribu
en iyi kripto para uygulaması
binance 100 dolar
4g proxy
referans kimliği
bingx
4g mobil
rastgele canlı sohbet
8438A
ReplyDeleteiOS Uygulama Yapma
fiziksel sunucu
fuar standı
Dizi Önerileri
Instagram Para Kazanma
Offshore Hosting
Silkroad Pvp Serverler
güneş paneli
jeneratör fiyatları
372FA
ReplyDeleteizlenme satın al
Eticaret Paketleri
Script Satışı
btc forum
google 5 yıldız satın al
Google Adwords Kupon Satışı
domain firmaları
yorum satın al instagram
airdrop coin kazanma
CF53F
ReplyDeleteAda Coin Yorum
BTC Son Dakika Haberleri
Ach Coin Yorum
Ctsi Coin Yorum
1inch Coin Yorum
Bat Coin Yorum
Bitcoin Yorum
Lto Coin Yorum
Zen Coin Yorum
9BE9A
ReplyDeleteücretli şov görüntülü
7FA1F
ReplyDeletegörüntülü show
show
show
ücretli show
24D30
ReplyDeletegüvenilir ücretli şov
96681
ReplyDeletegörüntülü şov
3ADE094323
ReplyDeletesohbet hattı
görüntülü seks
sanal sex
sohbet hattı
sex hattı
görüntülü sex
cam şov
görüntülü show
seks hattı
BFBDC909A1
ReplyDeletegeciktirici
themra macun
skype şov
cam show
vega
viagra
green temptation
cialis
kaldırıcı
F8C1D71A32
ReplyDeletemaxman
sildegra
görüntülü show
fx15
telegram görüntülü şov
ereksiyon hapı
novagra
geciktirici
delay
3AE76A6E6F
ReplyDeletetiktok türk beğeni satın al