Question

I curious to know how the jQuery.load functionality affects page load speeds when reporting to Google Analytics? Does that load time, which should be loading external scripts after the whole page is done loading, count as actual page load time when kicking back to the mothership?

Was it helpful?

Solution

Where are you calling load from e.g. .ready, in response to a click etc?

Here's a good post on the mechanics of how GA measures page load time - How does _gaq.push(['_trackPageLoadTime']) work?

Basically it's up until the load event fires, anything after isn't countec.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top