Abandoment to blame for the last JavaScript file not always being loaded?
Posted
by
Larsenal
on Pro Webmasters
See other posts from Pro Webmasters
or by Larsenal
Published on 2011-06-29T20:51:28Z
Indexed on
2013/11/02
16:02 UTC
Read the original article
Hit count: 237
I have a code snippet for an app that users are loading as a 3rd party script on their site. The general sequence is as follows:
- Site loads
http://www.example.com/foo.js
foo.js
does stuff- 1 to 2 seconds later,
foo.js
loadsbar.js
Now in a perfect world, I'd want to see matching counts for the calls to foo.js
and bar.js
. However, bar.js
loads only about 94% of the time. I'm wondering how much of this discrepancy might be attributable to site abandonment given the fact that bar.js
is delayed by 1 or 2 seconds.
I posted here instead of StackOverflow since I think it's more a question about what would be typical time on page when users abandon the page.
© Pro Webmasters or respective owner